Grr Tables and postbacks

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: Grr Tables and postbacks

    Hi,

    If you create controls dynamically you should do it on every post back.
    Remove the (!IsPostBack) condition.

    Natty Gur, CTO
    Dao2Com Ltd.
    28th Baruch Hirsch st. Bnei-Brak
    Israel , 51114

    Phone Numbers:
    Office: +972-(0)3-5786668
    Fax: +972-(0)3-5703475
    Mobile: +972-(0)58-888377

    Know the overall picture


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

  2. Similar Questions and Discussions

    1. Postbacks and CommandEventArgs
      In the situation below I am calling "OnCommand(CommandEventArgs.Empty);" from IPostBackEventHandler.RaisePostBackEvent. but I get the compile...
    2. Problematic Postbacks
      this may be a stupid response, after updating the database, how about rebounding the label ? news.microsoft.com wrote:
    3. Datagrids with checkboxes and postbacks...
      Hi, I am trying to get a list of all of the rows in a datagrid where a checkbox is checked but am having a major headache with the postback. ...
    4. Page hangs when using multiple postbacks
      Turn off smart navigation temporarily to see if this is the culprit. -- I hope this helps, Steve C. Orr, MCSD http://Steve.Orr.net "Keith...
    5. Where to store Variables that have to last during Refreshes and Postbacks
      Hey this has been messing me for ages and i dont know if there is any answer I need to store things like What page in the Datagrid people are on...
  3. #2

    Default Re: Grr Tables and postbacks

    Is this the only way? since it's high undesirable...
    there are other controls in the table that i wish to pick up value from
    which will get overridden if we make the table again everytime there is a
    postback

    Thanks
    Jason
    "Natty Gur" <natty@dao2com.com> wrote in message
    news:u6rarQsSDHA.2144@TK2MSFTNGP11.phx.gbl...
    > Hi,
    >
    > If you create controls dynamically you should do it on every post back.
    > Remove the (!IsPostBack) condition.
    >
    > Natty Gur, CTO
    > Dao2Com Ltd.
    > 28th Baruch Hirsch st. Bnei-Brak
    > Israel , 51114
    >
    > Phone Numbers:
    > Office: +972-(0)3-5786668
    > Fax: +972-(0)3-5703475
    > Mobile: +972-(0)58-888377
    >
    > Know the overall picture
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    Jason Guest

  4. #3

    Default Re: Grr Tables and postbacks

    The table wont be send with the request (its no input tag) so that table
    HTML cant be change. If the table contains INPUT tags and the user will
    change, the new data will be post to the server with the request and
    will be updated in the server side by the ASP.NET.

    Natty Gur, CTO
    Dao2Com Ltd.
    28th Baruch Hirsch st. Bnei-Brak
    Israel , 51114

    Phone Numbers:
    Office: +972-(0)3-5786668
    Fax: +972-(0)3-5703475
    Mobile: +972-(0)58-888377

    Know the overall picture


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

  5. #4

    Default Re: Grr Tables and postbacks

    Thanks

    "Natty Gur" <natty@dao2com.com> wrote in message
    news:eR6uMysSDHA.1552@TK2MSFTNGP12.phx.gbl...
    > The table wont be send with the request (its no input tag) so that table
    > HTML cant be change. If the table contains INPUT tags and the user will
    > change, the new data will be post to the server with the request and
    > will be updated in the server side by the ASP.NET.
    >
    > Natty Gur, CTO
    > Dao2Com Ltd.
    > 28th Baruch Hirsch st. Bnei-Brak
    > Israel , 51114
    >
    > Phone Numbers:
    > Office: +972-(0)3-5786668
    > Fax: +972-(0)3-5703475
    > Mobile: +972-(0)58-888377
    >
    > Know the overall picture
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    Jason Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139