I'm using a "Dropdowneditorbutton" to drop down a panel that contains some controls for the user to pick records. The dropdown button is in a datagrid cell, and everything works ok, but the customer is asking that the panel that is "dropped down" be bigger and I can't figure out how to make it happen, as the edge of the dropdown is aligned against the datagrid cell doing the dropdown. Here is the line of code used:
CType(CType(MyDataGrid.ActiveCell.EditorResolved, EditorWithText).ButtonsRight(0), UltraWinEditors.DropDownEditorButton).DropDown()
I have buttons in the panel to close the dropdown, so I really don't need to see the datagrid cell when the dropdown is visible. So, is there any way to force the dropdown to a different location and a different size such that it may cover the cell that it is dropped from?
Hello Ron,
I understand you are trying to increase the size of the DropDownEditorButton's dropdown and move it over the cell's diplay area.
While looking into this, I have been able to increase the size of the dropdown's Panel by setting the size of the Panel to be larger.
I tested this in Infragistics version 17.2.20172.2006. What version and build of Infragistics are you using?
I have attached a sample below that demonstrates how I achieved this.
4657.VBUltraDropDownButton_SetWidth.zip
As for moving the position of the dropdown, the dropdown controls were designed specifically to not render over their parents.
After investigating this and doing some research, setting the position of the dropdown has been determined to be a product idea. You can suggest new product ideas for future versions by emailing ideas@infragistics.com.
Submitting your idea will send it directly to our product management team so that it can be imported into our new ideas community once live: http://ideas.infragistics.com.
Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. You can also link back to this thread for additional details.
Thank you in advance to submitting your product idea.
Sincerely,Michael H.Software DeveloperInfragistics, Inc.www.infragistics.com/support
HI Michael,
thank you for your reply. I already provide the ability to make the dropdown wider, the issue was the ability to render over the parent so that I could display additional records. I understand that this is currently not possible so I will attempt to develop a workaround.
Hi Ron,
One of our devs came up with a quick workaround using the UltraTextEditor's BeforeEditorButtonDropDown event.
Please see the attached sample for a demonstration of this.
3007.WindowsApplication1.zip
Hi Michael,
Thanks, I look forward to seeing what they did as a workaround. However, the zip file seemed to only contain a sln file and nothing else. It would not open in VS2013. Did they leave out the files?
I just looked at the zip file attached here and it includes the entire sample. Are you sure you are not trying to open the solution file without first unzipping it?