Ask a Question related to ASP.NET Building Controls, Design and Development.
-
stefano mostarda #1
Design-time problem
Hi there,
I have 2 properties "P1" (enum) and "P2" (Color).
When I set P1 I change the value of P2.
Although the value of P2 is changed in the property window, when I switch to
html view the value is not written in the control tag while the value of P1
is correctly written.
Any Idea?
Thanks in advance
Stefano Mostarda
Rome Italy
stefano mostarda Guest
-
Problem persisting asp.net 2.0 property in design-time
Hi! I have a asp.net 2.0 webcontrol with a property called TestProp (type: string), if i change value in the property-window in vs.net manually... -
Problem with design time rendering in VS2005
I have made a server control to display the average rating for content by showing the number of stars. The problem i have is with the design time... -
DataGrid subclass - design time problem
I created a custom control which is a simple subclass of the DataGrid. I wanted to display a message when the DataSource is empty. Right now I am... -
Problem with Design-time behauviour
Hi Group! I'm currently digging deeper into ASP.NET Server-Controls. My current "project" is a control that should be editable at design time (a... -
Design-time problem with ParseControl ...
Hi, I try to create a custom Webcontrol who load others controls from a string... My code seems to works well at runtime, but in design-time I have... -
Andrew #2
Re: Design-time problem
I don't know if this is "best" but...
Use a custom designer and override onComponentChanged.
If e.Member.Name == "P1" then set the value of P2.
Then call the base OnComponentChanged.
-Andrew
"stefano mostarda" <stefano.mostarda@grupponet.it> wrote in message
news:#eJCOvJlDHA.1284@TK2MSFTNGP09.phx.gbl...to> Hi there,
>
> I have 2 properties "P1" (enum) and "P2" (Color).
>
> When I set P1 I change the value of P2.
>
> Although the value of P2 is changed in the property window, when I switchP1> html view the value is not written in the control tag while the value of> is correctly written.
>
> Any Idea?
>
> Thanks in advance
>
> Stefano Mostarda
> Rome Italy
>
>
Andrew Guest



Reply With Quote

