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!

How do I reference the properties of a composite control?

Status
Not open for further replies.

FancyPrairie

Programmer
Oct 16, 2001
2,917
US
I'm new at this so bare with me...

I have created a composite control and have defined several properites for it. I can see and set these properties at design time within Visual Studio. However, how do I reference the properties client-side using Javascript? For example, one of my properties is a boolean LimitToList. How do I determine the value of LimitToList within javascript?
 
You want to set a property on a server control, from javascript(client). Answer: you can't. You would have to store the value in a hidden field on the form and access that through js.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top