I have the same problem... Did you find any solution? I have already tried to use javascript (simulate a click when loading the popup) but I didn't get it working...
I seemed to have found a fix after hours of searching and trying to fix it myself. I could not get anything else to work but this seems to work perfectly. I found this work...if you use a button and server side code to show you popup you don’t need to reset
var blnIsFirstLoad = true;but if you use javascript to show the popup then you will need to on the popup close button reset this value back to true. i.e.
<img src="Close_12x12.gif" title="Click to close this popup" onclick="JavaScript:$find('mpeAutoTransfer').hide();blnIsFirstLoad = true;" />
yzidell
Member
620 Points
422 Posts
Handle Position in ResizableControlExtender
Jul 15, 2007 04:13 PM|LINK
I have ResizableControlExtender together with a ModalPopupExtender to create a moveable
and resizable popup. The problem is that the handle image first appears in upper left hand corner when
it is supposed to appear in lower right hand corner. When I click it jumps to its correct position in the
lower right hand corner. The problem is when it first appears, the handle is on wrong spot.
Source Code:
<
ajaxToolkit:ResizableControlExtender ID="RCEPageHelp" runat="server" TargetControlID="pnlPageHelp" ResizableCssClass="resizingText" HandleOffsetX=3 HandleOffsetY=3 HandleCssClass="handleText" />Your help is greatly appreciated.
Thank you for help.
jmmobley
Member
2 Points
2 Posts
Re: Handle Position in ResizableControlExtender
Oct 24, 2007 10:28 PM|LINK
Did anyone ever find out the solution to this problem? I'm having the same issue.
jymarkusg
Member
9 Points
26 Posts
Re: Handle Position in ResizableControlExtender
Oct 07, 2008 08:05 AM|LINK
I have the same problem... Did you find any solution? I have already tried to use javascript (simulate a click when loading the popup) but I didn't get it working...
Thanks
Markus
philosophist...
Member
2 Points
1 Post
Re: Handle Position in ResizableControlExtender
Oct 30, 2008 10:54 AM|LINK
I have the exact same problem.
Is it a bug on the ajaxcontroltoolkit?
jymarkusg
Member
9 Points
26 Posts
Re: Handle Position in ResizableControlExtender
Oct 30, 2008 11:38 AM|LINK
Yes, it is a problem with the toolkit - perhaps it'll be solved in future releases!
But there is a workaround. In your page add the following javascript function:
function showPopComment(id, id2) { var popupControl = $find(id); popupControl.show(); var resizeControl = $find(id2); resizeControl._resizeControl(0, 0, 0, 0); resizeControl._rememberSize(); }In the ASP add a BehaviourId to to elements (fixed value or dynamic Ids in my case when you are in a gridview):
Now it should be ok!
Greetings
Markus
rabid lemmin...
Member
14 Points
3 Posts
Re: Handle Position in ResizableControlExtender
Dec 11, 2008 08:04 AM|LINK
I seemed to have found a fix after hours of searching and trying to fix it myself. I could not get anything else to work but this seems to work perfectly. I found this work...if you use a button and server side code to show you popup you don’t need to reset var blnIsFirstLoad = true;but if you use javascript to show the popup then you will need to on the popup close button reset this value back to true. i.e.
<img src="Close_12x12.gif" title="Click to close this popup" onclick="JavaScript:$find('mpeAutoTransfer').hide();blnIsFirstLoad = true;" />