change selected index of System.windows.controls Combobox from javascript code + silverlight
-
hello, I have put System.windows.controls Combobox in silverlight usercontrol. which i have hosted in default.aspx. Now i want to call javascript on button click -- to change selected index of combobox ..... I am using .net 3.5 sp1 with vs 2008 so how to change selected index of combobox from javascript code.. Please help asap.
-
hello, I have put System.windows.controls Combobox in silverlight usercontrol. which i have hosted in default.aspx. Now i want to call javascript on button click -- to change selected index of combobox ..... I am using .net 3.5 sp1 with vs 2008 so how to change selected index of combobox from javascript code.. Please help asap.
Member 3981366 wrote:
Now i want to call javascript on button click
Where did you place that button? Is it in Silverlight User Control or ASP.NET? Please check this HTML Bridge[^] if you like to interact between Managed Code of Silverlight and Javascript. Hope it helps.
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) Microsoft MVP (Silverlight), WPF/Silverlight Insiders