Ask a Question related to ASP.NET Building Controls, Design and Development.
-
paul.hester@gmail.com #1
Any way to set attributes for server controls by referencing properties/methods/variables?
Hi all,
I'm trying to find a declarative way to set server control attributes
using the attribute="<%= SomeValue %>" syntax.
This works fine for basic HTML controls, but server controls will
literally display the contained text, but won't execute the containing
code.
It works fine if I use the attribute="<%# SomeValue %>" syntax and
calling DataBind() in the code behind, but this feels really ugly.
Other than just setting the attribute in the code behind, is there a
better way to do this?
Any help would be appreciated.
Thanks,
Paul
paul.hester@gmail.com Guest
-
Why the properties of web user controls which inherted from my custom base UI controls MISSED?
Why the properties of web user controls which inherted from my custom base UI controls MISSED? How should I to set enable? -
Referencing Page properties from child control
I'm declaring public properties in a Page's code behind file (not declaratively). I would like to read and assign these from a child control's cs... -
referencing a composite entities methods and properties
hi there, i have the following composite object vehicle.cfc has the dao as a property instance.dao = createobject(----'vehicledao); ... -
Accessing Properties of Custom Controls child Controls
I am using a Custom Control on a page which renders a button control if required. I need to access the child button control's properties (i.e.... -
Referencing Controls on a Tab Page
Carl Grainger wrote: The fact that a control may be on a page in a tab control, does dot affect its reference - you can ignore the pages. ...



Reply With Quote

