Sitefinity ASP.NET CMS

Using "Rad Dock for ASP.NET AJAX" in Sitefinity

Here is a very simple way on how to use RadDock control in Sitefinity.

You can add  RadDock in a .master page thus gaining the ability to "move around" whole sections of controls freely on the page.

 

How to:

1. Create a master.page file.

2. Add the RadDock control to it.

3. Withing the RadDock add a "<asp:contentplaceholder" tags

The file it self should look like this:

 

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="RadDockMaster.master.cs" Inherits="App_Master_RadDockMaster" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
    <title></title
    <asp:ContentPlaceHolder id="head" runat="server"
    </asp:ContentPlaceHolder> 
</head> 
<body> 
    <form id="form1" runat="server"
    <asp:ScriptManager runat="server" ID="scrManager"></asp:ScriptManager> 
    <div> 
    <telerik:RadDock ID="radDock" runat="server" Height="400" Width="400" Resizable="true"
        <ContentTemplate> 
            <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server"
             
            </asp:ContentPlaceHolder>         
        </ContentTemplate>         
        </telerik:RadDock> 
    </div> 
    </form> 
</body> 
</html> 
 

 

 

4. Save and Upload the mater.page to Sitefinity.

Now when you create a page that is using this template you will have a place holder nested in the RadDock control, to add content in it.

By Nikolai D. Atanasov on 27 May 2009 in Concepts and Theory All Blog Posts

  • Facebook
  • DZone It!
  • Digg It!
  • StumbleUpon
  • Technorati
  • Del.icio.us
  • NewsVine
  • Reddit
  • Blinklist
  • Furl it!
Add Comment
  1. Formatting options
       
      
     
     
       
  2. Security image

Subscribe to blog feed

Categories

About Telerik

Telerik, the publisher of Sitefinity CMS, is a leading vendor of ASP.NET AJAX, ASP.NET MVC, Silverlight, WinForms and WPF controls and components, as well as .NET Reporting and .NET ORMTFSCode Analysis and Web Application Testing tools. Building on its solid expertise in interface development and Microsoft technologies, Telerik helps customers build applications with unparalleled richness, responsiveness and interactivity. Created with passion, Telerik products help thousands of developers every day to be more productive and deliver reliable applications under budget and on time. Read more about Telerik

Copyright © 2002-2010 Telerik. All rights reserved. Powered by Sitefinity