Author: Anil Vishwakarma | Posted on: 6/30/2010 11:10:29 PM | Views : 854

hi this is anil..i created a user control for (city,state,country).(three dropdown control)
now i want to access these values into my aspx code.
what is the process for this.
for that i have created three get property one for each country dropdown,state dropdown,city drop down.
now i created a reference for this ascx.cs class into aspx.cs and when i tried to access these properties then null values are assigned into my loca; variables of aspx.cs class.(is there any session variables should be created..i m not getting how these will work ....plz help me..)
the code for .ascx....
<%@ Control  Language="C#" AutoEventWireup="true" CodeFile="Address.ascx.cs" Inherits="Control_Address" %>
        <asp:Label ID="lblCountry" runat="server" Text="Country:"></asp:Label>
        &l ...

Go to the complete details ...