Finding Row

  • Thread starter Thread starter Barry
  • Start date Start date
B

Barry

Hi

I have created a Table and programmatically added rows with Cell , having
TextBox, DropDown Controls and Buttons on each row.

Question is, How do i know which button or Dropdown triggered the PostBack

TIA
Barry
 
I have created a Table and programmatically added rows with Cell , having
TextBox, DropDown Controls and Buttons on each row.
Question is, How do i know which button or Dropdown triggered the PostBack

Each control within a page has to have a unique ID, right?

Simply check the ID of the control which caused the postback i.e. the sender
argument in code-behind.
 

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

Back
Top