HtmlSelect value not available when using callback instead of post

G

Guest

I have a server control that contains an HtmlSelect. It currently uses
postbacks to function (and works fine), but I am upgrading it to be able to
use callbacks (using postback or callback, depending on a property that the
page developer can set).

I have two instances of the control on my page, one set to use postbacks and
the other to use callbacks. When I pick a value from the select in the
postback control, the value of the select in BOTH controls is available in
the postback handling code (which is fine) but when I pick a value from the
select in the callback control, only the value from the select on the
POSTBACK control is available in the callback handling code (in
this.Page.Request.Params).

Can anyone explain what's going on here and how I can get the select in the
callback control to have its value posted back for callbacks? I'm probably
being really stupid, but its got me kinda stumped.

Thanks
 

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

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top