473,320 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Focus problem and client Side scripting

I have a placeholder in which i am adding a web user control containing 2
textboxes. Whenever the value of a textbox change, the other textbox change
its value accordingly.

I did this by setting the textboxes autopostback value to true. However,
whenever a textbox value change, the focus is lost. If you where changing
the last control, after changing its text, there is a postback and the first
control has the focus.

I would like to do the processing without having to post back. The only way
i found to do this is by using client side scripting but i can't use
javascript nor vbscript.

Anyone can point me to the right direction?
Nov 19 '05 #1
2 1080
I'd suggest you use PowerWEB LiveControls:
http://www.dart.com/powerweb/livecontrols.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Loui Mercieca" <lo**@destiny-creations.com> wrote in message
news:Oz*************@TK2MSFTNGP14.phx.gbl...
I have a placeholder in which i am adding a web user control containing 2
textboxes. Whenever the value of a textbox change, the other textbox change
its value accordingly.

I did this by setting the textboxes autopostback value to true. However,
whenever a textbox value change, the focus is lost. If you where changing
the last control, after changing its text, there is a postback and the
first control has the focus.

I would like to do the processing without having to post back. The only
way i found to do this is by using client side scripting but i can't use
javascript nor vbscript.

Anyone can point me to the right direction?

Nov 19 '05 #2
I would like to use some free solution, preferibly coded by me.

Thank,
Loui Mercieca

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:Om**************@TK2MSFTNGP14.phx.gbl...
I'd suggest you use PowerWEB LiveControls:
http://www.dart.com/powerweb/livecontrols.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Loui Mercieca" <lo**@destiny-creations.com> wrote in message
news:Oz*************@TK2MSFTNGP14.phx.gbl...
I have a placeholder in which i am adding a web user control containing 2
textboxes. Whenever the value of a textbox change, the other textbox
change its value accordingly.

I did this by setting the textboxes autopostback value to true. However,
whenever a textbox value change, the focus is lost. If you where changing
the last control, after changing its text, there is a postback and the
first control has the focus.

I would like to do the processing without having to post back. The only
way i found to do this is by using client side scripting but i can't use
javascript nor vbscript.

Anyone can point me to the right direction?


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Bilal | last post by:
Hi I have an application with numerous pages. A couple of these pages include a functionality that allows it to be refreshed every 15 secs. My problem is that this "refreshing" works too well: THe...
5
by: Matt | last post by:
I think this is the basic concept in ASP server-side development. My boss told me web application is NOT client-server application. I argued with him because browser is the client, and the server...
2
by: Drew | last post by:
I have a form which has 1 textbox in it. When the user enters a number, and tabs, it submits the form and the textbox disappears and the name of the person that the ID corresponds to is displayed...
3
by: bradwiseathome | last post by:
I focus on controls in a web form like this: <script language="javascript"> var focusControl = null; if (document.getElementById) focusControl = document.getElementById('txtArea1'); else if...
2
by: Remco Groot Beumer | last post by:
Hello, I would like to know if it is possible in ASP.NET to set the focus to a control. I would like to make it possible for users to fill in a form. The form contains textboxes and...
6
by: Mike | last post by:
I have a few textbox controls that have autopostback so that when they loose focus they update a label control that shows the count of characters in their respective text control. This works fine,...
3
by: Joe Delphi | last post by:
Hi, I have more experience working with Windows.Forms than with WebForms and sometimes it trips me up. When my page loads, I want a particular textbox to have the focus. I am attempting to...
3
by: jab3 | last post by:
Hello. I"m new to this group, and to JavaScript in general, so please forgive me if I breach local etiquette. I'm trying to implement some client-side 'dynamic' validation on a form. I'm having...
35
by: Dan Rumney | last post by:
Hi all, I've been writing Javascript for quite a while now and have, of late, been writing quite a lot of AJAX and AJAX-related code. In the main, my dynamically generated pages are created...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.