reading values from select boxes inside repeater

S

simon

I have dataRepeater with normal select box:

<itemTemplate>
<select id='<%# getID()%> '>
<option value=0>0</option> (note:'this options are added on
client side')
<option value=1>1</option>
<option value=2>2</option>
.....
.....
</select>
</itemTemplate>

When user click the update button I would like to read all values from all
select boxes
and update the database if the value was changed.

How can I do that?

repeater.findControl doesn't work because I don't have server control.
(I don't have server control because I'm adding <option> to each select box
on client script)

request.form.item() also don't work.

Any idea or example?

regards,
Simon
 

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,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top