Click here to Skip to main content
15,867,993 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm new in .NET and Asp.

My page in web appliaction asp.net C# initialize data from Global.Application_BeginRequest(asax file)
How should I fire the event from my page, did I need to register too somehere???
Thanks.
Posted

1 solution

It's not correct idea I think. You can place some logic in method Method1() (locate this method in Global.asax too), place it into Global.Application_BeginRequest and call Method1() instead of call Global.Application_BeginRequest.
 
Share this answer
 
Comments
ephibr 25-Mar-11 8:42am    
Thanks.

But I have to do it this way as i was requested.
Pavel Yermalovich 25-Mar-11 8:53am    
Bad request

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900