UserControl not refreshing page or its content

Discussion in 'ASP .Net Web Controls' started by TCORDON, Oct 25, 2005.

  1. TCORDON

    TCORDON Guest

    I have a user control that contains 2 image buttons, when you click one of
    them, both must change the image source, the thing is that the first time
    you click any one of them the page appears to do a postbak, but the image
    source or the image displayed does not change until I click one of the
    images a second time, why dows it take 2 clicks for the usercontrol to
    "refresh"?

    TIA!
     
    TCORDON, Oct 25, 2005
    #1
    1. Advertising

  2. Can you post the code for your user control and at which stage in the parent
    webform are you adding it?
    --
    HTH,
    Phillip Williams
    http://www.societopia.net
    http://www.webswapp.com


    "TCORDON" wrote:

    > I have a user control that contains 2 image buttons, when you click one of
    > them, both must change the image source, the thing is that the first time
    > you click any one of them the page appears to do a postbak, but the image
    > source or the image displayed does not change until I click one of the
    > images a second time, why dows it take 2 clicks for the usercontrol to
    > "refresh"?
    >
    > TIA!
    >
    >
    >
     
    Phillip Williams, Oct 25, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Harlan Messinger

    Self-refreshing and non-self-refreshing controls

    Harlan Messinger, Aug 4, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    475
    =?Utf-8?B?Y2xpY2tvbg==?=
    Aug 4, 2006
  2. et
    Replies:
    0
    Views:
    196
  3. thunk
    Replies:
    1
    Views:
    347
    thunk
    Mar 30, 2010
  4. thunk
    Replies:
    0
    Views:
    522
    thunk
    Apr 1, 2010
  5. thunk
    Replies:
    14
    Views:
    654
    thunk
    Apr 3, 2010
Loading...

Share This Page