Asp.NET AJAX control update field on form -


i have form several text fields, couple of drop down lists, , custom asp.net control.

the requirement have when values of fields ( in main form, inside control ) user alerted settings not take place unless restart processing , have option reset it. if exercise option pressing on restart button, execute additional restart() method call on server side on top of else.

in order create alert system need know when these required fields have changed. fields in main form/page store original values in hidden fields when page gets created (possible because page static). when submit button pressed check current values against original values stored. if of them differ alert user.

for fields in custom control, created boolean property indicates whether changes in fields of interest took place. control highly dynamic contains variable number of lists, of them on 100 items can selected or deselected. boolean property able identify if changes looking took place.

the problem need value of property when user clicks on submit, otherwise not contain right value. @ same time want avoid postback. not want whole page reload. want value asynchronously somehow.

since whole page stateless question how accomplish this? how accomplish call property? , after make call , result store it's accessible javascript code on client side.

you can try putting timer control in ajax panel. on set interval, evaluate boolean property in code behind.

alternatively can check hidden field "changed" event using javascript or jquery
http://api.jquery.com/change/


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -