Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > <Input type variable in asp.net

Reply
Thread Tools

<Input type variable in asp.net

 
 
venky
Guest
Posts: n/a
 
      03-21-2005
Hi

I have a html control <Input type="text" name="txtCallbackDate">

This control doesn't run on server. I want to set the value of this
control from my code. how do i do that?


venky

 
Reply With Quote
 
 
 
 
Brock Allen
Guest
Posts: n/a
 
      03-21-2005
Add runat="server", remove the name and add id="txtCallbackDate"

<Input type="text" runat="server" id="txtCallbackDate">

-Brock
DevelopMentor
http://staff.develop.com/ballen



> Hi
>
> I have a html control <Input type="text" name="txtCallbackDate">
>
> This control doesn't run on server. I want to set the value of this
> control from my code. how do i do that?
>
> venky
>




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Variable to take type of templated class with variable template parameter David Sanders C++ 4 10-30-2007 07:33 AM
"Variable variable name" or "variable lvalue" mfglinux Python 11 09-12-2007 03:08 AM
How do I scope a variable if the variable name contains a variable? David Filmer Perl Misc 19 05-21-2004 03:55 PM
Re: Type casting- a larger type to a smaller type pete C Programming 4 04-02-2004 05:19 PM
Re: Type casting- a larger type to a smaller type heyo C Programming 3 04-01-2004 06:35 PM



Advertisments