Hai,
I am developing a user registration module using christoc template. This template have view,edit and settings control.
In my module design i assumed view.ascx control have lot of input controls(more than 50) and Edit.ascx control have asp gridview control.
Now Edit.ascx shows all the registered user details in gridview(limited columns).i need to show detailed view of each registration in separate page.
so i add a link button for each iteration of binding values to grid view and set DataKeyNames="Id".from this i get CommandArgument value and plan to pass this new user control.
So i add one more user control named as Details.ascx. call this page from evey link button click from Edit.ascx gridrowcommand using following code:
protected void DealersList_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "ShowDetails")
{
Response.Redirect(DotNetNuke.Common.Globals.NavigateURL(string.Empty, "ctl", "Details", "mid=" + ModuleId, "tid=" + e.CommandArgument));
}
}
this will redirect to http://dnndev/Dealer/tabid/90/ctl/Details/mid/457/tid/3/Default.aspx but this url not shown any content from Deatails.ascx control page.it wil dispaly empty page.
Kindly help me asap....