I have list li,I want to know which option in clicked to code behind.How can i possible
- &
Use repeater control or Datalist control to list the <li>
tag. Inside <li>
take linkbutton. then use itemcommand method to handle it
You cannot do this. After a page has finished processing and has been sent to a browser as the HTTP response, server can do nothing with this page.
You need to use POST form to inform the server about your choice. Or you can use JavaScript and AJAX, if you want it to be done without form submitting and reloading.