I am using a SQLData Source to populate my gridview in ASP. When I hit Edit, the textboxes appear and I am able to edit my values. I am using a SQLData Source to populate my gridview in ASP. When I hit Edit, the textboxes appear and I am able to edit my values. In the Row Editing function, the edit textboxes appear and I can get the "old" values Then the page renders, I edit the textboxes and hit Update.When I hit Update, the changes are not saved, and there is no error message. When I hit Update, the changes are not saved, and there is no error message. Then the page posts back, the text boxes go back to being labels and the new values are lost, and the Row Updating code never fires. Yes, I did put the breakpoint at the Row Updating line (and not in the function).
In this case, I suggest that you handle the ASPx Grid View. To learn more about it, please see the following articles: Customize data updates using the Row Updating event Editing an in-memory dataset If you want to handle the ASPx Grid View.
Row Updated event for another purpose, than I suggest that you refer to the following report: Row Update Grid View Hi, I had previously reviewed the two projects you referenced. The sample I carved out is referenced below but I don't know if, after a row updating event has completed, I can use the newly updated variables with a stored procedure.
Do you an example of ROWUPDATED that I could reference that executes a stored procedure with parmeters? ASPx Data Updated Event Args) Handles ASPx Grid View1.
' Protected Sub Grid_Row Updated(By Val sender As Object, By Val e As Dev Express.
Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose.
Thanks, Marion Disclaimer: The information provided on Dev and its affiliated web properties is provided "as is" without warranty of any kind.If you do this, your Grid View's source will be refreshed before you're able to grab the new values out of it.I'm having a very hard time understand what would prevent your event from being fired.NET Forum so that other people can learn from the experience too. -Frinny You may need to turn off validation even if you are not validating anything.It seems like the Java Script can get mangled otherwise.What happens with this is that the source is being created every time the user submits the page.