protected void ibEdit_Click(object sender, ImageClickEventArgs e)
        {
            if (lstApplications.SelectedIndex == -1) return;

            URL url = new URL(PageNames.ApplicationDetails, FolderNames.Admin);
            url.Parameters[Constants.RQ_ApplicationID] = lstApplications.SelectedValue;
            url.Redirect();
        }
 private void RedirectToFeatureDetailPage(string featureID = null)
 {
     URL url = new URL(PageNames.FeatureDetail, FolderNames.Admin);
     if (!string.IsNullOrWhiteSpace(featureID))
     {
         url.Parameters[Constants.RQ_ITEM_ID] = featureID;
     }
     url.Redirect();
 }
Esempio n. 3
0
 private void RedirectBack()
 {
     URL url = new URL(PageNames.FeaturesManagement, FolderNames.Admin);
     var appid = Request.QueryString[Constants.RQ_ApplicationID];
     if (!string.IsNullOrWhiteSpace(appid))
     {
         url.Parameters[Constants.RQ_ApplicationID] = appid;
     }
     url.Redirect();
 }
Esempio n. 4
0
 protected void btnEdit_Click(object sender, EventArgs e)
 {
     URL url = new URL(PageNames.TextContentEdit, FolderNames.Admin);
     url.Parameters[Constants.RQ_TEXT_CONTENT_ID] = ControlName;
     Response.Redirect(url.ToString());
 }