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")); } }
private void RenderPage() { CategoryManager cm = new CategoryManager(); ddlCategories.DataSource = cm.GetActive(); ddlCategories.DataBind(); }