in
Forums
Blogs
Files
Devexpress.Com
ClientCenter
Support Center
DevExpress Channel

How to use XtraGauges in XAF

Last post 8/21/2008 4:48 PM by Dennis (Developer Express). 27 replies.
Page 1 of 2 (28 items) 1 2 Next >
Sort Posts:
Previous Next
  • 8/18/2008 7:38 AM

    How to use XtraGauges in XAF

    Hi guys,

    This
    example demonstrates a way in which you can use our GaugeControl in your property editors.
    I have created a separate module with four property editors for each type of gauge. You can simply add this module in the application’s designer to test this stuff.

    Possibly, in the future you can use XtraGauges in XAF out-of-the-box. I have registered a new suggestion for that purpose:
    ID S30412.


    Thanks,
    Dennis

    Developer Express Support
  • 8/18/2008 5:10 PM In reply to

    Re: How to use XtraGauges in XAF

    Dennis,
     
    first of all - thank you for this sample.
     
    I have 2 questions:
     
    1) When closing the detail view, I get an error - see screenshot.
        Could you tell me how to fix it?
     
    2) How can I edit the values to add some data to the demo?
         What I mean is: How can I use the standard property editors simultaneously?
     
    thanks, Robert
     
     

  • 8/19/2008 2:11 AM In reply to

    Re: How to use XtraGauges in XAF

    Robert, I haven't run the example, so I'm unsure if I also would
    experience the same error.

    But in regards to the other question, what I have done before (albeit
    with Dundas gauges) is have a second read-only value supporting the
    gauge. This second value is aliased to the real value.

    For example you might have an integer QuantitySold. Now create
    another value that is based on QuantitySold and set it's property
    editor to your gauge property editor. For example:

    [PersistentAlias("QuantitySold")]
    public int QuantitySoldDisplay
    { get { return (int)EvaluateAlias("QuantitySoldDisplay"); }

    Optionally, if you apply the [ImmediatePostData] attribute and call
    OnChanged in the setter of QuantitySold, your gauge will immediately
    update each time you change the real value.

    -- Alex Hoffman
    expressapp.blogspot.com


    On Mon, 18 Aug 2008 21:10:53 +0000 (UTC), "Robert Fuchs" <> wrote:

    >Dennis, first of all - thank you for this sample. I have 2 questions: 1) When closing the detail view, I get an error - see screenshot. Could you tell me how to fix it? 2) How can I edit the values to add some data to the demo? What I mean is: How can I use the standard property editors simultaneously? thanks, Robert
  • 8/19/2008 2:36 AM In reply to

    Re: How to use XtraGauges in XAF

    Robert:
     
    I get exactly the same error (well it's in Spanish actually!)
     
    Regards,
    Martin.
     
    "Robert Fuchs" escribió en el mensaje de noticias news:231507@community.devexpress.com...
    Dennis,
     
    first of all - thank you for this sample.
     
    I have 2 questions:
     
    1) When closing the detail view, I get an error - see screenshot.
        Could you tell me how to fix it?
     
    2) How can I edit the values to add some data to the demo?
         What I mean is: How can I use the standard property editors simultaneously?
     
    thanks, Robert
     
     


    http://community.devexpress.com//forums/p/68040/231507.aspx#231507

  • 8/19/2008 2:41 AM In reply to

    • Ruy
    • Not Ranked
    • Joined on 5/27/2007
    • Posts 10

    Re: How to use XtraGauges in XAF

    Hi!

    I get the same! :(

    Ruy

     

  • 8/19/2008 4:15 AM In reply to

    Re: How to use XtraGauges in XAF

    Hi guys,

    I apologize for the inconvenience, this is an issue in our XtraGauges library.
    I have registered it with ID B32376. I did not experience this problem, because I was using the latest 8.2 build. This error occurs when disposing the gauge control. I suggest you request a public fix, because this bug has already been fixed. The fix contains two assemblies (DevExpress.XtraGauges.v8.2.Win.dll and DevExpress.XtraGauges.v8.2.Core.dll). I suggest you copy them to the …\Developer Express .NET v8.2\Sources\DevExpress.DLL\ folder with replacing and then uninstall the old versions from GAC and install these new ones there instead.
    Please contact me in case of further difficulty. Your feedback is greatly appreciated.

    Thanks,
    Dennis

    Developer Express Support
  • 8/19/2008 11:23 AM In reply to

    Re: How to use XtraGauges in XAF

    I downloaded the Fix, installed in GAC, but still have no luck:
    ------------------------------
    Error 1 Assembly 'DevExpress.XtraGauges.v8.2.Core, Version=8.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1' uses 'DevExpress.Data.v8.2, Version=8.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1' which has a higher version than referenced assembly 'DevExpress.Data.v8.2, Version=8.2.1.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1' d:\Develop\Developer Express .NET v8.2\Sources\DevExpress.DLL\DevExpress.XtraGauges.v8.2.Core.dll WinGauge
    ------------------------------
     
    I guess I'm giving up now on these CodeCentral samples.
    It makes absolutely no sense for me wasting hours to fix samples which should just run out of the box anyway.
    Please test this stuff before putting it on CodeCentral.
     
    regards, Robert
     
  • 8/19/2008 12:39 PM In reply to

    Re: How to use XtraGauges in XAF

    Hi Robert,

    >>
    I guess I'm giving up now on these CodeCentral samples.
    It makes absolutely no sense for me wasting hours to fix samples which should just run out of the box anyway.
    Please test this stuff before putting it on CodeCentral.
    <<

    Thank you for your valuable feedback, and your time.
    Unfortunately, we cannot reproduce this problem with version 8.2.2 and with the fixed XtraGauges assemblies. This example runs out-of-the-box without any problems.
    From the error message you received, I have suspicions that you have tested this example under the 8.2.1 version of the suite. Am I correct? If not, please create a new issue in the Support Center and provide a failed example there. We will look into it.

    Thanks,
    Dennis

    Developer Express Support
  • 8/19/2008 5:57 PM In reply to

    Re: How to use XtraGauges in XAF

    From the error message you received, I have suspicions that you have tested this example under the 8.2.1 version of the suite. Am I correct?
    Yes , of course. Why should I use another version?
    8.2.2 is exactly the same as 8.2.1 except some WPF beta stuff which I do not need and am not interested in.
    I am not responsible for the amateurish DX decision to put beta stuff into a production installer!
    So I certainly won't waste my time for downloading and reinstalling the complete DXperience suite, just to get exactly the same stuff but with a different version number.
    So it would be a good idea to put this referenced 8.2.2 assembly (plus others, if applicable) into the public fix, I think.
     
    thanks, Robert
     
  • 8/20/2008 1:03 PM In reply to

    Re: How to use XtraGauges in XAF

     I'm a bit confused now.  I opted not to install 8.2.2 due to this post http://community.devexpress.com/forums/p/67446/231825.aspx stating there was nothing new.  If I am about to start using Guages and try this sample from Dennis, do I need 8.2.2 or not?  I thought there was nothing new there and didn't want to waste my time.  DX, please advise.  Thanks kindly.

    Bob Thomas
    Capriccio Software, Inc.
    http://www.capricciosoftware.com
  • 8/20/2008 1:05 PM In reply to

    Re: How to use XtraGauges in XAF

    Hi Dennis,
     
    just for the records: the confirmation that V 8.2.2 is absolutely identical to V 8.2.1 is here:
    Written by Mr. CTO himself ;-)
     
    regards, Robert
     
     
  • 8/20/2008 1:11 PM In reply to

    Re: How to use XtraGauges in XAF

    > I'm a bit confused now.
     
    me too.
     
    > I opted not to install 8.2.2 due to this post
    > stating there was nothing new.
     
    me too ;-)
     
    > If I am about to start using Guages and try this sample from Dennis, do I need 8.2.2 or not?
     
    Yes, it seems so. Unless Dennis includes the necessary assemblies in the fix.
     
    > I thought there was nothing new there and didn't want to waste my time.
     
    again me too ;-)
     
    regards, Robert
     
  • 8/20/2008 1:38 PM In reply to

    Re: How to use XtraGauges in XAF

    Hi guys, please be patient. I've been very busy but I will provide an answer soon. I believe it will clarify everything...

    Thanks,
    Dennis

    Developer Express Support
  • 8/20/2008 1:51 PM In reply to

    Re: How to use XtraGauges in XAF

    Hi Dennis,
     
    the higher your stress level, the bigger your font size ;-)
    Calm down, man!
     
    regards, Robert
     
     
  • 8/20/2008 2:02 PM In reply to

    Re: How to use XtraGauges in XAF

    Yes

    I am cool as an ice cube, just experementing with the RTF editor...

    Thanks,
    Dennis

    Developer Express Support
Page 1 of 2 (28 items) 1 2 Next >
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED