Jorn
Posted on Jan 6, 2010
(permalink)
I want to update the properties (width, height) of the usercontrol inside my radwindow whenever the radwindow changes it's size. I tried using the sizechanged event, but that event fires continuously making the update very demanding on the server. How do I solve this? There should be two events; a sizechange event (that fires continuously when the left mouse button is down) and a sizechanged event that fires once the user releases the left mousebutton. Also, the left mousebutton events do not fire when resizing (alternative solution). Any other solutions/workarounds?
Reply
Answer
Telerik Admin
Posted on Jan 7, 2010
(permalink)
Hi Jorn,
You can use LayoutChangeEnded event for that purpose. Also there is LayoutChangeStarted event is you need to know when resizing started.
Let us know if you need more information.
All the best,
Hristo
the Telerik team
Reply
Jorn
Posted on Jan 7, 2010
(permalink)
I have a user control inside my radwindow and I can't see those layout events from it - only the sizechanged event.
From the calling page where the radwindow is defined I can see all events. Why are only some events visible from the user control? How do I work around this?
Edit: My bad, I was of course confused by the user controls sizechanged event. I've marked your reply as answered!
Reply