ASP.net Ajax: postback problem with linkbutton -


I have a "yes" link button that triggers a popup (modalpipe-accender) popup has a web user control If the user clicks the "Yes" link button, then enter some data

Yes the linkbutton is inside an asp panel which is called "no" with another link button which is hidden and when Users will see text box and click onThe goal of this textbox dropdownextender is yes and any link button is triggered for both a text box that is inside UpdatePanel and will update the text value for Y or N.

If I do not click on a link button, then it will trigger the code behind the event and update the text box value but not with the link button. It will not trigger your event (backcountry), it will only trigger the modal popup filler, so I can not update text box value for Y with LinkButton.

I can change the text box value via javascript, but when I click the update button the database. The value of the text box is still not changing. I think javascript only changes the html value of the text box, but the value inside the viewstate is not.

Two questions:

  1. Is there an event (code behind the run code) if it is being used as the target control in AJAX Framework Control? Am I missing something?

  2. How can you change the value of the control via javascript? Not only on the surface (HTML) but also in the viewstate when an update has real value control like text box. Text value changes.

I am confused with your question ... but let me Remember to try the luggage. This page was very useful when interacting with ASP and Java:


Comments