column dont belong to table?

2 posts, 0 answers
  1. Bhuvan
    Bhuvan avatar
    50 posts
    Member since:
    Dec 2010

    Posted 15 Feb 2011 Link to this post


    I Read Many forums but i didnt got the solution for this?

    I will have my aspx code here
      <telerik:RadGrid runat="server" ID="radgvInbox"  AutoGenerateColumns="false"  
    GridLines="None"  Width="100%" BorderWidth="0px" AllowSorting="True" 
    ShowGroupPanel="True"  style="margin-right: 0px" AllowPaging="true" Height="300px" 
                         <ClientSettings Scrolling-AllowScroll="true" Scrolling-UseStaticHeaders="true" Selecting-AllowRowSelect="true"
    EnablePostBackOnRowClick="true" AllowDragToGroup="true" EnableRowHoverStyle="true" 
                          AllowColumnsReorder="True" ReorderColumnsOnClient="True">
                        <Selecting AllowRowSelect="True" />                                   
                        <Resizing AllowRowResize="True" AllowColumnResize="True" EnableRealTimeResize="True"
                        <MasterTableView TableLayout="Fixed" GroupLoadMode="Client" DataKeyNames="MessageID"
    AdditionalDataFieldNames="Date" UseAllDataFields="true" RetrieveAllDataFields="true">                                         
    <telerik:GridGroupByField FieldName="Received" HeaderValueSeparator=":" SortOrder="Descending" />
    <telerik:GridGroupByField FieldName="Received" HeaderText="Date" FormatString="{0:d}" />

                                <telerik:GridBoundColumn DataField="From" HeaderText="From">
                              <telerik:GridBoundColumn DataField="Subject" HeaderText="Subject">
                                <telerik:GridBoundColumn DataField="Received" HeaderText="Received">


    In cs page

     radgvInbox.DataSource = dr;

    thats what i am doing why i am getting that error..i think i missed a small thing ..will anyone help regarding this issue please
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 16 Feb 2011 Link to this post

    Hello Bhuvan,

    I guess you are getting this error because the column you are trying to add in GroupByEdpression does not exist in the datatable. Can you check that?

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top