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. Web Development
  3. ASP.NET
  4. How we can use INPUTBOX in ASP.NET 2.0?

How we can use INPUTBOX in ASP.NET 2.0?

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netcomhelpquestion
5 Posts 4 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.
  • H Offline
    H Offline
    Haridas R
    wrote on last edited by
    #1

    Dear Friends, How we can use INPUTBOX in ASP.NET 2.0?, Pls HELP ME Dear Friends :rose:

    Haridas.R harisofttech@gmail.com harisofttech@hotmail.com (online) harizeenet@yahoo.co.in(online) "Achievement is not a destination, its a journey "

    M L 2 Replies Last reply
    0
    • H Haridas R

      Dear Friends, How we can use INPUTBOX in ASP.NET 2.0?, Pls HELP ME Dear Friends :rose:

      Haridas.R harisofttech@gmail.com harisofttech@hotmail.com (online) harizeenet@yahoo.co.in(online) "Achievement is not a destination, its a journey "

      M Offline
      M Offline
      Mike Ellison
      wrote on last edited by
      #2

      What is this mysterious INPUTBOX of which you speak?

      T 1 Reply Last reply
      0
      • H Haridas R

        Dear Friends, How we can use INPUTBOX in ASP.NET 2.0?, Pls HELP ME Dear Friends :rose:

        Haridas.R harisofttech@gmail.com harisofttech@hotmail.com (online) harizeenet@yahoo.co.in(online) "Achievement is not a destination, its a journey "

        L Offline
        L Offline
        l0kke
        wrote on last edited by
        #3

        Maybe you should write what exactly you want to do. You can use System.Web.UI.HtmlControls.HtmlInput* controls, if this is what you have been asking about... Pilo

        1 Reply Last reply
        0
        • M Mike Ellison

          What is this mysterious INPUTBOX of which you speak?

          T Offline
          T Offline
          tanya foster
          wrote on last edited by
          #4

          I believe INPUTBOX is visual basic 6.0 utility to display a pop-up with programmer-defined text which usually contained a question/prompt for text information. The recipient of this pop-up would be enter in a text in a field in the pop-up and click OK on the pop-up. The code I have been using for just a plain pop-up in asp.net - no field for data entry (just in case this is a start for getting to one that has a field for input) is Public Sub ASPNET_MsgBox(ByVal Message As String) System.Web.HttpContext.Current.Response.Write("" & vbCrLf) System.Web.HttpContext.Current.Response.Write("alert(""" & Message & """)" & vbCrLf) System.Web.HttpContext.Current.Response.Write("") End Sub In my asp code, I would call this subroutine to display a pop-up message like ASPNET_MsgBox("Hello World") or Dim sampleMessage As string sampleMessage = "basic stuff" ASP_NET_MsgBox(sampleMessage) The one catch on this asp.net pop-up subroutine is do not pass it a string containing double quotes. No pop-up will appear, no error message or nothing will happen....

          M 1 Reply Last reply
          0
          • T tanya foster

            I believe INPUTBOX is visual basic 6.0 utility to display a pop-up with programmer-defined text which usually contained a question/prompt for text information. The recipient of this pop-up would be enter in a text in a field in the pop-up and click OK on the pop-up. The code I have been using for just a plain pop-up in asp.net - no field for data entry (just in case this is a start for getting to one that has a field for input) is Public Sub ASPNET_MsgBox(ByVal Message As String) System.Web.HttpContext.Current.Response.Write("" & vbCrLf) System.Web.HttpContext.Current.Response.Write("alert(""" & Message & """)" & vbCrLf) System.Web.HttpContext.Current.Response.Write("") End Sub In my asp code, I would call this subroutine to display a pop-up message like ASPNET_MsgBox("Hello World") or Dim sampleMessage As string sampleMessage = "basic stuff" ASP_NET_MsgBox(sampleMessage) The one catch on this asp.net pop-up subroutine is do not pass it a string containing double quotes. No pop-up will appear, no error message or nothing will happen....

            M Offline
            M Offline
            Mike Ellison
            wrote on last edited by
            #5

            :) Oh. THAT inputbox... :doh: :cool:

            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