Hi,
I am using a modalpopup extender to display the login panel. At login button click page is not getting redirected .. What could be the reason plzz see the attachment
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Suthish NairPosted Aug 25, 2011, 12:14 PM
By default OK button on a modal dialog does not do a postback,
It is used for executing javascript on the browser that hides the popup.
If you need a post back just remove the OkControlID property..
Wrap the controls in update panel with update mode as conditional then hit the button for redirection.
Suthish NairPosted Aug 26, 2011, 3:23 AM
B M SuchitraPosted Aug 26, 2011, 12:59 AM
Satish BhatPosted Aug 25, 2011, 8:31 AM
TargetControlID is the ID of the element that activates the modal popup
In this case it is a link button loginbtn
Biswa Pujarini MohapatraPosted Aug 25, 2011, 8:19 AM
I see there is some issue on your code. Please TargetControlID = "btnlogin" and try.
Satish BhatPosted Aug 25, 2011, 8:13 AM
B M SuchitraPosted Aug 25, 2011, 6:40 AM
I checked by applying break point.. The event does not go to the break point itself
Satish BhatPosted Aug 25, 2011, 6:11 AM
Try putting a break point at
protected void btnlogin_Click(object sender, EventArgs e)
and check.
B M SuchitraPosted Aug 25, 2011, 5:41 AM
I tried but did not help..
Satish BhatPosted Aug 25, 2011, 5:40 AM
from the aspx page and try.