[CLOSED] Problems once again with referencing Controls : GridPanel "undefined"?

Page 2 of 2 FirstFirst 12
  1. #11
    By default <Component> (in this case - GridPanel) is not rendered until DropDownField is expanded.

    Please set LazyInit="false" for DropDownField to force <Component> rendering.
    Last edited by Daniil; Apr 12, 2011 at 12:37 PM.
  2. #12
    Hey,
    and thanks.

    The very strange thing is that it worked for a while without using LazyInit="false".

    And to just make a small point =)

    I have in previous posts made a point that it is very hard, almost impossible a lot of times, to understand and know how layout works. This case is a good example of that. There is no way I would know that LazyInit="false" is required (especially since it worked without it for a while). That kind of info would be nice to have summarize somewhere. Like a tutorial for understanding the different controls and how to use them (as I asked in another post).

    Problem is I spent many hours yesterday trying to figure it out, but it seemed like magic to me. I restarted Visual Studio, restarted the computer because I could not see why on earth it was messing with me.

    Its working now though. Thx!
  3. #13
    The very strange thing is that it worked for a while without using LazyInit="false".
    Well, it can work in one case only - DropDownField was expander before accessing GridPanel.

    About the documentation and tutorials. No one of these things can describe all problems that developer can have with Ext.Net and ExtJS.

    As Vladimir mentioned please investigate ExtJS docs.

    For example,
    http://dev.sencha.com/deploy/dev/doc...ember=lazyInit (DropDownField is a subclass of ComboBox)

    So, if a widget is not rendered, it can not be access, isn't that so?

    Also, ExtJS tutorials can be useful for you.
    http://www.sencha.com/learn/Tutorials

    Personally, the forums can be more useful than any docs and tutorials.
  4. #14
    I did go to sencha and searched for DropDown - no hits.

    And I agree, the forum is very good and you are doing a really really great job with the support! My point is just that I need to ask for all kinds of things that is impossible to know or understand without asking here first. Thus, the "learning curve" is high as it takes time to get the answers you need even though you are fast at answering. But the development process is a bit stalled when I run into problems like this thread for example.

    Anyways, great job on the forum and support =)
  5. #15
    Quote Originally Posted by wagger View Post
    I did go to sencha and searched for DropDown - no hits.
    Yes, this class is defined in Ext.Net.

    Quote Originally Posted by wagger View Post
    And I agree, the forum is very good and you are doing a really really great job with the support! My point is just that I need to ask for all kinds of things that is impossible to know or understand without asking here first. Thus, the "learning curve" is high as it takes time to get the answers you need even though you are fast at answering. But the development process is a bit stalled when I run into problems like this thread for example.
    Sure, I agreed with you, good Ext.Net docs would be a great thing. Unfortunately, it's still under construction.

    But I'm ready to bet that you got the solution much faster asking it on the forums, than you'd try to find it in docs.

    I'm pretty sure there would not be a phrase like "You can't access a widget which is defined in <Component> until it's not rendered. To force rendering please set LazyInit='true' " in docs.

    I mean that your question is rather specific.

    But, repeat myself, I agree that we need docs.

    Quote Originally Posted by wagger View Post
    Anyways, great job on the forum and support =)
    Thanks!
Page 2 of 2 FirstFirst 12

Similar Threads

  1. [CLOSED] Problems when usin "Content" instead of "Items"
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 24, 2012, 1:43 PM
  2. Replies: 4
    Last Post: Oct 11, 2011, 2:42 AM
  3. [CLOSED] GridPanel / Renderer : Property "undefined"?
    By wagger in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: May 03, 2011, 8:50 PM
  4. Replies: 9
    Last Post: Apr 25, 2011, 8:23 PM
  5. Replies: 12
    Last Post: Apr 13, 2011, 3:28 PM

Tags for this Thread

Posting Permissions