I would like to call a popup of the popupcontrolextender programmatically. Is this possible?
I would like to call a popup of the popupcontrolextender programmatically. Is this possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can get a handle on the client object for the popup by specifying a
BehaviorIDand using the$find()function. Here is a small working (IE7) code snippet of a popup that shows when the cursor hovers over a text box, and disappears when the cursor moves off of the text box.Update:
Displaying the popup from server-side script requires registering some JavaScript at an appropriate place in the JavaScript lifecycle. Client script blocks appear to be too early, as the behavior may not have been initialized. The code snippet below registers a startup script that, in turn, registers a function to open the popup on the client-side load event.