siaj wrote:
> 
> Thanks ! but dont think this solution will work becuase I need to have the
> server name and the database name on the same screen and I would like to
> refresh the database name changed on click of the button (on same screen)
> or
> value changed of Server Name drop down.
> 
> Thanks,
> siaj
> 

A typical technique is to use the 'twin dialog' approach whereby you make an
exact clone (bar some IDs) of your existing dialog to switch to just after
your custom action has executed.

For example; in 'MyDialogDlg' you would have (if you used a button):

<Control Id="MyPushButton" ... >
  <Publish Event="DoAction" Value="MyCustomAction">1</Publish>
  <Publish Event="NewDialog" Value="MyDialogTwinDlg">1</Publish>
</Control>

and in the 'MyDialogTwinDlg' you would have:

<Control Id="MyPushButton" ... >
  <Publish Event="DoAction" Value="MyCustomAction">1</Publish>
  <Publish Event="NewDialog" Value="MyDialogDlg">1</Publish>
</Control>

This will produce the refresh you require but you will find that the focus
will return to the first control on the dialogs each time you switch, which
is a little kooky...

-- 
View this message in context: 
http://n2.nabble.com/Combobox-not-refreshing-tp1511419p1538667.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to