How do you post a message to a label control from code behind after an update?
After a successful update, I'd like to post a message like "Row updated successfully" to a label on the screen. How do I pass that?
Hello davefevold,
Let me know if you need further assistance regarding this question.
Perfect...this is exactly what I was looking for...thanks!!
Hi,
Another way to do it is with the wdg gridresponse. See this post:
http://community.infragistics.com/forums/p/47488/254086.aspx#254086
Infragistics has a great article about showing errors in WebDialogWindows using this approach. I have it in my system in a few places and it works and looks great.
Ed
Hi davefevold,
If you turn off ajax in the grid (EnableAjax="false"), then you could update the label (assuming its available at the server) in the RowUpdated server event off of the Editing Core. If you have Ajax on, the label would not be refreshed during the grid postback. Another option is to use the editing core rowupdated client event. You could then find the label on the client and change its text there if it was successful. Hopefully, one of these two options will work for you.
regards,David Young