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

Form Editing in RadGrid

5 Answers 109 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lucania
Top achievements
Rank 1
Lucania asked on 21 Sep 2011, 01:34 AM
Would it be possible to implement <EditFormTemplate> and <InsertFormTemplate> in RadGrid's <EditFormSettings>? Currently I have to have code behind (often done with <% %> tags but still server side code) to set the visibility, text, etc of controls on the <FormTemplate>, it would be so much better if the layout for both versions could be done with no server-side code. Other edit controls (eg RadListView) have separate templates for edit & insert and it works well.

Thanks

ROSCO

PS: I tried to add a feature request in PITS but couldn't seem to get it to work.

5 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 26 Sep 2011, 11:06 AM
Hello Ross,

You could use different insert/edit forms with RadGrid. More information about how this could be achieved, you could find here.

Greetings,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Lucania
Top achievements
Rank 1
answered on 27 Sep 2011, 12:09 AM
Thanks for the info, I had not thought of that possibility.

However I don't think I would be able to use Eval()/Bind() in the control front-end to bind data using that technique, is that correct?

ROSCO
0
Andrey
Telerik team
answered on 27 Sep 2011, 10:47 AM
Hello Ross,

I suggest that you examine this help topic, for information on how to bind controls inside User Control.

Regards,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Lucania
Top achievements
Rank 1
answered on 28 Sep 2011, 12:09 AM
Thanks very much that is exactly what I need!

ROSCO
0
Lucania
Top achievements
Rank 1
answered on 28 Sep 2011, 12:24 AM
But I still think the addition of edit & insert templates in RadGrid would be a very useful enhancement :)

ROSCO
Tags
Grid
Asked by
Lucania
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Lucania
Top achievements
Rank 1
Share this question
or