javascript - LinkButton value lost on PostBack -


i have table i'm creating rows/cells in code behind, , adding various controls each cell. there submit button on form.

one of cells contains splinkbutton. have javascript function changes innertext/textcontent based on user action default value set in code behind. prior clicking button run code behind, end user see updated text of splinkbutton.

when submit button clicked, control reverts value default value during button's postback. label/textbox/ddl preserve values. if wrap control in ispostback, cell control added null (or if wrap entire table, there no rows). note i'm using value of item uniquely append splinkbutton id on per-table row basis.

what different linkbutton/splinkbutton , postback behavior? 

edit: converted splinkbutton textbox, providing similar functionality. while dislike presentation compared textbox (look , feel, splinkbutton automatically expand modal size when needed), function. love splinkbutton working , go using it, if possible.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -