Click here to Skip to main content
15,890,845 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

how can i check event name on masterpage that which event has clcik  on any page.

supposse i have multiple page and all have inherited master page.

i want log control name which has fired/click  like (onlick,page,load, add,edit,delete etc) on any page 

if user click on any event , i can check that event name on master page.

What I have tried:

I am able to get page name on master page with the help of below code but not able to get evnt name which has called

string PName = Request.UrlReferrer.Segments[Request.UrlReferrer.Segments.Length - 1];
Posted

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