I am developing a module in dotnetnuke.
It has controls as EditModulename.ascx,ViewModulename.ascx and New1.ascx.
This module is on home page, when i run this it shows the ViewModulename.ascx control on home page.
Now i have one link button cmdL1, I want to display a New1.ascx control after clicking on cmdL1 button. How can i do this?
I tried as follows but it didn't work. it gives "Property evaluation failed" exception.
Thank You.
I tried as below, but it didn't work.
I have loaded this new1.ascx in a module with the key="New1"
Protected Sub cmdL1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdNewOrder.ClickDim objModules As ModuleController = New ModuleController"New1", "mid=" & CStr(ModuleId)))End Sub
<
asp:linkbutton id="cmdL1" runat="server" resourcekey="cmdL1">New Order</asp:linkbutton>
It gives error on page when clicking on a link button L1 as below:
Module Load Warning
One or more of the modules on this page did not load. This may be temporary. Please refresh the page (click F5 in most browsers). If the problem persists, please let the Site Administrator know.
how do i solve this problem, Please help me.
Thanks in advance.
Response.Redirect(NavigateURL(PortalSettings.ActiveTab.TabID,