| function setv(sender,args) |
| { |
| var id='<%# Eval("ID") %>'; |
| sender.set_value(id); |
| } |
my combobox is loaded on demand.
on the OnClientLoad function of combobox, i would like to set the value of the combobox which i get from objectdatasource in client side using <%# Eval("ID" %>.
But Eval doesn't seem to work inside javascript. I dont' wont to use server side programming ondatabinding of objectdatasource. I would like to use client side.
thanks