Esempio n. 1
0
 //##########################################################################################
 //# Public Functions
 //##########################################################################################
 ///############################################################
 /// <summary>
 /// Gets a value representing the URL to redirect to on a successful form submission.
 /// </summary>
 /// <param name="bErrorsOccured">Boolean value indicating if any errors occured on the form.</param>
 /// <value>String representing the URL to redirect to on a successful form submission.</value>
 ///############################################################
 /// <LastUpdated>May 30, 2007</LastUpdated>
 public void RedirectURL(bool bErrorsOccured)
 {
     //#### If no bErrorsOccured, we need to .Redirect to the .RedirectURL
     if (!bErrorsOccured)
     {
         Response.Redirect(Breadcrumb.URL());
     }
 }