Last post Feb 13, 2006 04:21 AM by sandi
Feb 13, 2006 04:21 AM|sandi|LINK
I have created control into admin/security/ folder and have added it as control into ‘User Account’ module. I have given key to this module as ‘RedirectOpt’
and its ascx is physically located at admin/security/RedirectOptions.ascx.
Now, I want to call this control on Page_Load event of register control. So I have added following code block in to register.ascx.vb.
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Catch exc As Exception
'Module failed to load
is redirecting to this http://localhost/DotNetNukedev/Home/tabid/36/ctl/RedirectOpt/Default.aspx link. But it is not the control, which I have created. On my control I have added some text boxes, and above link is showing blank page.
Can you please tell me how
this is behaving. And how can I redirect to my control (RedirectOptions.ascx.). Though its key is right, it is not redirecting to my control so please tell me where it is going wrong.
Note: I have properly created RedirectOptions.ascx into
admin/security/ folder and added some text boxes. So I am expecting redirection on this page and it should show my textboxes.
I appreciate your quick reply.