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. 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. Showjumper

    Re: Help w/ IPostBackDataHandler

    Showjumper, Jun 24, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    1,644
    Showjumper
    Jun 24, 2003
  2. 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:
    1,963
    One Handed Man \( OHM - Terry Burns \)
    Jun 17, 2004
  3. Francois
    Replies:
    6
    Views:
    2,848
    Joe Fallon
    Dec 5, 2004
  4. =?Utf-8?B?YnJpYW4ubWlsbHM=?=

    IPostBackDataHandler.LoadPostData

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

Share This Page