Re: Render Panel Control
From: Steve Drake (Steve_at_NOSPAMDrakey.co.uk)
Date: 02/06/04
- Next message: Brad Smith: "Re: making a website READONLY"
- Previous message: Ian Campbell: "Re: pop-up window"
- In reply to: Michael Morse: "Re: Render Panel Control"
- Next in thread: Peter Huang: "RE: Render Panel Control"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 6 Feb 2004 20:03:13 -0000
Yes, but begin dyslexic I do sometime miss read things.
I have seen people get problems when the handle events that change control
props and they don't set childcontrols created to false.
Steve
"Michael Morse" <mike.morse@micromo.com> wrote in message
news:eOabdwL7DHA.1936@TK2MSFTNGP12.phx.gbl...
> Your kidding, Did you read my post?
>
> "Steve Drake" <Steve@NOSPAMDrakey.co.uk> wrote in message
> news:eMCcDtC7DHA.3860@tk2msftngp13.phx.gbl...
> > try, childcontrolscreated = false
> >
> >
> > "Michael Morse" <mike.morse@micromo.com> wrote in message
> > news:ODBmmHC7DHA.3860@tk2msftngp13.phx.gbl...
> > > I have a web part that has some buttons across the top of a make shift
> > tool
> > > bar for the part. Depending on which button is clicked I need to
render
> > > certain controls.
> > >
> > > A simplified version of my renderwebpart method is
> > >
> > > _pnlControls.RenderBeginTag(output) ' begin panel control
> > >
> > > _txtJobNo.RenderControl(output) - textbox control
> > >
> > > _pnlControls.RenderEndTag(output) ' end panel control
> > >
> > > One of my buttons on the tool bar calls a sub that only does this
> > >
> > > _pnlControls.Visible = False
> > >
> > > However the panel control does not go invisible and the text boxes
still
> > > appear.
> > >
> > > How can I add and remove controls at runtime to achieve my goal?
> > >
> > > Thanks for the help -mike
> > >
> > >
> >
> >
>
>
- Next message: Brad Smith: "Re: making a website READONLY"
- Previous message: Ian Campbell: "Re: pop-up window"
- In reply to: Michael Morse: "Re: Render Panel Control"
- Next in thread: Peter Huang: "RE: Render Panel Control"
- Messages sorted by: [ date ] [ thread ]