Manipulate server control with client script?
-
Is there a way to manipulate a server control with client script? I have a System.Web.UI.WebControls.Menu control on my page. When the user selects a particular style sheet from a select control, I want to change the Orientation property of the Menu control from "Horizontal" to "Vertical". How can I go about this? Thanks!
Ian
-
Is there a way to manipulate a server control with client script? I have a System.Web.UI.WebControls.Menu control on my page. When the user selects a particular style sheet from a select control, I want to change the Orientation property of the Menu control from "Horizontal" to "Vertical". How can I go about this? Thanks!
Ian
you can store something in a hidden field that causes it to change on the server, and do a postback.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
you can store something in a hidden field that causes it to change on the server, and do a postback.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Thanks for the tip!
Ian