HighTechTalks DotNet Forums  

Set property in user control

ASP.net Building Controls microsoft.public.dotnet.framework.aspnet.buildingcontrols


Discuss Set property in user control in the ASP.net Building Controls forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
stan
 
Posts: n/a

Default Set property in user control - 07-28-2006 , 05:29 PM






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

Reply With Quote
  #2  
Old   
Stan
 
Posts: n/a

Default Re: Set property in user control - 07-31-2006 , 03:51 PM






Figured out.

stan <respondto@newsgroup> wrote in
news:eDc8$UpsGHA.1208 (AT) TK2MSFTNGP02 (DOT) phx.gbl:

Quote:
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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.