Ask a Question related to ASP.NET Building Controls, Design and Development.
-
robert.minter@tallan.com #1
Need to update other WebControls when switching from html to design view
Hello all,
I have a set of WebControls that have a common base class where the
base class contains a "bool" property that all controls on a single
Page need to match. Basically, change one control's bool property
changes them all. If you stay in "Design" view, everything works and
all the WebControls' property get set correctly and the underlying HTML
code for each control reflect the change. This is all handled in the
ControlDesigner.
The problem occurs when you change to "Html" view and edit one of the
controls and change the value of the property (or remove it
altogether). When you switch back to "Design" view, only that one
control change is reflected and the rest are still the old value.
Is there any event/method/etc I can override in the ControlDesigner or
attach something to the IDesignerHost to trigger when the user changes
from "Html" view to "Design" view?
Thanks a bunch.
Rob
robert.minter@tallan.com Guest
-
Add controls to my custom control with tags in HTML design view
I have created a custom control but would like to add other controls to it at design time. I want to be able to put custom control tags inside the... -
html file shouldn't open in design view
Hi dudes. yup that is my question. is it possible to make a html file but that should not open in design view of dreamwever. u should have to go... -
Spontaneous view-switching? (ID CS)
ID has taken to doing something strange and annoying: Often, with several open files, I open or close a palette and ID spontaneously switches the... -
switching Datasheet / Form view
I have a form which is opened from a custom menu bar. The form is set to datasheet as default view, and datasheet is the only view enabled.... ... -
Wierd error when going to Design View from HTML view
When I go from HTML view (in a webform) to Design View I get the following error: Could not open in Design view. Quote values differently inside a... -
intrader #2
Re: Need to update other WebControls when switching from html to design view
On Wed, 20 Jul 2005 09:46:14 -0700, robert.minter wrote:
Are you building a control library. I have not done much designer work> Hello all,
>
> I have a set of WebControls that have a common base class where the
> base class contains a "bool" property that all controls on a single
> Page need to match. Basically, change one control's bool property
> changes them all. If you stay in "Design" view, everything works and
> all the WebControls' property get set correctly and the underlying HTML
> code for each control reflect the change. This is all handled in the
> ControlDesigner.
>
> The problem occurs when you change to "Html" view and edit one of the
> controls and change the value of the property (or remove it
> altogether). When you switch back to "Design" view, only that one
> control change is reflected and the rest are still the old value.
>
> Is there any event/method/etc I can override in the ControlDesigner or
> attach something to the IDesignerHost to trigger when the user changes
> from "Html" view to "Design" view?
>
> Thanks a bunch.
>
> Rob
with 2.0
intrader Guest
-
robert.minter@tallan.com #3
Re: Need to update other WebControls when switching from html to design view
intrader wrote:
Yes, of sorts. It's a navigation control with associated content> On Wed, 20 Jul 2005 09:46:14 -0700, robert.minter wrote:
>> Are you building a control library. I have not done much designer work> > Hello all,
> >
> > I have a set of WebControls that have a common base class where the
> > base class contains a "bool" property that all controls on a single
> > Page need to match. Basically, change one control's bool property
> > changes them all. If you stay in "Design" view, everything works and
> > all the WebControls' property get set correctly and the underlying HTML
> > code for each control reflect the change. This is all handled in the
> > ControlDesigner.
> >
> > The problem occurs when you change to "Html" view and edit one of the
> > controls and change the value of the property (or remove it
> > altogether). When you switch back to "Design" view, only that one
> > control change is reflected and the rest are still the old value.
> >
> > Is there any event/method/etc I can override in the ControlDesigner or
> > attach something to the IDesignerHost to trigger when the user changes
> > from "Html" view to "Design" view?
> >
> > Thanks a bunch.
> >
> > Rob
> with 2.0
container.
I'm still using v1.1.
robert.minter@tallan.com Guest



Reply With Quote

