J
Jaams Adams
I have following code in asp.net page.
These are two two different ascx pages which I want to run if the browser is
IE or Not. Here I want to handle the flow of control in bettween HTML coding
by put asp.net delimiter
Can someone help me with why it's calling both ascx pages instead which ever
user agent is there
<td valign="top">
<% if (Request.Browser.Browser == "IE"){%>
<uc1:MainLeftIE ID="LeftPanelIE" runat="server" EnableViewState="false"
/>
<%} else{%>
<uc1:MainLeftNon ID="LeftPanelNon" runat="server"
EnableViewState="false" />
<%}%>
</td>
Thanks
These are two two different ascx pages which I want to run if the browser is
IE or Not. Here I want to handle the flow of control in bettween HTML coding
by put asp.net delimiter
Can someone help me with why it's calling both ascx pages instead which ever
user agent is there
<td valign="top">
<% if (Request.Browser.Browser == "IE"){%>
<uc1:MainLeftIE ID="LeftPanelIE" runat="server" EnableViewState="false"
/>
<%} else{%>
<uc1:MainLeftNon ID="LeftPanelNon" runat="server"
EnableViewState="false" />
<%}%>
</td>
Thanks