Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Thiruppathi S #1
Browsable Attribute
Hi All,
Could any body plz help me.
I want to set the browsable attribute value of "property2 " according to
the value of "property1"
i could able to change the value of that property but not the attribute
plz help me
Regards
S.Thiruppathi,
Thiruppathi S Guest
-
Add attribute to tag
What files do i look for to modify to add attributes to a tag? I want it to suggest more attributes when i open specific tags. I've been trying to... -
Browsable Brochure
Folks, pardon my inexperience, but I was wondering if someone could direct me to some information about how to create a browsable brochure in Flash.... -
Retrive data from attribute spaced attribute.
Hi. I'm retrieving data from an excel sheet. But one of the attributes is name "Phone private". This is a problem when I want to write out the... -
Retrieving XML attribute using XML::XPath::Node::Attribute
Hi I am trying to retrieve an attribute of a particular node from my XML using "XML::XPath::Node::Attribute", but couldn't come across on how to... -
Add Attribute to <TD>
Does anybody know how to add the html 'nowrap' attribute to a particular column in a datagrid? This doesn't work, because I suspect the... -
John Saunders #2
Re: Browsable Attribute
"Thiruppathi S" <srt@iinterchange.com> wrote in message
news:OksJSYx7EHA.1260@TK2MSFTNGP12.phx.gbl...Attributes are compile-time things, mostly, so you can't easily do this.> Hi All,
>
> Could any body plz help me.
> I want to set the browsable attribute value of "property2 " according to
> the value of "property1"
>
> i could able to change the value of that property but not the attribute
Also, I can't think of an example of a component or control which hides one
property based on the value of another property.
You can throw an exception in the property setter for property2 based on the
value of property1.
Also, if you create a designer for your component, you can override the
PostFilterProperties method to replace the normal "property2" property
setter and replace it either with one that has Browsable(false), or, for
instance, with one which is read-only.
John Saunders
John Saunders Guest



Reply With Quote

