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. C#
  4. Urgent: need help

Urgent: need help

Scheduled Pinned Locked Moved C#
csharphtmlhelpquestion
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.
  • J Offline
    J Offline
    Jug Head
    wrote on last edited by
    #1

    In my C# code i have a variable EmbedTextBox.Text = this.OpenFileDialog; I want to use that same variable's contents in my HTML code e.g. "" which does not work. is there an easy of doing this?

    S 1 Reply Last reply
    0
    • J Jug Head

      In my C# code i have a variable EmbedTextBox.Text = this.OpenFileDialog; I want to use that same variable's contents in my HTML code e.g. "" which does not work. is there an easy of doing this?

      S Offline
      S Offline
      Sebastian Schneider
      wrote on last edited by
      #2

      You need to programatically change the content of "value" during the creation of the HTML-Code. Remember, even if you have a PHP, ASP or whatever script, it still needs to feed the browser valid HTML-code. So, what the server reads: " echo "" + $ver + "th version of my site" ?> and sends "7th version of my site" Basically, in your code, the browser probably understands that it should fill the textbox with "mms://......." as a string, not with the content behind that link. This you would have to do via client- or server-side scripts, preferrably server-side ones. Cheers Sid

      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