Hi,
<ig:WebDropDown ID="drpDealer" runat="server" CssClass="DropBox" AutoPostBack="true" onselectionchanged="drpDealer_SelectionChanged" ondatabound="drpDealer_DataBound"> </ig:WebDropDown>
When I select the value from the dropdown it is giving the error as "Operation is not valid due to the current state of the object."
Please resolve the solution as soon as possible.
Thanks
Praveena.
Hello Praveena Sivanandham,
Thank you for posting in the community!
It is likely that you are experiencing the same issue as described at:
http://ko.infragistics.com/community/forums/t/65478.aspx
Do not hesitate to contact me if you have any further questions regarding this matter.
Hi Vasya,
Yes Can we able to load more rows in the WebDropdown and can we get the selected item using autopostback=true setting.
Thanks in Advance.
The limit is cofigurable by changing MaxJsonDeserializerMembers and MaxHttpCollectionKeys properties in web.config file to a value larger than the default(1000) as such:
<appSettings> <add key="aspnet:MaxHttpCollectionKeys" value="5000" /> <add key="aspnet:MaxJsonDeserializerMembers" value="5000" /> </appSettings>
<appSettings>
<add key="aspnet:MaxHttpCollectionKeys" value="5000" />
<add key="aspnet:MaxJsonDeserializerMembers" value="5000" />
</appSettings>
Selected item is automatically stored in SeelectedItem property and can be accessed as such:
var item = WebDropDown1.SelectedItem;
Do not hesitate to contact me if you need any further support.
Feel free to contact me if you have any additional questions regarding this matter.