Re: echo user input
- From: "William F. Robertson, Jr." <theman@xxxxxxxxxx>
- Date: Fri, 27 May 2005 12:53:03 -0500
Yes you can have a server control do this. But without posting back every
key stroke, you will need do to the bulk of the work client side. It will
not be a happy user experience if they must wait after each keypress for the
page to reload.
Remember that web programming is disconnected. After the page is rendered
and sent to the browser, the only way to have server side functionality is
to have the page post back to get the server involved.
What exactly are you trying to accomplish?
bill
<dl> wrote in message news:eU8sdClYFHA.2756@xxxxxxxxxxxxxxxxxxxxxxx
> Are we doing some kind of client side programming?
> Let me try to see if I get this right. "EchoText" is the client side
> javascript event that actually put / echo the text onto another textbox?
> I guess I can not have a server control when doing this, can I?
>
> TIA
>
> "William F. Robertson, Jr." <theman@xxxxxxxxxx> wrote in message
> news:uhW796fYFHA.3380@xxxxxxxxxxxxxxxxxxxxxxx
> > You can wire to the onkeydown event for the second text box.
> >
> > When that function/event fires, you can change the label or whatever you
> are
> > wanting to do. C# really has nothing to do with it other than:
> >
> > txtEntry.Attributes["onkeydown"] = "javascript: EchoText( this );";
> >
> > HTH,
> >
> > bill
> >
> > <dl> wrote in message news:uUxk8HcYFHA.1044@xxxxxxxxxxxxxxxxxxxxxxx
> > > Hi
> > > I am working on a web application, just wonder how could I display (on
a
> > web
> > > page) what the user is typing in another textbox field?
> > > By the way, I am using c# if this would make any difference.
> > >
> > > TIA
> > >
> > > --
> > >
> > >
> > >
> >
> >
>
>
.
- References:
- echo user input
- From: dl
- Re: echo user input
- From: William F. Robertson, Jr.
- Re: echo user input
- From: dl
- echo user input
- Prev by Date: Double click not working
- Next by Date: Re: Shared functions vs Non-Shared Functions
- Previous by thread: Re: echo user input
- Next by thread: Controling panel visibility
- Index(es):
Relevant Pages
|