IPostBackDataHandler with multiple rendered inputs.

Discussion in 'ASP .Net' started by Martin Gustavsson, Mar 7, 2006.

  1. I'm a bit puzzled by the IPostBackDataHandler. What if i have a custom
    control that I render myself, and I render 30 input-fields. They can't
    all have the name of the control's UniqueID? Which is required if
    LoadPostData is to be invoked (Note: Theese are not child controls, they
    are simply rendered input-fields). My input fields will probably be
    named something like UniqueID + ":some_internal_id".

    One solution I can come up with is to manually examine the Request.Forms
    collection at some point in the control's life-cycle. But I don't know
    at what point.

    Is there a standard way of doing this kind of thing?

    //Martin
     
    Martin Gustavsson, Mar 7, 2006
    #1
    1. Advertisements

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. One Handed Man \( OHM - Terry Burns \)

    Custom Control & System.Web.UI.IPostBackDataHandler.LoadPostData

    One Handed Man \( OHM - Terry Burns \), Jun 17, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,127
    One Handed Man \( OHM - Terry Burns \)
    Jun 17, 2004
  2. Francois
    Replies:
    6
    Views:
    3,085
    Joe Fallon
    Dec 5, 2004
  3. =?Utf-8?B?YnJpYW4ubWlsbHM=?=

    IPostBackDataHandler.LoadPostData

    =?Utf-8?B?YnJpYW4ubWlsbHM=?=, Apr 20, 2005, in forum: ASP .Net
    Replies:
    6
    Views:
    3,585
    William F. Robertson, Jr.
    Apr 25, 2005
  4. z f
    Replies:
    1
    Views:
    8,617
    =?Utf-8?B?RFdT?=
    Mar 1, 2006
  5. MariuszK

    Multiple inputs adder

    MariuszK, Jul 17, 2006, in forum: VHDL
    Replies:
    4
    Views:
    1,573
    MariuszK
    Jul 18, 2006
  6. Adi
    Replies:
    2
    Views:
    2,786
    Jens Thoms Toerring
    Nov 3, 2006
  7. Analog_Guy

    Multiple Reset Inputs

    Analog_Guy, Nov 20, 2010, in forum: VHDL
    Replies:
    3
    Views:
    1,157
  8. Sam
    Replies:
    2
    Views:
    194
Loading...