Hi,
In my project I am binding my WebDataGrid to an ObjectDataSource via the DatasourceID. Everything is working good (sorting/paging etc) except when I try to filter the grid. I have also tested it with an SQLDataSource and filtering works.
Am I not setting up my ObjectDataSource correctly or is this a bug?Code is below.
Thanks.
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="LifeLimitedParts.aspx.cs" Inherits="AssetStatus_LifeLimitedParts" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <ig:WebDataGrid ID="PartsGrid" runat="server" AutoGenerateColumns="False" DataSourceID="gridDS" Height="350px" ondatabound="PartsGrid_DataBound" Width="99.5%" ShowFooter="True"> <Behaviors> <ig:Filtering> </ig:Filtering> <ig:Sorting> </ig:Sorting> </Behaviors> <Columns> <ig:BoundDataField DataFieldName="Part Number" Key="Part Number"> <Header Text="Part Number" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="Description" Key="Description"> <Header Text="Description" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="Life Type" Key="Life Type"> <Header Text="Life Type" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="Life Limit" Key="Life Limit"> <Header Text="Life Limit" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="Count" Key="Count"> <Header Text="Count" /> </ig:BoundDataField> </Columns> </ig:WebDataGrid> <asp:ObjectDataSource ID="gridDS" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="LifeLimitedPartsTableAdapters.qryLifeLimitedPartsListTableAdapter" EnableCaching="True"> </asp:ObjectDataSource> </asp:Content>
Hello,
Please let me know the version build of NetAdvantage you are using. Because I have faced the similar issue with NetAdvantage 2009 Vol. 1 1015 and it is resolved with latest Service Release. Please download latestService Release of 9.1 if you are using and I hope this will fix the issue.
You can also refer the following page which contains the FixedBugs Information in latest Service Release.
http://community.infragistics.com/forums/t/26455.aspx
Download the latest Service Release and it will resolve the issue.
Thank you.
Bunty :)