Re: Setting Control Properties before postback

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: One Handed Man \( OHM#\) ("One)
Date: 06/12/04

  • Next message: xuxu: "Re: StreamWriter.Write or WriteLine causes Session_End"
    Date: Sat, 12 Jun 2004 07:49:03 +0100
    
    

    I keep getting the feeling that we are talking at cross purposes with Angel.
    I would like Angel to give us a step by step list of what he is expecting to
    happen like.

    1.) User clicks button and postback is initiated.
    2.) Page_Load event is fired.
    3.) My code does this in the 'Event' . . .
    4.) I expected this to happen . . .
    5.) and so on.

    I am still a little confused as to what the OP is trying to acheive and
    expect to happen.

    OHM

    "John Saunders" <johnwsaundersiii@notcoldmail.com> wrote in message
    news:uhE$jQ$TEHA.1952@TK2MSFTNGP12.phx.gbl...
    > "Angel" <Angel@discussions.microsoft.com> wrote in message
    > news:A98009A9-2AF2-4899-AF82-2455D54AEEA6@microsoft.com...
    > > What i am changing from my custom control is certain custom properties
    of
    > the control. I put a breakpoint on the button click event and the page
    load
    > event and it executes after my custom control has been rendered. Maybe its
    > an issue with my custom control?
    >
    > If your custom control is being rendered before Page_Load, then it has a
    > serious bug. Are you saying that you set a breakpoint on your custom
    > control's Render method and that breakpoint is hit before the Page_Load
    > breakpoint?
    > --
    > John Saunders
    > johnwsaundersiii at hotmail
    >
    >


  • Next message: xuxu: "Re: StreamWriter.Write or WriteLine causes Session_End"

    Relevant Pages

    • Re: Setting Control Properties before postback
      ... > What i am changing from my custom control is certain custom properties of ... I put a breakpoint on the button click event and the page load ... event and it executes after my custom control has been rendered. ... control's Render method and that breakpoint is hit before the Page_Load ...
      (microsoft.public.dotnet.framework.aspnet)
    • Drawing multiple custom controls in a metafile canvas.
      ... Consider FooBar, a custom control. ... Now consider a form with two FooBar custom controls. ... I've inherited some code that uses a MetafileCanvas to render a _single_ ... I would like to draw (into the metafile canvas) _two_ FooBars, ...
      (comp.lang.pascal.delphi.misc)
    • Re: Using Custom Web Controls inside Web Part
      ... and also inserted into into Web parts to be used on Team sites. ... > Now i have a Web Custom Control which has a Label in it and it is Rendered ... > by using render method. ... I want to render this Web Custom Control in my ...
      (microsoft.public.sharepoint.portalserver.development)
    • Re: Viewstate Issue?
      ... > I've build a custom control that's essentially a header for my web site. ... Within the render ... > 'refreshes' in the design view, ...
      (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
    • Using Custom Web Controls inside Web Part
      ... (Out of Team Services). ... Now i have a Web Custom Control which has a Label in it and it is Rendered ... by using render method. ... I want to render this Web Custom Control in my Web ...
      (microsoft.public.sharepoint.portalserver.development)