TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sandhya Bhosale
NA
18
0
Add information in text box at runtime.
Oct 28 2006 2:27 AM
I have a text with the following source code:
<
input
id
="txtData"
runat
="server"
class
="txtfield"
name
="txtData"
size
="30"
type
="hidden"
/>
<
script
language
="JavaScript"
type
="text/javascript">
var
idGenerator =
new
IDGenerator(0);
var
editor =
new
Editor(idGenerator);
editor.Instantiate();
</
script
>
As the textbox is hidden, the user will not be able to type any information in it.
But he can add info in the area that is created using the above script.
How can I write the code so that the text entered by the user can be stored using Stored Procedure.
I have wrirten it as :
cmd.Parameters.Add(
"@Article"
,txtData.Value);
But the textbox txtData is hidden.
Please help
Reply
Answers (
0
)
Add items to dropdown menu
Unbelievable! a Labels created dynamically invisible just because they overlapped, buttons - OK, why is that?