Exemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Page.IncludeJs("http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js");
            Page.IncludeJs("http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js");
            Page.IncludeJs("~/js/vote.js");
            Page.IncludeJs("~/js/AddressEntry.js");
            Page.IncludeCss("~/jq/jquery-ui.css");
            Page.IncludeCss("~/css/AddressEntry.css");

            string stateCode = DomainData.FromQueryStringOrDomain;

            MiniLogo.Src = DomainDesign.GetImageUri("smbanner.png").ToString();
            MiniLogo.Alt = UrlManager.GetDomainDesignCodeHostName(stateCode);

            //MiniLogo.Alt = "Vote-USA.org";

            StateCache.Populate(AddressEntryStatesDropDownList, "", "");
        }