IPostBackDataHandler with multiple rendered inputs.

  • Thread starter Martin Gustavsson
  • Start date
M

Martin Gustavsson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top