Hello,
I am using a RadGrid with EditFormSettings EditFormType="Template".
I would like to add inside the <FormTemplate> a user control that resides in another library that I had created as an embedded resource library as described here: https://www.codeproject.com/kb/user-controls/embeddedusercontrol.aspx.
The problem I'm facing is that when trying to display the edit form, in Page_Load event inside my user control, all inner components (textboxes, radwindows, etc.) are null.
What am I doing wrong?
Another alternative I had thought about would be to wrap my formtemplate in a usercontrol that I would like to store in my controls library. In this case,
what would be the UserControlPath? I have found an example with applications root reference (UserControlPath="~/WebUserControl.ascx"), but I was not able to point it to a different assembly.
Is there any way of creating the user control in code behind and set it to the grid edit form?
Any help would be appreciated. Thanks in advance.