Current filter:
                                You should refresh the page.
                                  • Hi,

                                    I am getting the following error when you place AspxPopupControl inside AspxGridView Toolbar.

                                    If I put the popup control outside of the toolbar, it pop's up on the edge of the screen not below the Popup Element which is inside the grid's toolbar,

                                    Uncaught TypeError: Cannot read property 'constructor' of undefined

                                    Please advice.



                                    <Toolbars> <dx:CardViewToolbar Position="Top" ItemAlign="Justify" Name="ShoppingCartToolBar"> <Items> <dx:CardViewToolbarItem ItemStyle-Width="100%" Name="Sorting"> <Template> <table> <td style="padding-left: 15px"> <dx:ASPxHyperLink ID="HeaderDefaultsHyperLink" ClientInstanceName="HeaderDefaultsHyperLink" runat="server" Text="Header Defaults..." NavigateUrl="javascript:void(0);"> <ClientSideEvents Click="function (s,e) { popupRequisitionHeaderDefaults.Show(); }" /> </dx:ASPxHyperLink> <dx:ASPxPopupControl ID="popupRequisitionHeaderDefaults" runat="server" CloseAction="OuterMouseClick" LoadContentViaCallback="None" PopupVerticalAlign="Below" PopupHorizontalAlign="RightSides" AllowDragging="True" PopupElementID="HeaderDefaultsHyperLink" HeaderText="Amounts" PopupAction="None" CloseOnEscape="true" ClientInstanceName="popupRequisitionHeaderDefaults" Width="500px" OnInit="popupRequisitionHeaderDefaults_Init"> <ContentCollection> <dx:PopupControlContentControl ID="popupRequisitionHeaderDefaultsContentControl" runat="server"> <div class="tableSpacer"></div> <div class="tableFlex"> <table class="tableLayout"> <tr> <td class="tdCol25"> <dx:ASPxLabel runat="server" ID="DefaultDeliveryDateLabel" Text="Delivery Date" /> </td> <td colspan="2" class="tdColSpan"> <dx:ASPxDateEdit runat="server" ID="DefaultDeliveryDateEdit" Width="100%"> <ValidationSettings Display="Dynamic" ErrorDisplayMode="None" RequiredField-IsRequired="true"> </ValidationSettings> </dx:ASPxDateEdit> </td> </tr> </table> </div> </dx:PopupControlContentControl> </ContentCollection> </dx:ASPxPopupControl> </td> </tr> </table> </Template> </dx:CardViewToolbarItem> <dx:CardViewToolbarItem BeginGroup="true" Name="Search"> <Template> <dx:ASPxTextBox ID="tbToolbarSearch" Caption="Search" runat="server" NullText="Search..." Height="100%" /> </Template> </dx:CardViewToolbarItem> </Items> </dx:CardViewToolbar> </Toolbars>
                                • Marina (DevExpress Support) 01.15.2020


                                  You wrote about ASPxGridView, but in your code you use CardViewToolbar. So, I created a sample with your code and ASPxCardView and wasn't able to reproduce the issue. See the sample. Would you please modify my sample to recreate the issue? I look forward to hearing from you.

                                • Toshan Patel 01.15.2020

                                  Hi Marina,

                                  After inspecting your project, I realised what was I doing wrong. Its all working as expected now. Thanks for you help.



                                • Marina (DevExpress Support) 01.15.2020

                                  Thank you for letting me know that the issue is resolved!

                                0 Solutions

                                Creation Date Importance Sort by