Which control caused cross-page postback?

J

Jason Wilson

I have a page that has two seperate buttons that have the same
PostbackUrl. How can I tell which button cause the cross-page postback?
 
C

Cowboy \(Gregory A. Beamer\)

sender

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
 
J

Jason Wilson

Thanks for the quick response.
sender

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
 
J

Jason Wilson

Whoops sender.ToString just has the has the name of my Target page in
it (ASP.verifycodes_aspx). I'm looking for the id or name of the
control on the source page.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top