Hello,
I'm having one solution for you just try it and let me know if u struck some where.
1. In
SampleModule.aspx file make the both user control (SampleA,SampleB) visible as false
2. In Page_Load event get the query string and assign to a string variable check if the variable is A make the SampleA.ascx control as visible true , else make SampleB.ascx control as visible true
Example: (C# coding)
In ASpx file
<%@ Register TagPrefix="dnn" TagName="dnn1" Src="~/
SampleA.ascx" %>
<%@ Register TagPrefix="dnn" TagName="dnn2" Src="~/
SampleB.ascx" %>
<form>>
<dnn:dnn1 runat="server" id="dnnsampA" visible="false">
dnn:dnn1 runat="server" ID="dnnsampA<dnn:dnn1 runat="server" id="dnnsampA" visible="false">" Visible="false"
dnn:dnn2 runat="server" ID="dnnsampB<dnn:dnn1 runat="server" id="dnnsampA" visible="false">" Visible="false"
<dnn:dnn2 runat="server" id="dnnsampB" visible="false"><dnn:dnn1 runat="server" id="dnnsampA" visible="false">
</form>In C# in Page_Load event
if(Request.QueryString["xxx"] != null)
{
string val = Request.QueryString["xxx"];
if (val == "A")
{
dnnsampA.Visible = true;
}
else
{
dnnsampB.Visible = true;
}
}
Hope this works. If this is not you expected let me know it
Thanks,
Anu
<!--Session data-->[script removed]
<!--Session data-->[script removed]