RadSplitter resize (100%) with image...

4 posts, 0 answers
  1. Luciano Kaesemodel
    Luciano Kaesemodel avatar
    26 posts
    Member since:
    Apr 2007

    Posted 11 Sep 2008 Link to this post

    Hello guys... I have a page like yours "Filling the Entire Page - http://www.telerik.com/help/aspnet-ajax/splitter_clientsideonclientresized.html "

    In the second RadSplitter I had a Image (map)...
    Using OnClientLoaded method I generated a image with correct initial size...
    What I need now is regenerate that image with each Browser resize...

    The RadSplitBar rezise is disabled...I just need to regenerate the image when the Pane get resized (with broser resizing). I tried to use the OnClientResized method from Pane, but it seems to get fired several times when resizing...

    Help?
  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 17 Sep 2008 Link to this post

    Hello Luciano Kaesemodel,
    As far as I understand you, you are looking for a client event that fires when a RadPane changes its size. If this is the case, you should use the pane's OnClientResized event. This event fires more than once, only in one particular scenario (if there is another, do let me know):
    • The Width and Height of the RadSplitter are in percents.
    • The variable size of the RadPane (Width when Orientation=Vertical and Height when Orientation=Horizontal) is not in pixels.
    • When you resize the browser in width and height at the same time.

    In this case, the OnClientResized event fires twice - once for the change in Height and once for the change in Width of the pane.

    I have added this problem to our TODO list and we will do our best to fix it for the upcoming SP.

    All the best,
    Tsvetie
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. nazeer
    nazeer avatar
    27 posts
    Member since:
    May 2009

    Posted 17 Feb 2012 Link to this post

    Hi Telerik team,

    I am also getting same problem.
    The OnClientResized event fires twice, when i am trying to set height of the RadSplitter.
    Please let me know has this issue fixed?If yes plz tell me which Telerik release?
  5. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 21 Feb 2012 Link to this post

    Hi Nazeer,

    This problem should be fixed in one of the previous versions of RadControls for ASP.NET AJAX. I tried to reproduce the issue with the latest version (currently 2012.1.215) and was not able to reproduce it. If you are not using the above mentioned version could you please upgrade to it and see if the problem still exists. If so, could you please provide more detailed information on the specific scenario?
    • Under which browser and its version the problem occurs?
    • Could you please provide the exact steps that need to be executed in order to reproduce the problem?
    • Could you please provide a simple fully runnable project reproducing the problem so we can investigate it further?

    Looking forward to hearing from you,
    Dobromir
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top