Active Query Builder support area

Remove the Subquery Structure and Properties tabs from DesignPanel

Avatar
  • updated
  • Completed

Hi All

 

I have used querybuilder control on my windows form. I want to remove some parts of it. Such as Subquery Structure tab, properties tab and main menu option on the top.


QueryBuilder1.DesignPaneControl.RemoveControl() function is there but I can not find the usage to accomplish my goal.

 

Please let me know if anyone has already figured this.

Avatar
Andrey Zavyalov, PM

You can run .csproj, not .sln, files to open demo projects in Visual Studio 2010. The only problem you may experience with some demos is that some .NET DB connectors require .NET Framework 4.5 and higher. You can simply remove the unsupported assemblies from demo projects, they will run with the rest of the DB connectors fine.

PS: Please do not reply to "noreply" email address. If you want to send a private message, please submit a ticket. To leave a public comment to the forum post, please use the web interface.

Avatar
Andrey Zavyalov, PM

Hello,

You can find the needed options in the QueryBuider.PaneConfigurationOptions property group: QueryNavigationBarVisible, SubQueryNavBarEnabled, PropertiesBarEnabled. Set them to false to hide these controls.

Also, you can take advantage of the separate UI controls mode and tune the controls composition the way you like.

 

BTW, have you managed to open demo projects in VS 2010 or still need help?