On my Ascx page ive got 2 buttons, those buttons redirect to same page atm. (because page should be exactly same). In Page_Load() method sender parameter doesnt have any parameters. How do i tell Page_Load event which button was clicked? so i can load different data depends on which button was clicked?
Are there any way to do it more dynamicly? or do i have to create a separate page for each button?
I dont know what you trying to do , this could be silly but still you can achieve this by doing something like this
Then on the load event
You can also multiple parameters to a page like this
And retrieve it