Author: subhash.sheladia | Posted on: 1/27/2010 3:40:26 AM | Views : 1081

Hi,
 
my page contains ---master page and in master page contains-updatepanel--updatepanelanimationextender...
 
i have try all the way that mention below but not worked for me...if you have any other solution than let me know....
 
((ScriptManager)Page.Master.FindControl("ScriptManager1")).SetFocus((TextBox)InsertSearchPnl.FindControl("CanTxt"));
 
=========================================
string script = "document.getElementById('" + CanTxt.ClientID + "').focus();";
 
script = script + " WebForm_AutoFocus('" + CanTxt.ClientID + "');";

Go to the complete details ...