Hi
I developed a custom server control (using CreateChildControls to add
several controls like comboboxes, textboxesm checkboxes and so on).
I've also developed some javascript functions to fill a particular
combobox once it got the focus. This works fine. I use an Ajaxpro
procedure, which connects the database and fills the combobox with the
datatable values.
The big advantage is the only choosen values are posten to the client
and only when the user click on th combobox the possioble values are
loaden. This is very fast in posting and collecting.
All is working fine. But now I'm modifying the selected value of the
combobox and during postback (hitting the save button). I cannot see
the modified value.
I know that in the form I could use Request.Form(id of the combobox to
get the value posted by the user. But I have to have this value in my
webserver control. How can this be done?
And offcourse I do not want to write form code, because I have to
write this could in each form where I will use my custom server
control. So I need a way to get the actual value in the custom sefrver
control.
thanx
ton