dreamcatcher

Untitled

Sep 12th, 2011
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.42 KB | None | 0 0
  1. protected void Application_PreRequestHandlerExecute(object sender, EventArgs e)
  2.     {
  3.         if (HttpContext.Current.Request.RawUrl.ToLower().Contains(".aspx"))
  4.         {
  5.             try
  6.             {
  7.                 Response.ClearContent();
  8.                 GeneralHelper.GeneralHelperC.SetCulture();
  9.             }
  10.             catch
  11.             {
  12.                 //  Response.Write("eree");
  13.             }
  14.         }
  15.     }
Advertisement
Add Comment
Please, Sign In to add comment