This is a migrated thread and some comments may be shown as answers.

User Control Edit Form

1 Answer 108 Views
Grid
This is a migrated thread and some comments may be shown as answers.
baharris
Top achievements
Rank 1
baharris asked on 10 Jul 2008, 07:01 PM
I have a rad grid on a page. When I click the edit button on a row it opens a user control that I have created with textboxes, dropdowns, etc. I am binding the data to these controls by storing the edit row ID in a session variable and passing it to a stored procedure using a data provider model. It works great. I try to do the same thing to update the data in the database with changes and Rebind my data after the update but nothing happens. The data doesn't change and I don't get an error. I have no idea why this is not working. Is there something the rad grid does to prevent the update from happening? I have ran SQL Profiler to see if the update stored procedure is actually getting executed and it is, but all the values passed stay the same as they were before I changed them. ANY HELP PLEASE!!!

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 11 Jul 2008, 06:01 AM
Hello baharris,

How the grid is bound in your case? Generally automatic data source operations are not supported in case of UserControl edit form. Please check this help article for more info:

("Automatic operations with WebUserControl as EditForm"):
http://www.telerik.com/help/aspnet-ajax/grdautomaticdatasourceoperations.html



Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
baharris
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or