Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting control properties via javascript

Status
Not open for further replies.

StevenK

Programmer
Jan 5, 2001
1,294
GB
I'm working with ASP.NET web pages using C# code behind.
I've introduced some javascript code - but can't seem to make it work in such a way that I'm able to set properties against ASP controls - i.e. TextBox's, Button's, etc.

Can this be done?

Thanks in advance.
Steve
 
What are you trying to do, what have you done so far? Post any code you have.
 
I'm working with Dev Express components - namely an ASPxRoundPanel control.
Via javascript I want to be able to set the 'HeaderText' for this control - but can't seem to get a handle on it.

Thanks again.
Steve
 
I guess I misunderstood your question initially. You can't change a server side object through javascript since javascript is client side.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top