mbt masai
 
Welcome !
         

                                
After experiencing a lot of down time, We decided to move this site to CrystalTech.com. CrystalTech.com is powered by only the finest Windows servers providing the best performance, reliability, and value anywhere.

 Sending Value to Textbox using vbscript

Author Message
adibalaji

  • Total Posts : 2
  • Scores: 0
  • Reward points : 0
  • Joined: 8/25/2008
  • Status: offline
Sending Value to Textbox using vbscript Monday, August 25, 2008 9:52 PM (permalink)
0
 <script language ="vbscript">
        Dim TheForm
        Set TheForm = document.forms("form1")
        TheForm.TextBox1.Value = "Hai"
    </script>

This vbscript works fine in htm file but it doesnt work in asp.net webform.
This vbscript assigns a value to the textbox in html file. But it is not able to assign a value i asp.net page.
Can any one letme know how to assign value to textbox using vbscript
#1
    centauricw

    • Total Posts : 42
    • Scores: 2
    • Reward points : 0
    • Joined: 2/20/2006
    • Status: offline
    Re: Sending Value to Textbox using vbscript Monday, November 16, 2009 4:52 AM (permalink)
    0
    You can't use VBScript in an ASP.NET page.  You have to use VB.NET or C#.  If you need to use VBScript, you'll need to step back to classic ASP.
    #2

      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 1 guests.

      Icon Legend and Permission

      • New Messages
      • No New Messages
      • Hot Topic w/ New Messages
      • Hot Topic w/o New Messages
      • Locked w/ New Messages
      • Locked w/o New Messages
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2012 ASPPlayground.NET Forum Version 3.8
      mbt shoes www.wileywilson.com