As part of my reworking to try and avoid having to use the standard FormView component - as sadly no-one has yet developed a good alternative :( - I am trying to use RadGrids and RadTreeLists to allow for my New, Edit and View requirements.
I've got the new and edit forms kind of working (subject to some more help from support) but am having a dilemma re the view form.
My Edit and New forms use a popup formtemplate and that works very well. I'd like the view only form to be similar. Has anyone had experience doing this?
I see three potential ways to achieve this:
1) Use some form of detail template to popup a form and show data - the downside is that it means maintaining a second template.
2) Somehow use the FormTemplate and have some code to strip out the fields replacing them with labels showing the data. I think that this would be the preferred option as it would mean consistency between forms and reuse of code.
3) Same as above but make the fields all read only to prevent user editing. Downside is that they will look grey.
I haven't been able to find any demos for this kind of thing - some would be useful in the demos section :)
Any pointers?
Best Regards,
Jon
I've got the new and edit forms kind of working (subject to some more help from support) but am having a dilemma re the view form.
My Edit and New forms use a popup formtemplate and that works very well. I'd like the view only form to be similar. Has anyone had experience doing this?
I see three potential ways to achieve this:
1) Use some form of detail template to popup a form and show data - the downside is that it means maintaining a second template.
2) Somehow use the FormTemplate and have some code to strip out the fields replacing them with labels showing the data. I think that this would be the preferred option as it would mean consistency between forms and reuse of code.
3) Same as above but make the fields all read only to prevent user editing. Downside is that they will look grey.
I haven't been able to find any demos for this kind of thing - some would be useful in the demos section :)
Any pointers?
Best Regards,
Jon