Gridview onrowupdating onrowupdated

posted by | Leave a comment

When I take a standard Grid View, bind it to a Data Table and dynamically wrap it in an Update Panel at run-time, the Row Updating event stops firing my handler. the View state is disabled because I need the the Grid View to be displayed even when there is no data. I bind the data on each postback which I think might be part of the problem. One thing I did notice is that is that when the update button is clicke...

So, the containing object in this case is Data Control Field Cell but it is a difference one on every click of the user. I've added some events: Row Editing = new Grid View Edit Event Handler(Grid View Membership Inherited_Row Editing); Row Canceling Edit = new Grid View Cancel Edit Event Handler(Grid View Membership Inherited_Row Canceling Edit); Row Updating = new Grid View Update Event Handler(Grid View Membership Inherited_Row Updating); Row Updated = new Grid View Updated Event Handler(Grid View Membership Inherited_Row Updated); I have Row Edit enabled with Auto Generate Edit Button = true; When I press the "Edit" Button, the Upating Event fires. Baltic countries - Economist - World News, Politics, Economics, Business & Finance Log in Register Subscribe Digital & mobile Events Topics A-Z Newsletters Jobs RSS feed Facebook Twitter More social links Google plus Linked ...If you are populating it from page load be sure and wrap (if! So if its binding the grid again on postback it will lose the edit item index and maybe it can't fire the event after that.If its inside module I would also wrap the grid inside an Up Date Panel Hope it helps, Joe what a silly of me. I hope you still want to help me if i am have error.Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free.

Leave a Reply

Pantyhose chat xxx