Re: echo user input

Tech-Archive recommends: Fix windows errors by optimizing your registry



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
> > >
> > > --
> > >
> > >
> > >
> >
> >
>
>


.



Relevant Pages

  • why is this statement preventing an event handler to be called on the server
    ... I have a html control of type submit which has runat=server making it a html ... I have an event handler on the client and on the server for the same html ... server control as you can see below. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: why is this statement preventing an event handler to be called on the server
    ... I have an event handler on the client and on the server for the same html server control as you can see below. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Replace text as server controls
    ... But in first method u have created client side control by using ... since it process string and give code to ... by client browser, but now u want to display server control, If u used ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Dynamic control on aspx page, dynamic location
    ... Dim row as TableRow ... Dim cell as TableCell ... you'll get the result you need in the client window. ... A server control is processed ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: echo user input
    ... Are we doing some kind of client side programming? ... javascript event that actually put / echo the text onto another textbox? ... >> page) what the user is typing in another textbox field? ... >> TIA ...
    (microsoft.public.dotnet.framework.aspnet)