Ask a Question related to ASP.NET Building Controls, Design and Development.
-
stan #1
Set property in user control
I have a user control where I defined a boolean property. I tried to pass
the property the following way:
<aaa:MyControl runat="server" id="stan" IsReady="<%# booleanReady %>"/>
However, that does not work. It looks like the "set" for the property does
not get executed. However, it works if I hardcode "true" or "false". I am
using .Net 1.1, VB. Can someone help?
TIA,
Stan
stan Guest
-
Web user control creation - Resolve an ImageUrl property if control themed
Hi I'm creating a WebControl which has a themeable ImageUrl property : <Bindable(True), Category("Appearance"),... -
Modifying a property of a control contained in a user control
I have a user control that is made up of several HyperLink controls. In the Page_Load event of pages that use the control I want to change a... -
Setting user control property dynamically?
Hi I created a user control that has a property that accepts a url ("NavUrl").. I tried to set the value as follows directly in the aspx page... -
Can you set a default property for a user control?
I'm not even sure if what I'm doing is possible. I created a simple control that will be reused throughout the site. It will accept a large amount... -
How to Create a user control with a event property?
I want to create a usercontrol and can set Click Event Function to it at desined-time,just as <myprefix:myLinkButton ... OnClick="ClickFunction"... -
Stan #2
Re: Set property in user control
Figured out.
stan <respondto@newsgroup> wrote in
news:eDc8$UpsGHA.1208@TK2MSFTNGP02.phx.gbl:
> I have a user control where I defined a boolean property. I tried to
> pass the property the following way:
> <aaa:MyControl runat="server" id="stan" IsReady="<%# booleanReady
> %>"/> However, that does not work. It looks like the "set" for the
> property does not get executed. However, it works if I hardcode
> "true" or "false". I am using .Net 1.1, VB. Can someone help?
>
> TIA,
> Stan
>Stan Guest



Reply With Quote

