Current filter:
                                You should refresh the page.
                                0
                                  • I am having trouble getting the GridView to work when it is added to the page dynamically during an AjaxPostBack. Is there a way that I can register the aspxGridView Javascripts manually or get the Javascripts to correctly include through the ScriptManager?

                                    The main issue is that the funcion "new ASPxClientGridView()" is not declared unless there is a grid visible on the page on the initial load. I need a way to manually include these scripts through a ScriptManager.

                                0

                                Hello Akesh,

                                You can try calling our static ASPxWebControl.RegisterBaseScript method on the page's load to register base scripts, which are required to dynamically embed our control into a web page in this case.

                                Thanks,
                                Andrew

                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.