When I click on the already selected item in the drop-down of the GalleryTool, the drop-down is not closed. Closing the drop-down in this case is the default behavior in e.g. MS Word. How to get this behavior for the GalleryTool ?
Regards,Leif
Hello Leif,
I followed the steps you suggested and was unable to reproduce the behavior you're describing. I created a gallery tool and set the first item as selected. I then selected this from the drop down and it closed.
I have attached the sample project I used to test this. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.
If the project does not work correctly, this indicates either a problem possibly specific to your environment, or a difference in the DLL versions we are using. My test was performed using version 11.1.2011.1002 in NetAdvantage for .NET 2011 Volume 1.
If the project does show the product feature working correctly, this indicates a possible problem in the code of your application. It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing.
Or, if this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one.
Please let me know if I can provide any further assistance.
Sincerely,ValerieDeveloper Support Engineer Infragisticswww.infragistics.com/support
Hi,
inspecting your code and my own code (based on the xamFeatureBrowser that has the same issue) I see that your code sets the GalleryTool ItemBehavior to "Button" while my code sets it to "StateButton". Changing my code to use ItemBehavior="Button" fixes the issue. Thanks!