I am developing a web page which has a set of check box and checkboxlist controls. Some operations need to be performed on selecting an item of the checkbox list and when the checkbox is checked. When this is done as a simple ASP page, there is a time delay. Could some one help me with some tips on how javascript can be used with ASP.net
rajmithun
Posts
-
How to use javascript with ASP.net -
ASP page refresh in a client server environmentI am using a checkbox and a checkbox list in one of my web pages. The UI is like 1) Initial UI Color -- > CheckBox Red ---> Checkboxlist items Green Blue Yellow 2) Complete selection The entire checkbox list can be selected / unselected on checking header checkbox 3) Partial selection When a item in the checkbox list is selected, the total number of selections is checked and to indicate a partial selection, the background color of the header check box is changed to a dark grey. This is to achieve something similar to three state checkbox. AutoPostBack property is set to true for all the controls. In a client server environment, there is a time delay and if we make two continuous selections in the checkbox list, an update of the header control is done for the first selection and by the time UI is refreshed, the second selection is gone. I also implemented the above one using JavaScript but then also the behavior is same. How can it be done in a better way?