Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detailsview - how to clear fields?
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01292282
Message ID:
01293561
Views:
15
>I found it (for my situation anyway).
>
>In the ItemInserted method of the detailsview (I use hook all to the same method), I put..
>me.databind() ' to bind to fresh data
>me.clearchildstate() ' to make sure the viewstate doesn't repopulate
>
>It works! Much easier than other possible solutions I saw during google searches..

Would it be the best solution? And what would be C# version - this. instead or me ?

I'm not sure I currently have ItemInserted method, need to check.

Also how can I get to this method?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform