Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by mmengel on Jan 14, 2008 07:52
open dhtmlx forum
Follow up on retrieving combo box selected value from CodeBehind

I submitted a request to support [at] dhtmlx.com, according to the answer in this thread. Is there any way you could post the answer here, please? Along these lines, I'd like to find out how to retrieve the selected value of the dhtmlx combo box from a server-side page? In my case, the server-side page is an ASP.NET 2.0  page.

Thanks,
Mike
Answer posted by Support on Jan 14, 2008 08:00
The value of combo automatically included in surrounding form.
When you init combo you have something similar to next
    new dhtmlXCombo(div_id, name_of_input)
The second parameter specify the name of GET|POST parameter which will be sent as a part of surrounding form
    new dhtmlXCombo("my_div","my_field")
after submiting form to server, my_field parameter will present in request and will contain combo value