Newbie: Trouble with postback

Discussion in 'ASP .Net Web Controls' started by clsmith66, Nov 16, 2004.

  1. clsmith66

    clsmith66 Guest

    I have a form that populates a tree view depending on the date selected. The
    date on the form is represented by two drop down lists on the form, one for
    the month and one for the year. I also have two image buttons on the form
    for navigation so the user can scroll month to month. If I change the date
    using the drop down lists everything works okay. My problem is if I click on
    one of the navigation buttons, the button fires the forms postback before
    click event for the button. I need the click event to fire first so I can
    change the date before posting back the page. Why would this happen? As far
    as I can tell there is no auto post back attribute for the image button to
    turn off. Any help would be greatly appreciated.
     
    clsmith66, Nov 16, 2004
    #1
    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. Hypo
    Replies:
    6
    Views:
    448
  2. Psych971
    Replies:
    5
    Views:
    4,651
    bruce barker
    Dec 17, 2004
  3. =?Utf-8?B?Q2hhZA==?=

    Postback not being set to True on first postback

    =?Utf-8?B?Q2hhZA==?=, Apr 4, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    516
    =?Utf-8?B?Q2hhZA==?=
    Apr 4, 2005
  4. gce
    Replies:
    2
    Views:
    1,728
  5. JP2006

    Trouble with ViewState on Postback

    JP2006, Aug 30, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    329
    JP2006
    Aug 30, 2006
Loading...

Share This Page