Buy Questpond's video subscriptions on
huge discount
.
Online: 4080
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Codes
>
Loading ...
C# textbox focus with AJAX
Posted by
Narenselva
under
C#
category on
9/7/2012
|
Points: 40
| Views : 3047
Post Code
|
Search Codes
|
Code Home
Hi Friends,
If i want to use focus() with ajax it wont work with the code textbox1.focus(). but will work perfectly with out ajax. To resolve that , refer the below code
TO USE focu WITH AJAX
ScriptManager.GetCurrent(Page).SetFocus(textboxid);
ScriptManager.GetCurrent(this.Page).SetFocus(this.textboxid);
REFER :
http://www.linkedin.com/groupAnswers?viewQuestionAndAnswers=&discussionID=160309243&gid=85746&commentID=94160673&goback=%2Enmp_*1_*1_*1_*1_*1_*1_*1_*1_*1&trk=NUS_DISC_Q-subject#commentID_94160673
http://stackoverflow.com/questions/1307224/setfocus-to-asptextbox-within-asppanel-within-aspcontent-from-content-page-lo
it's working great.
Comments are welcome.
Thanks in advance.
Narendran .N
http://4naren.blogspot.in/
Alert Moderator
Bookmark It
Comments or Responses
Posted by:
T.Saravanan
on: 9/10/2012 Level:
Silver
| Status:
[Member]
[MVP]
|
Points: 10
Hi,
Nice info but try to avoid to provide reference links in code section.
Login to post response
Latest Code Snipptes
Uber Clone - Taxi Booking App
writing Custom pagination html code in python and django
Code snippet for setInterval
Azure Function - Connect to MS Dynamics using application user - .NET core 3.1
MS Dynamics 365- Custom action - Read input parameter values from plugin
MS Dynamics 365- Disassociate record from N-N relationship entity
Search box with icon in Navbar in bootstrap 4
Remove HTML tags using Regular Expression in C#
MS Dynamics 365- Close Quote from C# / Custom action
More ...