Dec 08, 2010, 9:44 AM
[CLOSED] Popup Window positioned over or near ImageCommand in GridPanel
Hi, I have a GridPanel with an ImageCommand (V0.8.2)
I popup a window (code for which is another ascx included in the page) through a Command Listener :
Appreciate anything you can offer to assist.
I popup a window (code for which is another ascx included in the page) through a Command Listener :
<Listeners>
<Command Fn="handleSelectedGridCommand" />
</Listeners>
<script type="text/javascript">
var handleSelectedGridCommand = function(CommandName, record) {
openPSSRTemplateAssigneToWindow(record);
}
</script>
The ascx has the following script which succesfully opens a popup.<script type="text/javascript">
var openPSSRTemplateAssigneToWindow = function (record) {
var window = <%= PSSRTemplateAssignedToWindow.ClientID %>;
window.show(record);
}
</script>
The popup opens centered in the Page. What I would lilke to do is popup the window underneath or above the column containing the imagecommand, dependent on available screenspace; the same as a combobox would do? ) Failing that I would like to popup the window centered vertically but over the column with the image command.Appreciate anything you can offer to assist.
Last edited by Daniil; Dec 13, 2010 at 12:38 PM.
Reason: [CLOSED]