Click here to Skip to main content
15,896,269 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

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..


Thanks&Regards,

Raghu.
Posted

Check your page-elements ids in chrome -- inspect element.
while using jQuery with master page you should apply <%=id.clientId%>
for exp:
$('#<%=myBtn.ClientID%>').show()
 
Share this answer
 
Comments
Madhugundi 21-Nov-12 5:43am    
thanks
i add a panel and set the panel property as defaultbutton=childbuttonid then it works fine.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900