Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Gauges > How to build and create dynamic indicator in VB code instead of XML

Not answered How to build and create dynamic indicator in VB code instead of XML

Feed from this thread
  • Posted on Apr 13, 2011 (permalink)

    How to build and create dynamic indicator in VB code instead of XML

    So the indicator should be change according to my input value

     

    Also I wanna change the range and the scale in VB code to make it more flexible.
    in radical and simi gauge

     

    Please let me know how to do that ASAP

     

    Thanks in advance

    Reply

  • Andrey Andrey admin's avatar

    Posted on Apr 15, 2011 (permalink)

    Hello Anoop,

    I have attached a sample VB solution which creates the gauge from a code behind.
    I hope it helps.

    Regards,
    Andrey Murzov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Attached files

    Reply

  • Posted on Apr 17, 2011 (permalink)

    Thanks a lot for your replay,

    But I don’t know why I got this much error once I opened the example you sent
    Am using Visual Studio 2008 and this controls RadControls for WPF Q3 2010 SP1
    am usually getting errors with any examples

    Thanks in advance

    Error 1 'Sub Main' was not found in 'GaugeFromVB'. GaugeFromVB
    Error 2 Name 'InitializeComponent' is not declared. 
    Error 3 Name 'LayoutRoot' is not declared. 
    Error 4 'EditorBrowsableAttribute' is ambiguous in the namespace 'System.ComponentModel'.
    Error 5 'EditorBrowsableAttribute' is ambiguous in the namespace 'System.ComponentModel'.
    Error 6 'EditorBrowsableAttribute' is ambiguous in the namespace 'System.ComponentModel'.
    Error 7 'EditorBrowsableAttribute' is ambiguous in the namespace
    Error 8 'EditorBrowsableAttribute' is ambiguous in the namespace
    Error 9 'EditorBrowsableAttribute' is ambiguous in the namespace 'System.ComponentModel'.
    Error 10 'GeneratedCodeAttribute' is ambiguous in the namespace 'System.CodeDom.Compiler'.
    Error 11 'EditorBrowsableAttribute' is ambiguous in the namespace
    Error 12 'EditorBrowsableAttribute' is ambiguous in the namespace 'System.ComponentModel'. 
    Error 13 'GeneratedCodeAttribute' is ambiguous in the namespace 'System.CodeDom.Compiler'. 
    Error 14 'EditorBrowsableAttribute' is ambiguous in the namespace 'System.ComponentModel'.
    Error 15 'ApplicationSettingsBase' is ambiguous in the namespace 'System.Configuration'.
    Error 16 'ApplicationSettingsBase' is ambiguous in the namespace 'System.Configuration'. 
    Error 17 'HelpKeywordAttribute' is ambiguous in the namespace 'System.ComponentModel.Design'.
    Warning 18 The referenced component 'System.Xaml' could not be found.  

    Reply

  • Andrey Andrey admin's avatar

    Posted on Apr 20, 2011 (permalink)

    Hello Anoop,

    The solution I've sent to you has been created using VS2010 and it is targeted to the .NET Framework 4.0. It can't be opened and compiled using VS2008, because it supports .NET Framework 2.0-3.5 only. You can simple create new project in VS2008 and add .xaml and .vb files from my solution to the new one.

    By the way, it looks like you are using RadControls bundle compiled and packaged for .NET Framework 4.0. Since you are using VS2008 you should use bundle compiled and packaged for .NET Framwork 3.5. This bundle should be available from your account.

    Greetings,
    Andrey Murzov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Gauges > How to build and create dynamic indicator in VB code instead of XML
Related resources for "How to build and create dynamic indicator in VB code instead of XML"

WPF Gauge Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]