Splitter - Live Resize

The Halo Effect and telerik

I was perusing my usual portion of blogs this morning when I saw this post (thanks to the superb blogsearch.google.com engine). It seems that the guys from Bungie are using telerik tools (RadEditor, RadAjax to name a few) on their community site!

This is huge for me for a couple of reasons. Bungie's site is very heavy on traffic and I suspect hundreds of thousands of users are visiting their forums every month. They are using RadEditor for content entry and RadAjax for site updates - a real hard real-life test for our products. The second reason - Bungie is the producer of one of my favourite games - Halo 1/2 (2 being the best selling game of all time). I've personally played Halo 2 for a long-time and Halo 3 is the one and only reason I'm buying a Xbox 360.

There is a little technical perk that I've noticed too - the guys are using r.ad..editor 5.6 - we've produced this version prior to the rich editing support of Opera 9. They got one clever hack working on their site:

// workaround for opera and RadEditor 5.6.5
function HideEditorUpdateCancelButtons(editorClientID) {
  var oCancelButton = document.getElementByID("RadECancelButton" + editorClientID);
  oCancelButton.style.display = "none";
  var oUpdateButton = document.getElementByID("RadEUpdateButton" + editorClientID);
  oUpdateButton.style.display = "none";
}

Cool idea. No need to do that anymore though - the new RadEditor 6.5 provides support for Opera 9.

telerik team strikes Ohrid

Lake Ohrid
It is that time of the year when the summer heat begins to remind us it is the right moment to take off on a road trip for the weekend.  Thats how two colleagues and I decided to visit the cool town of Ohrid in neighboring Macedonia.

It all started on Friday evening with nothing more than our backpacks and a couple of beers to maintain high spirit during the somewhat tedious travel :). We arrived very early on Saturday and were welcomed by the refreshing scent of the Ohrid lake. The lake, the old houses, the monasteries turn the town into a flourishing tourist destination. 

There is a whole lot to do in Ohrid. You can, go to the beach, sail on a boat, walk around town visiting museums and strongholds (there are plenty of those). Or you could go to a restaurant and treat yourself to some of the renowned Macedonian cuisine. Mind you, it is nothing short of phenomenal. We were experiencing a foodgasm every time we sat down at a restaurant. If ever you are so lucky to visit Ohrid make sure you try the Ohridska Pastrmka (ohrid trout straight from the lake), Sharska Pleskavica (it looks like a burger, but tastes so much better) or Svinska Veshalica (a special marinated and tenderized pork steak). Make sure you combine that with a  Macedonian or Greek salad, Nafora (thats grilled bread cubes with shredded white cheese) and drown everything in lots of the traditional Macedonian red wine (Tuga za jug).

If you are thinking that you will hardly be able to move after the feast you guessed right. The good people in Ohrid, however, have thought about that too! Most of the villas you can rent there feature huge balconies with lots of shading and lounges where you can lay down looking at the gorgeous view of the Ohrid lake while the breeze cools you down. For those of you who want to burn some of the fat there are plenty of clubs and discos where you can dance your butt off.

With such a grand degree of entertainment we hardly noticed how the two days spent there passed. It was short, yes, but it was magic. I even admit that I am a little envious of all the people we left there - the dream goes on for them - as for me, I am back to exciting world of RadAjax development :-)

Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

The live resize option gives you a real time preview of the content during the resizing of the panes. To turn this option on set the LiveResize property of the RadSplitter control to true.

  • DefaultCS.aspx
<%@ Page Language="c#" AutoEventWireup="false"  %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container size-wide">
        <telerik:RadSplitter RenderMode="Lightweight" ID="RadSplitter1" runat="server" Height="500" LiveResize="true" Width="795">
            <telerik:RadPane ID="RadPane1" runat="server" Width="250">
                <div style="margin: 10px">
                    <h2>The Halo Effect and telerik
                    </h2>
                    <p>
                        I was perusing my usual portion of blogs this morning when I saw <a href="http://tomachronos.blogspot.com/2006/07/ajax-and-bungienet.html">this post</a> (thanks to the superb blogsearch.google.com engine). It seems
                    that the guys from <a href="http://bungie.net/">Bungie </a>are using telerik tools
                    (RadEditor, RadAjax to name a few) on their community site!
                    </p>
                    <p>
                        This is huge for me for a couple of reasons. Bungie's site is very heavy on traffic
                    and I suspect hundreds of thousands of users are visiting their forums every month.
                    They are using <strong>RadEditor </strong>for content entry and <strong>RadAjax
                    </strong>for site updates - a real hard real-life test for our products. The second
                    reason - Bungie is the producer of one of my favourite games - Halo 1/2 (2&nbsp;being
                    the best selling game of all time). I've personally played Halo 2 for a long-time
                    and Halo 3 is the one and only reason I'm buying a Xbox 360.
                    </p>
                    <p>
                        There is a little technical perk that I've noticed too - the guys are using r.ad..editor
                    5.6 - we've produced this version prior to the rich editing support of Opera 9.
                    They got one clever hack working on their site:<br />
                    </p>
                    <p>
                        // workaround for opera and RadEditor 5.6.5<br />
                        function HideEditorUpdateCancelButtons(editorClientID) {<br />
                        &nbsp; var oCancelButton = document.getElementByID("RadECancelButton" + editorClientID);<br />
                        &nbsp; oCancelButton.style.display = "none";<br />
                        &nbsp; var oUpdateButton = document.getElementByID("RadEUpdateButton" + editorClientID);<br />
                        &nbsp; oUpdateButton.style.display = "none";<br />
                        }
                    </p>
                    <p>
                        Cool idea. No need to do that anymore though - the new <a href="http://www.telerik.com/products/aspnet-ajax/editor.aspx">RadEditor 6.5</a> provides support for Opera 9.
                    </p>
                </div>
            </telerik:RadPane>
            <telerik:RadSplitBar ID="RadSplitbar1" runat="server" CollapseMode="Forward">
            </telerik:RadSplitBar>
            <telerik:RadPane ID="Radpane2" runat="server">
                <div style="margin: 10px">
                    <h2>telerik team strikes Ohrid
                    </h2>
                    <p>
                        <img src="images/Lake_Ohrid.jpg" alt="Lake Ohrid" /><br />
                        It is that time of the year when the summer heat begins to remind us it is&nbsp;the
                    right&nbsp;moment to take off on a road trip for the weekend.&nbsp; Thats how two
                    colleagues and I decided to visit the cool town of <a href="http://en.wikipedia.org/wiki/Ohrid">Ohrid </a>in neighboring <a href="http://en.wikipedia.org/wiki/Republic_of_macedonia">Macedonia</a>.
                    </p>
                    <p>
                        It all started on Friday evening with nothing more than our backpacks and a couple
                    of beers to maintain high spirit during the somewhat tedious travel :). We arrived
                    very early on Saturday and were welcomed by the refreshing scent of the Ohrid lake.
                    The lake, the old houses, the monasteries turn the town into a flourishing tourist
                    destination.&nbsp;
                    </p>
                    <p>
                        There is a whole lot to do in Ohrid. You can, go to the beach, sail on a boat, walk
                    around town visiting museums and strongholds (there are plenty of those). Or you
                    could go to a restaurant and treat yourself to&nbsp;some of the renowned Macedonian
                    cuisine.&nbsp;Mind you, it is nothing short of phenomenal. We were experiencing
                    a foodgasm every time we sat down at a restaurant. If ever you are so lucky to visit
                    Ohrid make sure you try the Ohridska Pastrmka (ohrid trout straight from the lake),
                    Sharska Pleskavica (it looks like a burger, but tastes so much better) or Svinska
                    Veshalica (a special marinated and tenderized pork steak). Make sure you combine
                    that with a&nbsp; Macedonian or Greek salad, Nafora (thats grilled bread cubes with
                    shredded white cheese) and drown everything in lots of the traditional Macedonian
                    red wine (Tuga za jug).
                    </p>
                    <p>
                        If you are thinking that you will hardly be able to move after the feast you guessed
                    right. The good people in Ohrid, however, have thought about that too! Most of the
                    villas you can rent there feature huge balconies with lots of shading and lounges
                    where you can lay down looking at the gorgeous view of the Ohrid lake while the
                    breeze cools you down. For those of you who want to burn some of the fat there are
                    plenty of clubs and discos&nbsp;where you can dance your butt off.
                    </p>
                    <p>
                        With such a grand degree of entertainment we hardly noticed how the two days spent
                    there passed. It was short, yes, but it was magic. I even admit that&nbsp;I&nbsp;am
                    a little envious&nbsp;of all the people we left there - the dream goes on for them
                    - as for me, I am back to exciting world of <a href="http://www.telerik.com/RadAjax">RadAjax </a>development :-)
                    </p>
                </div>
            </telerik:RadPane>
        </telerik:RadSplitter>
    </div>
    </form>
</body>
</html>

Find Assistance

Help Us Improve

Was this example helpful?