Label text not updating during OnRowSelectionChanged event
New DiscussionI have a WebDataGrid with the OnRowSelctionChanged event configured. In that event, I use server-side code to update the text on a label outside the grid. I can see the lbl.Text value getting set on the server side, but it is not getting updated on the client side.
I have tried these approaches:
- Put the grid and label inside an ASP Update Panel
- Don’t use an UpdatePanel, but set EnableAjax and EnableAjaxViewState to True on the WebDataGrid.
- Use a standard postback without the two above bullet points (no AJAX).
Is there anything I need to do to allow this event to update controls outside of the WebDataGrid? If I run the same code using a standard ASP Button click (outside the grid), the label gets update appropriately. So I must be misunderstanding something about the WebDataGrid event handling.
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Favorites
0 Replies
2 Created On
Apr 24, 2017 Last Post
8 years, 10 months ago