Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • hallo,

                                    i got Object reference not set to an instance of an object when i want to update the row.

                                    my code:
                                    <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Ordre.aspx.cs" Inherits="Ordre" %>

                                    <%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
                                        Namespace="DevExpress.Web.ASPxHiddenField" TagPrefix="dx" %>

                                    <%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
                                        Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>

                                    <%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
                                        Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>

                                    <%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
                                        Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>

                                    <%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
                                        Namespace="DevExpress.Web.ASPxCallbackPanel" TagPrefix="dx" %>

                                    <%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
                                        Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>

                                    <%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
                                        Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>

                                    <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
                                    </asp:Content>
                                    <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
                                    <asp:Label ID="lbl_err" runat="server" ForeColor="Red"></asp:Label>
                                      
                                     <script type="text/javascript">
                                        // For PopUp Use
                                         var keyValue;
                                         function OnMoreInfoClick(element, key) {
                                             callbackPanel.SetContentHtml("");
                                             popup.ShowAtElement(element);
                                             keyValue = key;
                                         }
                                         function popup_Shown(s, e) {
                                             callbackPanel.PerformCallback(keyValue);
                                         }
                                        // -----------------------

                                         // For Background Edit
                                         function OnCustomButtonClick(s, e) {
                                             e.processOnServer = false;

                                             hf.Add("state", "edit");
                                             grid.StartEditRow(e.visibleIndex);
                                         }

                                         function OnEndCallback(s, e) {
                                             if (hf.Contains("state"))
                                                 hf.Remove("state");
                                         }
                                         // -----------------------
                                    </script>
                                        <dx:ASPxPopupControl ID="popup" ClientInstanceName="popup" runat="server" AllowDragging="true"
                                            PopupHorizontalAlign="OutsideRight" HeaderText="Ordre Info">
                                            <ContentCollection>
                                                <dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server">
                                                    <dx:ASPxCallbackPanel ID="callbackPanel" ClientInstanceName="callbackPanel" runat="server"
                                                        Width="500px" Height="100px" OnCallback="callbackPanel_Callback" RenderMode="Table">
                                                        <PanelCollection>
                                                            <dx:PanelContent runat="server">
                                                                 <dx:ASPxRoundPanel ID="ASPxRoundPanel_Contact" runat="server" HeaderText="Contact" Width="100%">
                                                                    <PanelCollection>
                                                                        <dx:PanelContent ID="PanelContent4" runat="server" SupportsDisabledAttribute="True">
                                                                            <table Width="100%">
                                                                             <tr>
                                                                                    <td>
                                                                                       <dx:ASPxLabel ID="ASPxLabel2" runat="server" CssClass="LeLabel" Text="<%$ Resources:Client, RS_NOM %>" Width="35px"></dx:ASPxLabel>
                                                                                    </td>
                                                                                    <td>
                                                                                        <dx:ASPxLabel ID="ASPxLabel_RS_NOM" runat="server" Text="ASPxLabel">
                                                                                        </dx:ASPxLabel>
                                                                                       
                                                                                    </td>
                                                                                </tr>
                                                                                 <tr>
                                                                                    <td>
                                                                                       <dx:ASPxLabel ID="ASPxLabel3" runat="server" CssClass="LeLabel" Text="<%$ Resources:Client, ADRESSE %>" Width="35px"></dx:ASPxLabel>
                                                                                    </td>
                                                                                    <td>
                                                                                         <dx:ASPxLabel ID="ASPxLabel_ADRESSE" runat="server" Text="ASPxLabel">
                                                                                        </dx:ASPxLabel>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td>
                                                                                       <dx:ASPxLabel ID="ASPxLabel_TEL" runat="server" CssClass="LeLabel" Text="<%$ Resources:Client, TEL %>" Width="35px"></dx:ASPxLabel>
                                                                                    </td>
                                                                                    <td>
                                                                                         <asp:Literal ID="Tel" runat="server" ></asp:Literal>
                                                                                    </td>
                                                                                </tr>
                                                                                 <tr>
                                                                                    <td>
                                                                                       <dx:ASPxLabel ID="ASPxLabel1" runat="server" CssClass="LeLabel" Text="<%$ Resources:Client, FAX %>" Width="35px"></dx:ASPxLabel>
                                                                                    </td>
                                                                                    <td>
                                                                                         <asp:Literal ID="Fax" runat="server" ></asp:Literal>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </dx:PanelContent>
                                                                    </PanelCollection>
                                                                </dx:ASPxRoundPanel>
                                                               
                                                            </dx:PanelContent>
                                                        </PanelCollection>
                                                    </dx:ASPxCallbackPanel>
                                                </dx:PopupControlContentControl>
                                            </ContentCollection>
                                            <ClientSideEvents Shown="popup_Shown" />
                                        </dx:ASPxPopupControl>
                                        <dx:ASPxButton ID="ASPxButton_LettreVoit" runat="server" Text="Lettre de Voiture" onclick="ASPxButton_LettreVoit_Click">
                                        </dx:ASPxButton>
                                        <asp:ObjectDataSource ID="ObjectDataSource_ModeLiv" runat="server" SelectMethod="Get_All_TrfLiv"
                                                TypeName="FaExped_BackEnd_WebApp_Business.Le_T.LeTrf_Liv_BL" ></asp:ObjectDataSource>

                                             <asp:ObjectDataSource ID="ObjectDataSource_TheZone" runat="server" SelectMethod="Get_All_Obj"
                                                TypeName="FaExped_BackEnd_WebApp_Business.Le_T.LeTTrf_Zone_BL" ></asp:ObjectDataSource>

                                           <asp:ObjectDataSource ID="ObjectDataSource_Unite" runat="server" SelectMethod="GetUnites"
                                                TypeName="FaExped_BackEnd_WebApp_Business.Le_T.LeTUnite_BL" ></asp:ObjectDataSource>

                                        <asp:ObjectDataSource ID="ObjectDataSource_FA" runat="server" SelectMethod="Get_All_Obj"
                                                TypeName="FaExped_BackEnd_WebApp_Business.Le_T.LeTLogo_Entite_BL" ></asp:ObjectDataSource>

                                                 <asp:ObjectDataSource ID="ObjectDataSource_typDonne" runat="server" SelectMethod="Get_All_Obj"
                                                TypeName="FaExped_BackEnd_WebApp_Business.Le_T.LeTypDonne_BL" ></asp:ObjectDataSource>

                                        <dx:ASPxGridView ID="grid" runat="server" KeyFieldName="NO_ORDRE;CODE_CLIENT"
                                            ClientInstanceName="grid" OnRowUpdating="Updting_Obj"
                                            OnCustomButtonInitialize="cust_init" AutoGenerateColumns="False">
                                             <Columns>
                                                 <dx:GridViewCommandColumn VisibleIndex="0" ButtonType="Image" Width="50px">
                                                    <ClearFilterButton Visible="True"
                                                         Image-Url="./images/Icon/System-Recyclebin-Empty-icon.png"
                                                         Image-ToolTip="Effacer Filtre" >
                                    <Image ToolTip="Effacer Filtre" Url="./images/Icon/System-Recyclebin-Empty-icon.png"></Image>
                                                     </ClearFilterButton>
                                                    <CustomButtons>
                                                                <dx:GridViewCommandColumnCustomButton ID="btnEdit" Text="Edit" Image-Url="./images/Icon/page-edit-icon.png">
                                    <Image Url="./images/Icon/page-edit-icon.png"></Image>
                                                                </dx:GridViewCommandColumnCustomButton>
                                                            </CustomButtons>
                                                    <CancelButton Image-Url="./images/Icon/Banned-icon.png" >
                                    <Image Url="./images/Icon/Banned-icon.png"></Image>
                                                     </CancelButton>
                                                    <UpdateButton Image-Url="./images/Icon/Good-or-Tick-icon.png" >
                                    <Image Url="./images/Icon/Good-or-Tick-icon.png"></Image>
                                                     </UpdateButton>
                                                </dx:GridViewCommandColumn>
                                              <dx:GridViewDataTextColumn FieldName="NO_ORDRE" ReadOnly="True" VisibleIndex="0" Caption="<%$ Resources:Ordre, NO %>" Width="10px" CellStyle-BackColor="LightGray" EditCellStyle-BackColor="LightGray">
                                    <EditCellStyle BackColor="LightGray"></EditCellStyle>

                                    <CellStyle BackColor="LightGray"></CellStyle>
                                                 </dx:GridViewDataTextColumn>
                                              <dx:GridViewDataTextColumn FieldName="CODE_CLIENT" ReadOnly="True" VisibleIndex="1" Caption="<%$ Resources:Ordre, NO_CLIENT %>" Width="50px" CellStyle-BackColor="LightGray" EditCellStyle-BackColor="LightGray" >
                                    <EditCellStyle BackColor="LightGray"></EditCellStyle>

                                    <CellStyle BackColor="LightGray"></CellStyle>
                                                 </dx:GridViewDataTextColumn>
                                              
                                                <dx:GridViewDataComboBoxColumn FieldName="TRANSPORTEUR" ReadOnly="True" VisibleIndex="3" Caption="<%$ Resources:Ordre, TRANSPORTEUR %>" Width="60px" CellStyle-BackColor="LightGray" EditCellStyle-BackColor="LightGray">
                                                <PropertiesComboBox ValueType="System.Int32" DataSourceID="ObjectDataSource_FA" ValueField="NOID" TextField="LIBELLE"> </PropertiesComboBox>

                                    <EditCellStyle BackColor="LightGray"></EditCellStyle>

                                    <CellStyle BackColor="LightGray"></CellStyle>
                                              </dx:GridViewDataComboBoxColumn>

                                               <dx:GridViewDataComboBoxColumn FieldName="CHAUFFEUR" ReadOnly="True" VisibleIndex="3" Caption="<%$ Resources:Ordre, CHAUFFEUR %>" Width="60px" CellStyle-BackColor="LightGray" EditCellStyle-BackColor="LightGray">
                                                <PropertiesComboBox ValueType="System.Int32" DataSourceID="ObjectDataSource_FA" ValueField="NOID" TextField="LIBELLE"> </PropertiesComboBox>

                                    <EditCellStyle BackColor="LightGray"></EditCellStyle>

                                    <CellStyle BackColor="LightGray"></CellStyle>
                                              </dx:GridViewDataComboBoxColumn>

                                               <dx:GridViewDataComboBoxColumn FieldName="FACTURATION" ReadOnly="True" VisibleIndex="3" Caption="<%$ Resources:Ordre, FACTURATION %>" Width="60px" CellStyle-BackColor="LightGray" EditCellStyle-BackColor="LightGray">
                                                <PropertiesComboBox ValueType="System.Int32" DataSourceID="ObjectDataSource_FA" ValueField="NOID" TextField="LIBELLE"> </PropertiesComboBox>

                                    <EditCellStyle BackColor="LightGray"></EditCellStyle>

                                    <CellStyle BackColor="LightGray"></CellStyle>
                                              </dx:GridViewDataComboBoxColumn>
                                              
                                              
                                              <dx:GridViewDataTextColumn FieldName="CP" ReadOnly="True" VisibleIndex="3" Caption="<%$ Resources:Ordre, CP %>" Width="50px" CellStyle-BackColor="LightGray" EditCellStyle-BackColor="LightGray">
                                    <EditCellStyle BackColor="LightGray"></EditCellStyle>

                                    <CellStyle BackColor="LightGray"></CellStyle>
                                                 </dx:GridViewDataTextColumn>
                                             
                                               <dx:GridViewDataComboBoxColumn FieldName="ENLEV_UNITE" ReadOnly="True" VisibleIndex="3" Caption="<%$ Resources:Ordre, ENLEV_UNITE %>" Width="60px" CellStyle-BackColor="LightGray" EditCellStyle-BackColor="LightGray">
                                                <PropertiesComboBox ValueType="System.Int32" DataSourceID="ObjectDataSource_Unite" ValueField="NO" TextField="LIBELLE"> </PropertiesComboBox>

                                    <EditCellStyle BackColor="LightGray"></EditCellStyle>

                                    <CellStyle BackColor="LightGray"></CellStyle>
                                              </dx:GridViewDataComboBoxColumn>

                                              <dx:GridViewDataComboBoxColumn FieldName="THEZONE" ReadOnly="True" VisibleIndex="3" Caption="<%$ Resources:Ordre, ZONE %>" Width="60px" CellStyle-BackColor="LightGray" EditCellStyle-BackColor="LightGray">
                                                <PropertiesComboBox ValueType="System.Int32" DataSourceID="ObjectDataSource_TheZone" ValueField="NO_ID" TextField="LIBELLE"> </PropertiesComboBox>

                                    <EditCellStyle BackColor="LightGray"></EditCellStyle>

                                    <CellStyle BackColor="LightGray"></CellStyle>
                                              </dx:GridViewDataComboBoxColumn>

                                              <dx:GridViewDataCheckColumn FieldName="IS_PRINT" ReadOnly="True" VisibleIndex="3" Caption="<%$ Resources:Ordre, IS_PRINT %>" Width="60px"></dx:GridViewDataCheckColumn>
                                              <dx:GridViewDataDateColumn FieldName="DATE_IMPORT" ReadOnly="True" VisibleIndex="3" Caption="<%$ Resources:Ordre, DATE_IMPORT %>" Width="60px">
                                                  <PropertiesDateEdit DisplayFormatString="g">
                                                  </PropertiesDateEdit>
                                                 </dx:GridViewDataDateColumn>
                                             <%-- <dx:GridViewDataComboBoxColumn FieldName="MOD_LIV" ReadOnly="True" VisibleIndex="3" Caption="<%$ Resources:Ordre, MOD_LIV %>" Width="60px" CellStyle-BackColor="LightGray" EditCellStyle-BackColor="LightGray">
                                                <PropertiesComboBox ValueType="System.Int32" DataSourceID="ObjectDataSource_ModeLiv" ValueField="NOID" TextField="LIBELLE"> </PropertiesComboBox>
                                              </dx:GridViewDataComboBoxColumn>--%>
                                              <dx:GridViewDataTextColumn FieldName="INSEE" ReadOnly="True" VisibleIndex="3" Caption="<%$ Resources:Ordre, INSEE %>" Width="60px" CellStyle-BackColor="LightGray" EditCellStyle-BackColor="LightGray">
                                    <EditCellStyle BackColor="LightGray"></EditCellStyle>

                                    <CellStyle BackColor="LightGray"></CellStyle>
                                                 </dx:GridViewDataTextColumn>
                                              <dx:GridViewDataTextColumn FieldName="POID" ReadOnly="True" VisibleIndex="3" Caption="<%$ Resources:Ordre, POID %>" Width="30px" CellStyle-BackColor="LightGray" EditCellStyle-BackColor="LightGray">
                                    <EditCellStyle BackColor="LightGray"></EditCellStyle>

                                    <CellStyle BackColor="LightGray"></CellStyle>
                                                 </dx:GridViewDataTextColumn>
                                              <dx:GridViewDataTextColumn FieldName="POID_COR" VisibleIndex="3" Caption="<%$ Resources:Ordre, POID_COR %>" Width="30px" > </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataComboBoxColumn FieldName="TYP_DONNE" ReadOnly="True" VisibleIndex="3" Caption="<%$ Resources:Ordre, TYP_DONNE %>" Width="60px" CellStyle-BackColor="LightGray" EditCellStyle-BackColor="LightGray">
                                                <PropertiesComboBox ValueType="System.Int32" DataSourceID="ObjectDataSource_typDonne" ValueField="NOID" TextField="LIBELLE"> </PropertiesComboBox>

                                    <EditCellStyle BackColor="LightGray"></EditCellStyle>

                                    <CellStyle BackColor="LightGray"></CellStyle>
                                              </dx:GridViewDataComboBoxColumn>
                                            <%-- <dx:GridViewDataTextColumn FieldName="PRIX_HT" ReadOnly="True" VisibleIndex="3" Caption="<%$ Resources:Ordre, PRIX_HT %>" Width="30px" CellStyle-BackColor="LightGray" EditCellStyle-BackColor="LightGray"> </dx:GridViewDataTextColumn>--%>
                                              <dx:GridViewDataColumn Caption="détails" VisibleIndex="4" Width="100" EditCellStyle-BackColor="LightGray">
                                    <EditCellStyle BackColor="LightGray"></EditCellStyle>
                                                <DataItemTemplate>
                                                    <a href="javascript:void(0);" onclick="OnMoreInfoClick(this, '<%# Container.KeyValue %>')">plus d'info...</a>
                                                </DataItemTemplate>
                                              </dx:GridViewDataColumn>
                                             </Columns>
                                              <Settings ShowFilterRow="True" ShowGroupPanel="True" ShowFilterRowMenu="true" ShowHeaderFilterButton="true" ShowFilterBar="Visible"/>
                                              <SettingsEditing Mode="Inline" />
                                              <ClientSideEvents CustomButtonClick="OnCustomButtonClick" EndCallback="OnEndCallback" />
                                        </dx:ASPxGridView>

                                        <dx:ASPxHiddenField ID="hf" ClientInstanceName="hf" runat="server">
                                                </dx:ASPxHiddenField>
                                    </asp:Content>

                                    and cs:
                                    using System;
                                    using System.Collections.Generic;
                                    using System.Linq;
                                    using System.Web;
                                    using System.Web.UI;
                                    using System.Web.UI.WebControls;
                                    using FaExped_BackEnd_WebApp_Business;
                                    using System.Data;
                                    using DevExpress.Web.ASPxGridView;
                                    using DevExpress.Web.ASPxEditors;
                                    using ServiceReference1;
                                    using FaExped_BackEnd_WebApp_Domaine;

                                    public partial class Ordre : System.Web.UI.Page
                                    {
                                        T_PERSONEL oDroit;

                                        protected void Page_Init(object sender, EventArgs e)
                                        {
                                            if (!hf.Contains("state") ||
                                               hf["state"].ToString() != "edit")
                                                return;

                                            ReadOnlyTemplate template = new ReadOnlyTemplate();

                                            (grid.Columns["NO_ORDRE"] as GridViewDataColumn).EditItemTemplate = template;
                                            (grid.Columns["CODE_CLIENT"] as GridViewDataColumn).EditItemTemplate = template;
                                            (grid.Columns["RS_NOM"] as GridViewDataColumn).EditItemTemplate = template;
                                            (grid.Columns["ADRESSE"] as GridViewDataColumn).EditItemTemplate = template;
                                            (grid.Columns["CP"] as GridViewDataColumn).EditItemTemplate = template;
                                            (grid.Columns["VILLE"] as GridViewDataColumn).EditItemTemplate = template;
                                            (grid.Columns["INSEE"] as GridViewDataColumn).EditItemTemplate = template;
                                            (grid.Columns["POID"] as GridViewDataColumn).EditItemTemplate = template;
                                            //(grid.Columns["PRIX_HT"] as GridViewDataColumn).EditItemTemplate = template;
                                            //(grid.Columns["MOD_LIV"] as GridViewDataColumn).EditItemTemplate = template;
                                            (grid.Columns["détails"] as GridViewDataColumn).EditItemTemplate = template;
                                        }

                                        protected void Page_Load(object sender, EventArgs e)
                                        {
                                            try
                                            {
                                                GetData();
                                            }
                                            catch (Exception ex)
                                            {
                                                lbl_err.Text = ex.Message;
                                            }

                                        }

                                        protected void Updting_Obj(object sender, DevExpress.Web.Data.ASPxDataUpdatingEventArgs e)
                                        {
                                            Service1Client client = new Service1Client();
                                            client.UpdatePoidsCorr(e.Keys["CODE_CLIENT"].ToString(), e.Keys["NO_ORDRE"].ToString(), e.NewValues["POID_COR"].ToString());

                                             LeOrdre_BL oOrdre_BL = new LeOrdre_BL();
                                             oOrdre_BL.NoOrdre = e.Keys["NO_ORDRE"].ToString();
                                             oOrdre_BL.NoClient = e.Keys["CODE_CLIENT"].ToString();
                                            oOrdre_BL.PoidsCorr = e.NewValues["POID_COR"].ToString();
                                            oOrdre_BL.Updt_OrdrPoids_BL();

                                            grid.CancelEdit();
                                            e.Cancel = true;
                                            GetData();
                                        }

                                        public void GetData()
                                        {
                                            try
                                            {
                                                LeOrdre_BL oOrdre_BL = new LeOrdre_BL();
                                                grid.DataSource = oOrdre_BL.Get_Ordre_BL(true);
                                                grid.DataBind();
                                            }
                                            catch (Exception excThrown)
                                            {
                                                Response.Write(excThrown.Message);
                                            }
                                        }

                                        protected void callbackPanel_Callback(object source, DevExpress.Web.ASPxClasses.CallbackEventArgsBase e)
                                        {
                                           LeOrdre_BL oOrdre_BL = new LeOrdre_BL();
                                           string[] TempId = e.Parameter.ToString().Split('|');
                                           oOrdre_BL.NoOrdre = TempId[0];
                                           oOrdre_BL.NoClient = TempId[1];
                                           foreach (DataRow row in oOrdre_BL.Get_Ordre_BL(false).Tables[0].Rows)
                                           {
                                               Tel.Text = row["TEL"].ToString();
                                               Fax.Text = row["FAX"].ToString();
                                               ASPxLabel_RS_NOM.Text = row["RS_NOM"].ToString();
                                               ASPxLabel_ADRESSE.Text = row["ADRESSE"].ToString();
                                           }
                                           
                                        }

                                        protected void cust_init(object sender, ASPxGridViewCustomButtonEventArgs e)
                                        {
                                            oDroit = (T_PERSONEL)Session["Droit"];
                                            if (e.Text == "Edit" && !Convert.ToBoolean(oDroit.ORDRE_MODIF))
                                            {
                                                e.Visible = DevExpress.Utils.DefaultBoolean.False;
                                            }
                                        }

                                        protected void ASPxButton_LettreVoit_Click(object sender, EventArgs e)
                                        {
                                           
                                        }
                                    }

                                    class ReadOnlyTemplate : ITemplate
                                    {
                                        public void InstantiateIn(Control _container)
                                        {
                                            GridViewEditItemTemplateContainer container = _container as GridViewEditItemTemplateContainer;

                                            ASPxLabel lbl = new ASPxLabel();
                                            lbl.ID = "lbl";

                                            container.Controls.Add(lbl);
                                            if (container.Text == " ")
                                            {
                                                lbl.Text = "";
                                            }
                                            else
                                            {
                                                lbl.Text = container.Text;
                                            }
                                        }
                                    }

                                    Thanx in advance

                                0

                                Hello Renaux,

                                Thank you for contacting us. This issue is caused by the fact that some object reference equals "null". I suggest that you determine the problematic reference in the following manner:
                                - Disable ASPxGridView's callbacks by setting the ASPxGridView.EnableCallBacks property to "false";
                                - Perform the required steps to reproduce the issue.

                                You will receive the Server Error screen with information about the exception that has been thrown (and the problematic reference/code line).
                                If this does not help, please provide us with a sample working project (containing only the problematic ASPxGridView bound to any portable datasource) that illustrates the issue, so that we can examine it on our side under the same conditions.

                                Regards,
                                Mike

                                P.S. It seems you are using an older build of our components (according to the report's Build field). Please visit our Version Info Page to learn about the most recent versions of our products and obtain instructions on how to update them. In addition, check the What’s New list to learn more about newly introduced features and issues we have already resolved in the most recent version.

                                0

                                Thanx....now i know how to Debug it.

                                To start a chat you should create a support ticket


                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2014 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners