Tuesday, September 1, 2009

How to set focus on textbox within ModalPopUp Extender Panel

Taken from: http://forums.asp.net/t/1218079.aspx

javascript
function pageLoad(){
$find("ModalPopupExtender's BehavoirID").add_shown(onModalPopupShown);
}
function onModalPopupShown(){
//set focus here.
}

javascript end