[CLOSED] How to handle this breakingchanges with minimal effort?

  1. #1

    [CLOSED] How to handle this breakingchanges with minimal effort?

    Hi,

    In really short: My scenario is I generated dynamically my form of details elements In switch statement. And in v1 I had code below:
    ((Ext.Net.Component)control).FieldLabel += "<span class=\"red\"> *</span>"; //control is any Ext.Net control example: TextField,ComboBox etc.
    after I get v2 there is no more FieldLabel property in component control.

    How should I handle it?

    Thanks,
    ViDom
    Last edited by Daniil; Apr 30, 2013 at 4:14 AM. Reason: [CLOSED]
  2. #2
    Hi @ViDom,

    Please try:
    ((Ext.Net.Field)control).FieldLabel
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi @ViDom,

    Please try:
    ((Ext.Net.Field)control).FieldLabel
    But what about FieldContainer? I just remember myself that I have some controls inherited from FieldContainer and want it to used it as well.
    Is there some diagram which display a Control hierarchy of Ext.Net ? I mean which control inherit from which one?
    Last edited by ViDom; Apr 23, 2013 at 10:14 AM.
  4. #4
    Quote Originally Posted by ViDom View Post
    But what about FieldContainer? I just remember myself that I have some controls inherited from FieldContainer and want it to used it as well.
    The FieldContainer class also supports FieldLabel. Though it comes to it from the FieldContainerBase class, not from the Field class.

    Quote Originally Posted by ViDom View Post
    Is there some diagram which display a Control hierarchy of Ext.Net ? I mean which control inherit from which one?
    I think there is not.

    VS can make class diagrams. Please see "To add a class diagram based on existing classes or types" and "To add a class diagram based on an entire project" here:
    http://msdn.microsoft.com/en-us/library/hyxd8c85.aspx
    Last edited by Daniil; Apr 23, 2013 at 2:06 PM.

Similar Threads

  1. [CLOSED] Getting a handle on the GridPanel from its Store
    By vadym.f in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 10, 2013, 4:04 PM
  2. Replies: 4
    Last Post: Apr 09, 2013, 2:10 AM
  3. [CLOSED] How to handle the result of DirectMethod?
    By vadym.f in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Sep 17, 2012, 4:15 PM
  4. How to handle events
    By costab in forum 1.x Help
    Replies: 2
    Last Post: Apr 26, 2011, 11:09 PM
  5. Handle exception and static method
    By Yannis in forum 1.x Help
    Replies: 4
    Last Post: Dec 18, 2009, 11:45 AM

Tags for this Thread

Posting Permissions