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

Insert Template Loading

1 Answer 44 Views
ListView
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 23 Jul 2010, 07:42 PM
When my page loads the insert template is visible...how do I go about changing that?  I just want to show the list of items, and if a user is an admin show them a button to enable the insert.

Thanks,
Steve

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 27 Jul 2010, 10:55 AM
Hello Steve,

First make sure you have InsertItemPosition set to None, which should prevent the insert form to be shown initially. Then you may use a button with command name set to InitInsert to display the insert form. You may refer to the this demo for an illustration of such approach.

Sincerely yours,
Rosen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ListView
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Rosen
Telerik team
Share this question
or