RSS

A Message Board, Guestbook, or Poll hosted for your website.
Iron Speed Technical Forums

Iron Speed > Forums > Using Iron Speed Designer V5.X > focus locked after postback
 
Username:
Password:
 

Thread Tools Search This Thread 
Reply
 
Author Comment
 
fjrodriguezcom
Avatar / Picture

Registered: 11/25/07
Posts: 113

    11/03/09 at 01:08 AM
Reply with quote#1

I have a problem in some circumstance. When I set the focus in a postback (partial, I didn't try with full ) with scriptmanager.setfocus() function in IE into a textbox, sometimes the cursor is locked, I can't write into it. If I press tab the focus go out to the address bar. The only solution is clicking in a free part of the screen and click again into the control. In firefox is ok.

Has anyone seen this?

Thanks

__________________
http://www.fjrodriguez.com
JimiJ
Avatar / Picture

MVP Developer
Registered: 03/30/05
Posts: 3,648

    11/04/09 at 01:31 AM
Reply with quote#2

Yes I experienced the same with ISD version 5.21 as well. My other solution in addition to yours is clicking to intiate postback from another control.

ISD 6.2X using .Focus() + DingJing article on Restore Focus after TextBox Automatic Postbacks gives a very stable combination.


Jimi



  

__________________
Jaime Jegonia
JimiTron Software
JimiTron.Net | JimiTron.Com
fjrodriguezcom
Avatar / Picture

Registered: 11/25/07
Posts: 113

    11/04/09 at 02:24 AM
Reply with quote#3

Thanks Jimi for your response.

Do u know what's the difference about 6.2 version about this? .Focus() ? This happens only on IE8? or IE7 too?

I have implemented Focus.js of 6.2 into 5.2 but I don't see any difference on that.

Thanks

__________________
http://www.fjrodriguez.com
JimiJ
Avatar / Picture

MVP Developer
Registered: 03/30/05
Posts: 3,648

    11/04/09 at 01:18 PM
Reply with quote#4

Focus() is a standard NET function and i has no special .

Referring to IE8 & IE7 and my previous post, I just backtracked a bit and found out that IE8 works well only in Live Preview but I did not noticed it because all Production encoders are using IE7.

Yes, Focus()-locking issue is still outstanding with IE8 and FF3.5 production environment.


Thanks,


Jimi



        

__________________
Jaime Jegonia
JimiTron Software
JimiTron.Net | JimiTron.Com
fjrodriguezcom
Avatar / Picture

Registered: 11/25/07
Posts: 113

    11/05/09 at 02:25 AM
Reply with quote#5

Thanks Jimi,

ah, ok, but .Focus() is for full postback, and scriptmanager.SetFocus() for partial postback, so Focus() doesn't apply in this case, do it?

I'll try restore focus example if I see some difference.

It's very frustrating.

Thanks again.

I tried UA compatibility mode IE7... nothing. :/


__________________
http://www.fjrodriguez.com
Previous Thread | Next Thread
Reply

 
Bookmarks
 
Digg Diggdel.icio.us del.icio.usStumbleUpon StumbleUponGoogle Google
 
Download Iron Speed Designer

Privacy Statement