Search:

Type: Posts; User: PGScannell

Search: Search took 0.04 seconds.

  1. Replies
    24
    Views
    79,726

    Re: How to prevent postback on button click.

    What is an updatepanel? And how would you code the placement and retrieval of the variables on a postback?

    Why can't viewstate handle all of the data that is needed because of the postback? The...
  2. Replies
    24
    Views
    79,726

    Re: How to prevent postback on button click.

    I've just discovered something that is relevant to this entire problem. I'm surprised that the experienced .net programmers didn't know this. Us newbies wouldn't have known about it, that's for...
  3. Replies
    24
    Views
    79,726

    Re: How to prevent postback on button click.

    The workaround I did, which is not a very efficient one, is based on the fact that postback situations do restore form controls to their pre-postback condition, so I created a bunch of hidden text...
  4. Replies
    24
    Views
    79,726

    Re: How to prevent postback on button click.

    I did the recommended addition of OnClientClick="return false;"

    I ran the program and didn't get the postback. BUT my button events didn't occur, either. Then it occurred to me: putting in the...
Results 1 to 4 of 4



Click Here to Expand Forum to Full Width