User Profile & Activity

Jeff Qi Member
The second solution "set width/height value" addressed the issue. Thank you very much for your help Yudi!

Add whitespace to column caption does address the issue.  I also tried to set column width during Export event but that seems doesn't help. This sounds like a bug of WebGrid export function.

 

Thanks for your help Glenn!

Hi Julia,

It turns out to be html doctype's issue.

I was using <!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

After I changed it to

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

the webgrid export menu not showing up issue is gone.  But it brings a new issue, that webgrid's percentage height not working anymore. I was using 95% as webgrid height, after the changing of doctype, the webgrid shrinks to one row high and I have to set a fixed height to address that issue.

I'm using webgrid build 6.0.7200.5

 

Posted: October 15, 2009 3:34 PM

Issue is fixed now. I can't believe that this issue was caused by a hidden gridview in the same page. I had this gridview in the page which was later on replaced by the WebGrid. I didn't comment out the gridview instead I just set its visible="false".  Today after I removed the gridview from the page, the context menu of WebGrid starts showing up.

Does that mean I can't put a GridView and a WebGrid in the same page??

All times are GMT -5. The time now is 4:42 AM.
Previous Next