|
-
Dec 12th, 2002, 09:22 AM
#1
Thread Starter
Lively Member
ASP.NET Question: In Page_Init, how can you find which control caused the PostBack?
Hi, there.
I have some code that must be run in the Page_Init event of my ASP.NET page. However, this code should only be run if a certain button is clicked. The problem that I am having is that the Page_Init event fires before the Button_Click event.
Is there a way, in the Page_Init event to find out which control caused the page PostBack? If so, I can use this to determine whether to run the code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|