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)
<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
|
|
|
|
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)
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.
|
|
|
|
Online Bookmarks Sharing: