I have the DefaultButton="MyButton" in the panel. I only have one button in my panel, but the thing is that if I link the modalpopup to the button where I want to do validation it puts the focus in the ok button. The problem is that this way no validation
can be made from code behind, and if I call the modalpopup.show from code behind (server side) the focus doesn't get to the ok button.
maufonfa
Member
72 Points
29 Posts
Re: Manually called ModalPopupExtender not putting focus on default button
Feb 23, 2012 04:23 PM|LINK
I have the DefaultButton="MyButton" in the panel. I only have one button in my panel, but the thing is that if I link the modalpopup to the button where I want to do validation it puts the focus in the ok button. The problem is that this way no validation can be made from code behind, and if I call the modalpopup.show from code behind (server side) the focus doesn't get to the ok button.