Welcome to Pintexx Forum Sign in | Join | Faq

pinTab

Started by Karl at 03-07-2007 3:41 . Topic has 1 replies.

Print Search
Sort Posts:    
   03-07-2007, 3:41
Karl is not online. Last active: 07.03.2007 01:32:33 Karl

Top 500 Posts
Joined on 03-07-2007
Posts 1
Focus issue with ASP.NET 2.0
Reply Quote

Hi !,

I have the following issue with Pintab:

1) I create 2 asp.net pages from Visual Studio 2005 and put a TextBox in each page

2) for each page I put the "defaultfocus" of the form to the textbox on that page.

3) I use the pintab to point to the 2 above page urls

4) I enter some text in the first page

5) I switch the second page: the focus doesn't work properly (disabling the pintab "caching" kind of solve the issue but it also reinitialize the whole page)

Any idea ?

Karl


   Report 
   03-07-2007, 4:52
Pintexx Support is not online. Last active: 12.01.2012 07:36:39 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.910
Re: Focus issue with ASP.NET 2.0
Reply Quote
Hi Karl,

I think in your case you have to set the focus manually.

There is a client event when clicking at the tab item.

In this event just access the document like this:

item.getDocument().getElementById("mytextbox").focus();


   Report 
Pintexx Forum » Developer Produ... » pinTab » Focus issue with ASP.NET 2.0