Click here to Skip to main content
13,089,207 members (105,027 online)
Rate this:
Please Sign up or sign in to vote.
See more:

I have master and child relationship that is in master page i have the logout image button and in child page textbox and GetReport button to get records from database here i am getting problem that is when i hit enter key while cursor is in textbox then the enter key focus is going to master page logout button instead of child page button
so how to set enter focus on child page button please give solution for this problem..


Posted 19-Nov-12 18:47pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Check your page-elements ids in chrome -- inspect element.
while using jQuery with master page you should apply <%=id.clientId%>
for exp:
Madhugundi 21-Nov-12 5:43am
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

i add a panel and set the panel property as defaultbutton=childbuttonid then it works fine.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 21 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100