Posted on: 9/18/2013 4:37:45 AM | Views : 524

I have to display a dropdownlist (inside an asp:panel control) if a user is from the U.S. or Canada , but if they are from another foreign country, i need to display a textbox instead of the dropdownlist. The country is carried from session object after logging in, stored in session var: <!--aspx page:-->
<asp:Panel id="showddCity" runat="server">    ...other sqldatasource code....    <asp:DropDownList          id="ddCity"         DataSourceID="sqlcity"         DataTextField="City"         DataValueField="City"         Runat="server" />   </asp:Panel>      <asp:Panel id="showtboxForeign" Runat ...

Go to the complete details ...