Ask a Question related to ASP.NET Building Controls, Design and Development.
-
jdp #1
Viewing Usercontrol Property Changes at Design Time
I have a usercontrol composed of a label and textbox. I've created a
custome property, LabelText, that I can assign at run time. What I'd
like to see is if I place a value in LabelText in the Property Window
at design time, to see the usercontrol update itself with this value.
How is this accomplished?
Any feedback is appreciated.
jdp Guest
-
UserControl property as dropdown at design time?
Hi I'm creating an ASP.NET UserControl that contains a DropDownList control. I'd like to be able to set the DataSourceID property of this... -
using the Items property in the design time property window
I hope this is the proper forum. I posted this problem in the wrong one previously. I have a custom server control that I am building. Implementing... -
Rendering design-time content on a web UserControl
I created a web user control and would like to add the ability for it to contain design-time rendering capabilities. So that, during development,... -
design time property persistence
I have a control that inherits from WebControl. In it, I have a property of a collection type. Basically it's similar to how DataGrid works in... -
Viewing custom web control at design time
Hello, I've created a custom web control (composite) and added to my toolbox. I dragged the control onto a new web form and I see the small green... -
jdp #2
Viewing Usercontrol Property Changes at Design Time
I have a usercontrol composed of a label and textbox. I've created a
custom property, LabelText, that I can assign at run time. What I'd
like to see is if I place a value in LabelText in the Property Window
at design time, to see the usercontrol update itself with this value.
How is this accomplished?
Any feedback is appreciated.
jdp Guest
-
Micke Andersson #3
RE: Viewing Usercontrol Property Changes at Design Time
Well, for Windows Forms components, your set accessor on the public property
generally includes a call to Invalidate() .. have you looked for something
similar for the web control?
I'm sorry I can't be more specific than this, I wrestle more with custom
designers than property editors atm :)
/Micke
"jdp" wrote:
> I have a usercontrol composed of a label and textbox. I've created a
> custom property, LabelText, that I can assign at run time. What I'd
> like to see is if I place a value in LabelText in the Property Window
> at design time, to see the usercontrol update itself with this value.
>
> How is this accomplished?
>
> Any feedback is appreciated.
>
>Micke Andersson Guest
-
jdp #4
Re: Viewing Usercontrol Property Changes at Design Time
Thanks for the reply.
To be honest, I'm not quite sure I understand what you're referring to.
If you explain more about the Invalidate() or point me to a site that
explains things a little more, I'd appreciate it.
Thanks again.
Micke Andersson wrote:> Well, for Windows Forms components, your set accessor on the public property
> generally includes a call to Invalidate() .. have you looked for something
> similar for the web control?
>
> I'm sorry I can't be more specific than this, I wrestle more with custom
> designers than property editors atm :)
>
> /Mickejdp Guest



Reply With Quote

