Master - Detail Gridview column hiding Devexpress -


i have multiple parent-child gridview. problem parent gridview column name cost ($) , ($) symbol hiding when expand child gridview , when minimize child gridview (devexpress). parent-child gridview present in aspxcallbackpanel , in popupcontrol.

<dx:aspxcallbackpanel id="cbpcartdetails" runat="server"          oncallback="cbpcartdetails_callback" clientinstancename="cbpcartdetails">     <clientsideevents endcallback="cbpcartdetails_endcallback" />     <panelcollection>     <dx:panelcontent id="pnlcartdetails">         <dx:aspxpopupcontrol clientinstancename="popcartdetails" width="600px"              height="250px" closeaction="closebutton" maxwidth="800px" maxheight="800px"              minheight="150px" minwidth="150px" id="popcartdetails"             headerstyle-forecolor="white" headerstyle-font-bold="true"             runat="server" enableviewstate="false" popuphorizontalalign="windowcenter"              popupverticalalign="windowcenter" enablehierarchyrecreation="false"              modal="true">             <contentcollection>                 <dx:popupcontrolcontentcontrol id="popupcontrolcontentcontrol2"                                                 runat="server">                      <dx:aspxgridview id="grdbuildingcartest" width="100%"                                       theme="softorange" keyfieldname="carttypeid"                                      clientinstancename="grdbuildingcartest">                         <columns>                             <dx:gridviewdatatextcolumn fieldname="carttype" />                             <dx:gridviewdatatextcolumn fieldname="numberofcart" />                             <dx:gridviewdatatextcolumn fieldname="cost" />                         </columns>                          <templates>                             <detailrow>                                 <dx:aspxgridview id="grdfloorscartest"                                          width="100%"                                          theme="softorange"                                          keyfieldname="carttypeid"                                          oninit="grdfloorscartest_init"                                          onbeforeperformdataselect=                                            "grdfloorscartest_beforeperformdataselect"                                          clientinstancename="grdfloorscartest">                                     <columns>                                         <dx:gridviewdatatextcolumn                                              fieldname="cartsize" />                                         <dx:gridviewdatatextcolumn                                              fieldname="numberofcart" />                                         <dx:gridviewdatatextcolumn                                              fieldname="cost" />                                     </columns>                                     </dx:aspxgridview>                             </detailrow>                         </templates>                          <settingsdetail showdetailrow="true" />                      </dx:aspxgridview>                                    </dx:popupcontrolcontentcontrol>             </contentcollection>         </dx:aspxpopupcontrol>     </dx:panelcontent> </panelcollection> 

screen shot 1 https://i.stack.imgur.com/fb1qx.png

screen shot 2 (error) https://i.stack.imgur.com/aghdg.png

notice, in code you've posted, there no "cost ($)" string master grid column, fieldname="cost". "cost ($)" set column header @ codebehind during page_load or other event.

when expand child grid there happens callback , event code @ codebehind set cost ($) not executed. so, need make sure column header of master grid set "cost ($)" during child grid expand callback. 100% sure, post/attach codebehind part of page/control question's text.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -