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

Closing a WebUserControl form on submit

1 Answer 58 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Neolite
Top achievements
Rank 1
Neolite asked on 10 Jan 2008, 09:28 PM
I am using a WebUserControl as my EditForm in a RadGrid.  The form has a Submit button on it.  How do I close the form once the Submit is pressed?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 11 Jan 2008, 08:25 AM
Hi Neolite,

If you assign CommandName="Cancel" or "Update" for this Button the grid will close the form automatically. Here is an example with more info:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/DataEditing/UserControlEditForm/DefaultCS.aspx

Greetings,
Vlad
the Telerik team

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