Browse for SQL servers in button click event - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

kissack
Posts: 57
Joined: Fri Feb 04, 2011 11:45 am

Browse for SQL servers in button click event

Hello,

I have implemented the browse as you normally recomend that the browse occurs when moving from one dialog to another. Now the client has decided he would like to come to a dialog, where he can type whatever value and optionally press browse to do the ODBC dicovery. No problem initiating the discovery from button, but the combo simply won't get populated.Tried refreshing the UI using both methods that you mention, but no luck. Either doing it wrong or what I am trying to achieve is not possible ? Could you comment on this please ? thank you.

Kissack
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Browse for SQL servers in button click event

Hi Kissack,

That is normal behavior, as a solution for this you can try the twin dialogs method.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kissack
Posts: 57
Joined: Fri Feb 04, 2011 11:45 am

Re: Browse for SQL servers in button click event

Hello,

interesting this approach was suggested by someone in my organization who is not familiar with the AI.

After all I resolved this by switching to Enhanced UI and setting the AiRefreshDlg to 1. I hope it correlates with expected behaviour. My combo is populated on button click this way.

Thank you for your time....

Kissack

Return to “Common Problems”