Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disappearing datagrid
Message
From
12/05/2004 19:57:31
Keith Payne
Technical Marketing Solutions
Florida, United States
 
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00903190
Message ID:
00903440
Views:
15
This message has been marked as the solution to the initial question of the thread.
>I have a web form with 8 panels on it.
>1 of the panels has a datagrid on it, with edit and delete links on the rows.
>When I click on the edit link the datagrid disappears. If I click on something that trigers a postback then the datagrid will re-appear, but not in editmode.
>I've gone into every subroutine and placed a line setting the datagrid's visible property to TRUE, but that had no effect. Nowhere in my app is the datagrid.visble ever set to false.
>
>Has anyone ever seen this behavior before?
>What should I try next?
>
>TIA,
>Rick

Rick,

Clicking the Edit hyperlink will also cause a postback. The common cause of a Datagrid not being rendered is that the Datasource is not assigned or has no data. Check to see if the Datagrid is bound to the Datasource when the Edit postback occurs - it should not be unless you are also caching the Datasource and reloading it before the bind.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform