RSS

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

Register Login New Posts Chat
 
Iron Speed > Forums > Using Iron Speed Designer V5.X > focus locked after postback
 
Username:  
Password:  
 
   
 


Thread Tools Search This Thread 
Reply
 
Author Comment
 
fjrodriguezcom
Registered: 11/25/07
Posts: 144

    11/03/09 at 02:08 AMReply 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/31/05
Posts: 4,028

    11/04/09 at 02:31 AMReply 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
Registered: 11/25/07
Posts: 144

    11/04/09 at 03:24 AMReply 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/31/05
Posts: 4,028

    11/04/09 at 02:18 PMReply 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
Registered: 11/25/07
Posts: 144

    11/05/09 at 03:25 AMReply 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