[ComboBox] How to get the current value ComboBox? (solved) - 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!

alavoler
Posts: 45
Joined: Thu Mar 12, 2009 4:29 pm
Location: France
Contact: Website

[ComboBox] How to get the current value ComboBox? (solved)

Hello,

In a dialog i have a combobox with 'SqlServerBrowseComboBox' property name.
I populate this combobox with the list servers SQL network

In a custom action: i have a DLL .Net (class installer) but i always get Empty value for this combobox !
This is my custom action parameter:
Name: Server
Value: [SqlServerBrowseComboBox] <<<<---- I thinks that the error is here but i don't know what i put

In C#:
string srv= this.Context.Parameters["Server"];
But srv is always empty !

Yet for other parameters (textbox...) i get the good value...

Thanks
Last edited by alavoler on Thu Mar 12, 2009 5:10 pm, edited 1 time in total.
alavoler
Posts: 45
Joined: Thu Mar 12, 2009 4:29 pm
Location: France
Contact: Website

Re: [ComboBox] How to get the current value of a ComboBox ?

http://www.advancedinstaller.com/forums ... Box#p17552

so sorry
inverse the property / property name

solved:
Name: SqlServerComboBox
Property:SERVER_PROP

Return to “Common Problems”