Example #1
0
        private void RenderPage()
        {
            CategoryManager cm = new CategoryManager();
            ddlCategories.DataSource = cm.GetActive();
            ddlCategories.DataBind();

            if (QueryStringContains("address"))
            {
                RegisterDocumentReadyFunction("autogeo", JsUtils.CreateJsFunction("geolocationByAddress", false, GetFromQueryString("address"), "map_canvas"));
            }
        }
Example #2
0
 private void RenderPage()
 {
     CategoryManager cm = new CategoryManager();
     ddlCategories.DataSource = cm.GetActive();
     ddlCategories.DataBind();
 }