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

Insert Mode to look different

2 Answers 26 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Phil H.
Top achievements
Rank 2
Phil H. asked on 10 Dec 2008, 07:02 PM
How do I make the Insert different from the Edit?  I only see a EditItemTemplate...

2 Answers, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 10 Dec 2008, 07:17 PM
Hello Phil,

Please take a look at the following documents.

Different edit/insert forms with auto-generated edit form
Different edit forms on edit and insert

Let us know if other questions arise.

Kind regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Phil H.
Top achievements
Rank 2
answered on 10 Dec 2008, 07:43 PM

I was looking for the following:

  e.Canceled = true;
  RadGrid1.EditIndexes.Clear();
  e.Item.OwnerTableView.EditFormSettings.UserControlName = "MyInsertFormUserControl.ascx";
  e.Item.OwnerTableView.InsertItem();

 

 

Tags
Grid
Asked by
Phil H.
Top achievements
Rank 2
Answers by
Daniel
Telerik team
Phil H.
Top achievements
Rank 2
Share this question
or