[CLOSED] Best practice to open Ext.net window with forms and grids

  1. #1

    [CLOSED] Best practice to open Ext.net window with forms and grids

    Hello,

    I have a web application that contains windows. these windows contains ext.net controls (forms to be filled, tabpanel and panels, grids, etc...)
    I want to know what is the best practice to open the window from these 2 options noting that the creation of the windows is from javascript and each window I am giving it a component loader that will load an aspx page:

    1- Each window will load inside it an aspx page that will contains a new resourceManager and ext.net controls and code management (like calling webservices and databse connections...)

    2- Use of user control (ascx pages) and set reference in the main page.

    Thank you
    Last edited by fabricio.murta; Apr 13, 2018 at 5:36 PM.
  2. #2
    Hello @Geovision!

    There's not really written in stone rule of how you should handle your windows. The way that it best works for you, the better. Besides it depends of just too many variants. You may want to use one window for different content, individual window for every time it is opened (thus destroyed and re-created)... Just to point one aspect, there are many more, constraints that are set by your project.

    In general, if you're dealing with it from client side, you'd rather rely on ExtJS' functions and avoid "lower-level" javascript calls, like eval(), setTimeout -- just to name a couple -- as much as possible. The ExtJS online documentation is your friend at times like this.

    Ext.NET Examples Explorer also have samples on most use case scenarios, several also include client-side specific handling of a diversity of situations.

    Overall, use your best judgement based on the scenario constraints you have. If you get stuck at some point you can always count on us to help you, as it may be from an usage issue, going thru an optimization possibility and even the chance to have hit a bug or a design limitation.

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. [OPEN] [#432] RegisterGlobalScript and MVC/ASPX Web Forms not working
    By adrianot in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Feb 17, 2014, 1:43 PM
  2. [CLOSED] How to position a window into a desktop on window open
    By feanor91 in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 26, 2012, 1:59 PM
  3. BorderLayout open a window black window
    By Hualin Yuan in forum 1.x Help
    Replies: 0
    Last Post: May 07, 2010, 3:03 AM
  4. [CLOSED] Window + Tab + multiple Forms = Layout Help!
    By jchau in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jun 29, 2009, 5:32 PM

Posting Permissions