Hello,
I have a RadGrid and I have two diffrent ascx files.
I want to dynamicly load one or the other when the user press the Editbutton is this possible?
I understand that I can set a ascx to load with the
Can I in some way set every row/item to have a diffrent usercontrol open when edit is pressed, or is there another event that I can catch BEFORE the control gets loaded?
Thanks in advance.
I have a RadGrid and I have two diffrent ascx files.
I want to dynamicly load one or the other when the user press the Editbutton is this possible?
I understand that I can set a ascx to load with the
EditFormSettings-UserControlName
But that will set only one ascx for my whole grid. When the user press the Editbutton I have to check that row/item and if a specific Colum has value "1" then I want to show one ascx if it has something else I want to show the other. I tried to catch the ItemDataBound event and change theRadGrid1.MasterTableView.EditFormSettings.UserControlName
To something else but I guess that is to late and that the usercontrol has already been loaded at this point.Can I in some way set every row/item to have a diffrent usercontrol open when edit is pressed, or is there another event that I can catch BEFORE the control gets loaded?
Thanks in advance.