(I didn't get any response on the first post of this. Is this the right
forum
for ASCX user controls?)
I am writing a user control that has a combo box in it (3rd party). I want
to pass thru properties from the control so I wrote the following:
Public WriteOnly Property AutoPostBack(ByVal TF) As Boolean
Set(ByVal Value As Boolean)
cbVendors.AutoPostBack = TF
End Set
End Property
It compiles fine but it doesn't show when I use the user control. What am I
doing wrong? Is there any good articles on passing through properties in
user controls?
Thanks,
GTry making it Public Shared...
"G. Dean Blake" wrote:
> (I didn't get any response on the first post of this. Is this the right
> forum
> for ASCX user controls?)
>
> I am writing a user control that has a combo box in it (3rd party). I wan
t
> to pass thru properties from the control so I wrote the following:
> Public WriteOnly Property AutoPostBack(ByVal TF) As Boolean
> Set(ByVal Value As Boolean)
> cbVendors.AutoPostBack = TF
> End Set
> End Property
> It compiles fine but it doesn't show when I use the user control. What am
I
> doing wrong? Is there any good articles on passing through properties in
> user controls?
> Thanks,
> G
>
>
Friday, March 16, 2012
passthrough properties
Labels:
ascx,
asp,
combo,
control,
controls,
net,
passthrough,
properties,
response,
rightforumfor,
user,
writing
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment