How to access the changes in style.display property by Javascript in code behind
-
Hi, I am using the java script to show hide the control. I am using the style.display property in javascript. I want access the changes in the style.display property in code behind. The changes are not refelected on server side. Please suggest me, how to access the changes in style.display in code behind
-
Hi, I am using the java script to show hide the control. I am using the style.display property in javascript. I want access the changes in the style.display property in code behind. The changes are not refelected on server side. Please suggest me, how to access the changes in style.display in code behind
prashantkharade wrote:
I want access the changes in the style.display property in code behind.
Why do you want to do that? Showing/hiding of control is client side functionality. You can not access the state from the server. You can save the state on hidden field and pass it to the server though!
Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
-
prashantkharade wrote:
I want access the changes in the style.display property in code behind.
Why do you want to do that? Showing/hiding of control is client side functionality. You can not access the state from the server. You can save the state on hidden field and pass it to the server though!
Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
Hi, When i am clearing the control values using java script, but after post back wehen i access control values it gives me the previous values.(the valuses which are set on previous page load.) Please, Let me the reason for it and the means of acces the modified control values using javascript after PostBack. Thanx in advance. Regards, Prashant.
-
Hi, When i am clearing the control values using java script, but after post back wehen i access control values it gives me the previous values.(the valuses which are set on previous page load.) Please, Let me the reason for it and the means of acces the modified control values using javascript after PostBack. Thanx in advance. Regards, Prashant.
Why don´t you use asp:panel instead of <div>? The Panel control generate the same code ( <div></div> ) and can be manipulated in code behind.
modified on Friday, April 17, 2009 6:11 PM