As i'm binding value in client site for combobox like this way in Jquery.
and it binds the value correctly but when i post it in the server like this.
It gives me empty
but when i bind it like this.
And post it will give me binded value so in the whole scenario if i bind my drop down in Jquery it binds value in the client page and after post method it gives me an empty list but when i bind the drop down in my server end and when i post it will get me the binded list.
So i require my Jquery binded value to be get in my server list. f
$.each(response, function (index, value) { let item = new Telerik.Web.UI.RadComboBoxItem(); item.set_text(value.EnggName); item.set_value(value.EngineerId); $find('<%= cmb_EnggList.ClientID%>').get_items().add(item);});and it binds the value correctly but when i post it in the server like this.
foreach (Telerik.Web.UI.RadComboBoxItem EngineerId in cmb_EnggList.Items)// it gives empty items { if (EngineerId.Checked) { Guid GuidEngineerId = new Guid(EngineerId.Value); _JobCalendarEngg = new JobCalendarEngg(); _JobCalendarEngg.JobCalendarEnggId = Guid.NewGuid(); _JobCalendarEngg.JobCalendarId = JobCalendarId; _JobCalendarEngg.EngineerId = GuidEngineerId; en.JobCalendarEnggs.Add(_JobCalendarEngg); }}cmb_EnggList.Itemscmb_EnggList.Items.Clear(); foreach (var record in records) { var EnggName = (from k in en.EngineersLibraries where k.EngineerId == record.EngineerId select k).FirstOrDefault(); Telerik.Web.UI.RadComboBoxItem item = new Telerik.Web.UI.RadComboBoxItem(EnggName.EngineerName, EnggName.EngineerId.ToString()); cmb_EnggList.Items.Add(item); }And post it will give me binded value so in the whole scenario if i bind my drop down in Jquery it binds value in the client page and after post method it gives me an empty list but when i bind the drop down in my server end and when i post it will get me the binded list.
So i require my Jquery binded value to be get in my server list. f
oreach (Telerik.Web.UI.RadComboBoxItem EngineerId in cmb_EnggList.Items)