Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
625
Web Dropdown showing error when typing in Text Field
posted

Hi 

 

I am using webdropdown  .in that I have done paging which show  5000 entries in different pages . 

The coding part is as shown below

 

ig:WebDropDown ID="wdd1" runat="server" CssClass="filterlistarea" CurrentValue=""

                                                EnableClosingDropDownOnSelect="False" EnableMultipleSelection="True" StyleSetName="Default"

                                                Width="180px" PageSize="400" EnablePaging="True" DropDownContainerMaxHeight="200px"

                                                EnableDropDownAsChild="False" PagerSettings-PagerMode="Numeric" EnableViewState="true"

                                                EnableAutoFiltering="Server" AutoFilterQueryType="Contains" DataSourceID="NameDataSource"

                                                TextField="Name" ValueField="Name">

                                                <DropDownItemBinding TextField="Name" ValueField="Name" />

                                                <AjaxIndicator Enabled="False" />

                                            </ig:WebDropDown>

 

<asp:ObjectDataSource ID="NameDataSource" runat="server" OnSelecting="NameDataSource_Selecting"

                                                SelectMethod="GetName" TypeName="GetMethodSystem">

                                                <SelectParameters>

                                                    <asp:Parameter Name="Data1" />

                                                    <asp:Parameter Name="Data2" />

                                                    <asp:Parameter Name="Data3" />

                                                </SelectParameters>

                                            </asp:ObjectDataSource>

 

 

 

The problem I am facing is  that  whenever I type anything in the Text Field it show the following error in the popup

 

Async request failed [Exception] RowFilter is incorrect. at Infragistics.Web.ULFramework.Data FilterRecord ParseRowFilter (String rowFilter) at Infragistics.Web Ul.Framework.Data FilterRecord ctor (IDataSourceAdapter adapter. String rowFilter. Boolean caseSensefive) at Infragistics.Web Ul.FramelArork.Data DataSourceAdapter CreateFilterRecord 0 at Infragistics.Web Ul.FrameArork.Data DataSourceAdapter Select (DataSourceSelectArguments arguments) at Infragistics.Web Ul.Framework Data DataSourceObjectView.ExecuteSelect (DataSourceSelectArguments arguments) at System Web.ULDataSourceView.Select (DataSourceSelectArguments arguments. DataSourceViewSelectCallback callback) at Infragistics.Web.ULFramework.Data FlatDatalBot PerformDataSelection 0 at Infragistics.Web Ul.FramelArork.Data.FlatDatalBot.DatalBind 0 at Infragistics.Web.ULFrameArork.Data DataBindingManager.DataBind (Object dataSource) at Infragistics.Web.ULListControls.WebDropDown.DataBind 0 at Infragistics.Web Ul ListControls.DropDownlBot RaisePostDataChangedEvent () at Infragistics.Web Ul.Framework.RunlBot HandleRaisePostDataChangedEvent 0 at Infragistics.Web.ULFrameArork.Data FlatDataBoundControl.RaisePostDataChangedEvent () at System.Web.UI.Page RaiseChangedEvents() at System Web.UI Page.ProcessRequestMain(Boolean includeStaqesBeforeAsyncPoint. Boolean 

Please provide me a solution for this 

 

Regards

Shantesh 

 

Parents
  • 37874
    posted

    Hi Shantesh,

    Your markup seems to be correct. The issue may be caused by your ObjectDataSource. Please check your implementation of this data source and then refer to the attached sample I created using your configuration of WebDropDown and ObjectDataSource.

    Please let me know if you have any questions.

    WebDropDownFilter.zip
Reply Children