HTML CODE: C# Code Behind: private void Bind Data() protected void gv Categories_Row Editing(object sender, Grid View Edit Event Args e) protected void gv Categories_Row Updating(object sender, Grid View Update Event Args e) Hello Azam, Thanks for the prompt reply. Find Control("txt Category Description") as Text Box). Regards, Amol I am attempting to get the rowupdate event working with a gridview. Text; returns the the value of the "decription" which existed prior to typing in the new value. Thus every time I would click on Update, the data would get bound to the grid again after fetching the same data from the data base. I have a webpage that has a grid that allows select as well as edit. When I attempt to get to values in the rowupdating event I get the old values (which makes sense from your post). My question is that when I add the binding code inside If Not Page. It's a bit different of a set up, as all the controls are in a single column (maybe this is causing the problems? I do not receive any runtime errors, so it must be logic. ASP The order in which your events are firing might be the problem.Make sure you have the same set up as the one below and modify it to suit your needs. before that i want just using Find control and casting and then retrieving all lot code. If values are same they could notify user to change the value(give new cell value). Every one can use it to compare the new value with old ones.
Thanks for choosing Dev Express for your software development needs.I'm using a databound grid view (below) to edit with -when I click the edit button I see the Edit Item Templates all correctly populated, but when I press the Update button - I am told "cannot find control DDLCategory Edit in Control Parameter Edit Category ID - I have tried changing the control ID to ct100$Main Content$Grid Viewgory ID but no change and now I'm thinking I need to put a findcontrol in the code behind - but i'm not sure how to access the Edit state of the gridview to say something like: protected void Grid View1_Row Data Bound(Obj "The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years.I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing.We are your extended team and are working hard to make certain you have all the resources necessary to build your next great app.Should you have any questions or wish to provide feedback on our documentation, feel free to email us at [email protected]