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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. HTML PAGE REFRESH

HTML PAGE REFRESH

Scheduled Pinned Locked Moved ASP.NET
csharphtmltoolsquestion
12 Posts 5 Posters 1 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.
  • V Offline
    V Offline
    vilunjike manda
    wrote on last edited by
    #1

    Guys, How do I display text on an html page using vb.net script. manv

    P A 2 Replies Last reply
    0
    • V vilunjike manda

      Guys, How do I display text on an html page using vb.net script. manv

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      It would need to be a .aspx page...? Or am i missing the point of your question? If it's an aspx page, then it's a simple Response.Write("text").

      V 1 Reply Last reply
      0
      • P Paddy Boyd

        It would need to be a .aspx page...? Or am i missing the point of your question? If it's an aspx page, then it's a simple Response.Write("text").

        V Offline
        V Offline
        vilunjike manda
        wrote on last edited by
        #3

        It's a .htm page. My code is as follows: <% httpcontext.current.responce.write("text") %> This code is not working, what's up manv

        P M 2 Replies Last reply
        0
        • V vilunjike manda

          It's a .htm page. My code is as follows: <% httpcontext.current.responce.write("text") %> This code is not working, what's up manv

          P Offline
          P Offline
          Paddy Boyd
          wrote on last edited by
          #4

          I don't believe you can just embed .net code in an html page in this fashion - the server won't know to parse it.

          V 1 Reply Last reply
          0
          • P Paddy Boyd

            I don't believe you can just embed .net code in an html page in this fashion - the server won't know to parse it.

            V Offline
            V Offline
            vilunjike manda
            wrote on last edited by
            #5

            I knew that might be the problem, my code is not being parsed. How do I embed the code? Please help? manv

            P V 2 Replies Last reply
            0
            • V vilunjike manda

              I knew that might be the problem, my code is not being parsed. How do I embed the code? Please help? manv

              P Offline
              P Offline
              Paddy Boyd
              wrote on last edited by
              #6

              Put it in an aspx page.

              V 1 Reply Last reply
              0
              • V vilunjike manda

                It's a .htm page. My code is as follows: <% httpcontext.current.responce.write("text") %> This code is not working, what's up manv

                M Offline
                M Offline
                Malik Nasir
                wrote on last edited by
                #7

                save page in asp or aspx format, in simple html this code will not work so use the same code <% httpcontext.current.responce.write("text") %> but save it in asp format Regards

                1 Reply Last reply
                0
                • V vilunjike manda

                  I knew that might be the problem, my code is not being parsed. How do I embed the code? Please help? manv

                  V Offline
                  V Offline
                  vilunjike manda
                  wrote on last edited by
                  #8

                  Guys How do I use html tags in aspx pages. manv

                  _ 1 Reply Last reply
                  0
                  • P Paddy Boyd

                    Put it in an aspx page.

                    V Offline
                    V Offline
                    vilunjike manda
                    wrote on last edited by
                    #9

                    How do I use HTML tags in ASPX pages. Please help. manv

                    P 1 Reply Last reply
                    0
                    • V vilunjike manda

                      How do I use HTML tags in ASPX pages. Please help. manv

                      P Offline
                      P Offline
                      Paddy Boyd
                      wrote on last edited by
                      #10

                      In exactly the same way as in an HTML page. Just type your code in the body of the aspx page as you would with your html page. You'll also need a page directive at the top:

                      <%@ Page Language="VB" AutoEventWireup="true" CodeFile="MyCodeBehind.aspx.vb" Inherits="Web.MyCodeBehind" %>

                      1 Reply Last reply
                      0
                      • V vilunjike manda

                        Guys, How do I display text on an html page using vb.net script. manv

                        A Offline
                        A Offline
                        amaneet
                        wrote on last edited by
                        #11

                        copy all text matter(tags) of .htm file and paste it into the aspx's html page.

                        1 Reply Last reply
                        0
                        • V vilunjike manda

                          Guys How do I use html tags in aspx pages. manv

                          _ Offline
                          _ Offline
                          _AK_
                          wrote on last edited by
                          #12

                          Same way as you use to do it in html page. like: aaaaaa Best Regards, Apurva Kaushal

                          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