Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. change selected index of System.windows.controls Combobox from javascript code + silverlight

change selected index of System.windows.controls Combobox from javascript code + silverlight

Scheduled Pinned Locked Moved WPF
csharpjavascriptdatabasevisual-studiohelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 3981366
    wrote on last edited by
    #1

    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.

    M 1 Reply Last reply
    0
    • M Member 3981366

      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.

      M Offline
      M Offline
      Michael Sync
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups