For example I'm binding ObjectType that has many many fields (using ObjectDataSource) I can generate columns in designer so I can nontrol them manually - but I would like designer to also generate the FormTemplate for edit/insert operations (It may be the layout like it's done automatically when I have EditFormType="AutoGenerated" property set)
That would be especially useful for grids with many columns.
Thanks
Greetings
Michal Szilder, Krakow, Poland
7 Answers, 1 is accepted
RadGrid's designer does support designing the edit form template for a given table view. Just click Edit Templates from the grid's smart tag and choose MasterTableViewEditForm.
Hope it helps.
All the best,
Tsvetoslav
the Telerik team
Hi
I understand that I can edit that template through designer - but that is not what I meant it this problem - I would like to have this template generated from properties of the object that is used by ObjectDataSource .
What I would like to have is designer to auto generate html with proper bindings according to properties from this object specified . (It can be table layout which is used when autogenerated edit template is used.
This kind of functionality is implemented for generating columns in radgrid. (generating code with <asp:GridBoundColumns> and so on that can be changed later manually) - Refresh Schema like here
http://www.telerik.com/help/aspnet-ajax/images/grd_GettingStarted20.png
There is also othere of this kind of functionality missing - in asp:grid it's possible to convert bound columns using designer to template columns.
Those are basically helpers that are useful when you have o lot of grids in project with lot of properties so that you speed up the process of creating such grids.
I hope you understand what I mean.
Greets
Michal
I am afraid RadGrid's designer does not have support for that. However, do note that the purpose of the autogenerated edit form is the same as the one you have in mind. Even if the grid's designer did have support for the scenario you are envisioning, the edit form generated would be no different than the one which now opens when you click edit for a given row.
Regards,
Tsvetoslav
the Telerik team
As I said earlier that is especially useful when you have o lot of grids with a lot of fields.
Regards
Michal
I see your point but still no such support in RadGrid's designer is present. You need to use the EditFormTemplate or template columns for that matter.
Regards,
Tsvetoslav
the Telerik team
We will keep your opinion in mind - however, for the time being our development team has not counted this feature as a necessary enhancement to the RadGrid's feature set.
Regards,Tsvetoslav
the Telerik team