Hi everybody,
I'm trying DesktopAlert for the first time.
I'm close to reach my goal, but I'm experiencing a bad behavior, please could you help me finding the right way or even saying me definitively it will not work?I instantiated a DesktopAlert, then added a UltraDesktopAlertButton to DesktopAlertButtonsCollection:
Infragistics.Win.Misc.UltraDesktopAlert tip = new Infragistics.Win.Misc.UltraDesktopAlert();DesktopAlertButtonsCollection alertButtons = tip.AlertButtons;UltraDesktopAlertButton button = alertButtons.Add("My_Button");button.Appearance.Image = new Bitmap(16,16);button.ToolTipText = "never disabled button";
So far so good
Then I set following property:
button.Enabled = false;
I was expecting to see that button grayed-out with no interoperability, but I was so surprised when run the application and seen the button perfectively active.
What's wrong?
Thanks in advance
Gianni
Hello,
I have created a small sample where the disabled alert button has grey appearance. Please run the sample and hover the mouse over the button, in order to display the alert. You will see 2 buttons, one in grey (disabled) and the other normal one. I hope that this will resolve your issue.
Thank you for using Infragistics Components.
Hello Hristo,
yes this way could be used to obtain my goal. Your sample is not enough to generate the behavior I desire, because still the button border get highlighted when mouse is over, but probably this will be solved by extending the creation filter you provided.However this way is intricate and, if not mistaken, do not really disable the control, just modifies its appearance to make it looks as disabled. This means that "Enabled" property has to be manually checked in any case, e.g. on alert button click event to avoid execution if it is disabled...
I am currently working on a different project, but as soon as I can (one or two months) I will come back to that project and I will try this solution.
Thank you very much
Hello ,
I have created support ticket whit id CAS-70926-7L7608, in order to investigate this issue further. This forum thread will be update , when we find a solution for this issue.
Thank you.
Thank you Hristo.
I will stay tuned.
I want to announce that issue is fixed in Infragistics 11.1 service release 2042.
Hristo,it is impossible for me now to update and try, I trust Infragistics great support and as soon as possible I will update.Thank you
This fix is available and in Infragistics 10.3 service release 2128.