I am wondering if there is any support for server side controlling for IgniteUI. Specifically, I am interested in getting/setting values of an IgCombo from code behind on ASPX web form pages. I am using version 2013.1.
Hi, Bertm 13.
Thank you for using our product and let me see if I can help you.
The combo control has MVC wrapper and there you can set data source on the sever and retrieve combo value on the server. You can follow this sample for more information. It's important to use ComboFor() method that will render input, holding the igCombo value.
But I see that you are using Web Forms and there you can use only the client-side igCombo. You need to create your own mechanism - if you want server-side data source, you should render it on the client as JSON or other format and then bind it to the igCombo. For getting the value you also should create some input that will be updated simultaneously with the igCombo and then send its value to the server.
That's why for WebForms we have another bundle of controls - ASP.NET and there is a specific control for your needs - WebDropDown.
I hope this will help you and I will wait for your feedback.
Best regards,
Nikolay Alipiev
Thanks Nikolay,
The solution I am attempting to use is creating a server side user control with properties that watch a set of hidden inputs that are updated as the combo is used.
That is the solution and you should decide, which is better for your case - to create several inputs, or just one that holds some serialized data. We have 2 ASP.NET controls - WebVideoPlayer and WebUplaod, which are the jQuery igVideoPlayer and igUpload - wrapped in the ASP.NET user controls, that render them in a Web Forms context. You can see them maybe they will help you to build the combo one. But the reason for making them in ASP.NET is, because in ASP.NET we don't have their equivalents, while the igCombo has WebDropDown.