This is a migrated thread and some comments may be shown as answers.

.Focus

2 Answers 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Noob2008 Noob2008
Top achievements
Rank 1
Noob2008 Noob2008 asked on 08 Jul 2009, 09:56 AM
Hi,

I have a Radpanelbar ,

How do i do a .focus on the item after i click on the expand button

As currently , i have a webpart with the Radpanelbar control but upon expand it alway navigate to the top of the webpart .

Kindly advise .

2 Answers, 1 is accepted

Sort by
0
Computer Surgeon
Top achievements
Rank 1
answered on 08 Jul 2009, 10:34 AM
Hi there,

              Handle it using java script OnClientClick event. And try to make focus where you expect
0
Noob2008 Noob2008
Top achievements
Rank 1
answered on 08 Jul 2009, 06:39 PM
Hi i did a java script onclick function . it did focus but it alway jump to the top of the page after focus , cant figure out y . but if i leave below the webpart some space ( page space ) it works

but i can leave page space below . Y is this so .

Kindly advise


Thanks
Tags
General Discussions
Asked by
Noob2008 Noob2008
Top achievements
Rank 1
Answers by
Computer Surgeon
Top achievements
Rank 1
Noob2008 Noob2008
Top achievements
Rank 1
Share this question
or