473,377 Members | 1,153 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,377 software developers and data experts.

Atlas/Ajax setfocus

I have everything working great in my .net ajax environment except that
during async postbacks I'm lossing focus of the control making the
call. How do I prevent this from happening. I have tried creating
session variable and storing the location of the .focus but this only
works when I allow for postbacks.

Control A fires an event >>>After completion I want to set the focus
on >>>Control B (textbox).

What happens right now is both textboxes lose focus.

Nov 16 '06 #1
1 1223
you don't say which controls your are using, but just register a completion
handler, and set the focus after the async call completes.

-- bruce (sqlwork.com)

"pmclinn" <pm*****@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
>I have everything working great in my .net ajax environment except that
during async postbacks I'm lossing focus of the control making the
call. How do I prevent this from happening. I have tried creating
session variable and storing the location of the .focus but this only
works when I allow for postbacks.

Control A fires an event >>>After completion I want to set the focus
on >>>Control B (textbox).

What happens right now is both textboxes lose focus.

Nov 16 '06 #2

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

Similar topics

8
by: darrel | last post by:
I'm going to be diving into ASP.net 2.0 on a small project. I'd also like to use it as an excuse to start playing with some AJAX techniques. So, that leads to the obvious question: AJAX.net vs....
5
by: Papanii Okai | last post by:
Hi Guys, As we wall know Atlas is a fairly new feature everyone is talking about (atleast at my school). Even though the idea of Ajax has been used in the past i was wondeing if anyone could...
5
by: geekboy0001 | last post by:
Just trying to get some opinions out there... There are tons of Ajax libraries out there... Ajax.NET Professional, ComfortASP.NET, ZumiPage, etc. etc... Microsoft has their own too, Atlas. I've...
1
by: MPA | last post by:
Hi, I am a newbee to web applications and we are planning to rewrite our existing PowerBuilder client-server application into a web application under Visual Studio .Net 2005. My question is...
6
by: MSDN | last post by:
After a postback, how do I set focus onto a control that is inside an updatepanel?
5
by: igotyourdotnet | last post by:
I have a question on atlas: I can create an 'atlas project' and I can add atlas controls fine. but when I try and add an atlas control to an existing asp.net web app I can't, Why? I did notice...
4
by: s.bussing | last post by:
Hi All, I'm new to Atlas and I did some programming using AJAX, but I'm wondering if it is possible to hava a javascript which can call a server-site function, in my case to write data to the...
2
by: Nobody | last post by:
I have an aspx page where I have a repeater control that repeats a asp:LinkButton. When I click on one of the links, I get a post back, and the page flashes. A friend told me to look into ATLAS/AJAX,...
4
by: Bob | last post by:
Hi, i want to use ajax in my application, but i saw there are a lot of possibilities. What to choose among clientcallback, atlas or ajax.net (anthem, magicajax) ? It seems that ajax.net is easy...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.