Ext.Net Development Guidelines

  1. #1

    Ext.Net Development Guidelines

    Hi,

    Can somebody tell which are the development guidelines we should know, when we're developing with Ext.Net?

    I found that several methods are not working from the code-behind.

    Example: we can't add nodes to the TreePanel from code-behind beyond the Page_Load event. A client-side event needs to be fired to modify controls from code-behind.

    The same happens to me, with the store and other controls.

    It seems like I'm not understanding how to work with Ext.Net.

    Thanks,
    Ariel
  2. #2
    Please post a simplified code sample demonstrating how to reproduce your scenario.

    Here's a sample built in code-behind, see

    http://examples1.ext.net/#/TreePanel...in_CodeBehind/

    Hope this helps.
    Geoffrey McGill
    Founder & CEO
  3. #3
    Quote Originally Posted by asztern View Post
    beyond the Page_Load event
    This might depend on how far beyond the Page_Load event you are running code. Which event are using?
    Geoffrey McGill
    Founder & CEO
  4. #4
    Hello Geoffrey,

    This is not related to an specific code. I found this several times.

    In this case, I've created a User Control to bind data to a TreePanel.

    I've a DataSource property and a DataBind method (in my TreePanel user control).
    The DataBind method is adding the nodes to the TreePanel root.

    If both are executed when the Page.IsPostBack = false, everything works great.

    The problem happens when the binding is done in a different instance.

    Example:
    I've a grid and a user control for editing records.
    The user control for edition, has implemented my other user control (the TreePanel user control).
    When a user clicks on the grid, I'm showing a Window with my edition user control.
    The edition user control, is binding my TreePanel user control, but nothing happens (the nodes are being added).

    If I move the code to the Page_Load of the edition user control, the Tree is rendered ok.

    That's why, I'm asking some guidelines to work with Ext.Net.

    Thanks for your help,
    Ariel
  5. #5
    I would like to know some general guidelines as well. Sometimes the examples page just doesn't suffice to explain some things. XD

Similar Threads

  1. Mobile development
    By cuki in forum 1.x Help
    Replies: 0
    Last Post: May 05, 2012, 7:06 PM
  2. Forum Guidelines For Posting New Topics
    By geoffrey.mcgill in forum 1.x Premium Help
    Replies: 0
    Last Post: Sep 23, 2010, 8:37 PM
  3. Forum Guidelines For Posting New Topics
    By geoffrey.mcgill in forum Bugs
    Replies: 0
    Last Post: Sep 23, 2010, 8:37 PM
  4. Migration guidelines
    By drgw74 in forum Open Discussions
    Replies: 1
    Last Post: Jul 13, 2010, 5:35 PM
  5. Forum Guidelines For Posting New Topics
    By geoffrey.mcgill in forum Open Discussions
    Replies: 0
    Last Post: May 24, 2009, 5:31 PM

Posting Permissions