webGrid Vanishes on postback

19 replies. Last post: June 21, 2011 2:20 AM by Lili Khiung
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Peter JonesMember
Hi
 
We have a problem with the webgrid auto width size property causing problems.
when the auto size to true the grid is  vanishing when a postback event is firing.
 
This is dependant on the initial column sizes in the grid and the size of the window in which the grid is being viewed.
 
I have created an example scenario that illustrates  this issue.
scenario 1
1) browser window is open maximised. (do not maximise after load since the error is not generate in that scenario)
2) the total columns widths exceed the size of the window  but they fit since autosize property is true
3) click the button that fires a postback event.
4) the grid vanishes.
 
scenario 2
1) browser window is open maximised.
2) the total columns widths exceed the size of the window  but they fit since autosize property is true
3) resize the form
3) click the button that fires a postback event.
4) the displays fine.
 
This seems to be solely dependant on the intial size of the browser window when the form is loaded.
This is not just down to intial colum widths being to large to fit.  adusting the intial widow size  up or down seems to resolve the issue in some cases.
i.e if you resize the window before performing a postback event the grid does not vanish or reappears if it had disappeared.
 
please can you look into this problem and advise me of a solution.
the problem is happening live systems. we did not have this issue with webgrid 2
 
I am using webgrid version  7.0.7200.419   web application running on framework 3.5
 
 
aspx page  attached
 
 
All times are GMT -5. The time now is 11:21 AM.
Previous Next