This is a migrated thread and some comments may be shown as answers.

[Solved] Master Page and Content Page Issues

1 Answer 139 Views
Grid
This is a migrated thread and some comments may be shown as answers.
bradley baker
Top achievements
Rank 1
bradley baker asked on 24 Sep 2009, 10:00 PM
On my master page I have some telerik controls so I setup the script manager/ajax manager etc on that page so they would work.  Now Im trying to build a content page that will have a ajax grid on it but I cant make it ajax because I cant modify the ajax manager (I even but the telerik definers/etc in to a content section and then just setting the content page to show the master page and such for that section but I still cant modify the ajax manager.

Because all the telerik is defined on the master page the grid etc load just fine on my content page but I cant define another ajax manager inside the content section because there is one already defined on the master page and the content is with in that form/section.

<%@ Master Language="VB" CodeFile="MasterPage.master.vb" Inherits="MasterPage" %> 
 
<!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>Dresser Inc.</title> 
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" /> 
    <link rel="stylesheet" href="css/style.css" type="text/css" media="screen,projection" /> 
    <asp:ContentPlaceHolder id="Header" runat="server">  
    </asp:ContentPlaceHolder> 
</head> 
<body> 
    <form id="MasterForm" runat="server">  
<telerik:RadScriptManager ID="MasterRadScriptManager" runat="server">  
<Scripts> 
<asp:ScriptReference Assembly="Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" 
Name="Telerik.Web.UI.Common.Core.js" /> 
<asp:ScriptReference Assembly="Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" 
Name="Telerik.Web.UI.Common.jQuery.js" /> 
</Scripts> 
</telerik:RadScriptManager> 
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
</telerik:RadAjaxManager> 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">  
</telerik:RadAjaxLoadingPanel> 
<telerik:RadSkinManager ID="RadSkinManager1" Runat="server" Skin="Office2007">  
</telerik:RadSkinManager>      
 
    <div id="wrapper">  
<div id="innerwrapper">  
 
        <div id="header">  
                <h1><a href="#">Dresser Inc.</a></h1>  
                  
                <h2>Boundless Energy</h2> 
                  
                <div id="nav">  
<telerik:RadMenu ID="PrimaryNavigation" Runat="server">  
            <Items> 
                <telerik:RadMenuItem runat="server" Text="Home">  
                    <Items> 
                        <telerik:RadMenuItem runat="server" Text="Corp Links">  
                            <Items> 
                                <telerik:RadMenuItem runat="server" Text="Oracle">  
                                </telerik:RadMenuItem> 
                                <telerik:RadMenuItem runat="server" Text="Help Desk">  
                                </telerik:RadMenuItem> 
                                <telerik:RadMenuItem runat="server" NavigateUrl="http://one.dresser.com"   
                                    Target="_blank" Text="One.Dresser.Com">  
                                </telerik:RadMenuItem> 
                            </Items> 
                        </telerik:RadMenuItem> 
                    </Items> 
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" Text="" IsSeparator="True">  
                </telerik:RadMenuItem>                     
                <telerik:RadMenuItem runat="server" Text="Help Desk">  
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" Text="" IsSeparator="True">  
                </telerik:RadMenuItem>                  
                <telerik:RadMenuItem runat="server" Text="Becker">  
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" Text="" IsSeparator="True">  
                </telerik:RadMenuItem>                     
                <telerik:RadMenuItem runat="server" Text="Canada">  
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" Text="" IsSeparator="True">  
                </telerik:RadMenuItem>                     
                <telerik:RadMenuItem runat="server" Text="DPS/BH">  
                    <Items> 
                        <telerik:RadMenuItem runat="server" Text="Sales">  
                            <Items> 
                                <telerik:RadMenuItem runat="server"   
                                    NavigateUrl="~/bradford/sales/bfd_expidite.aspx" Text="Expidite">  
                                </telerik:RadMenuItem> 
                            </Items> 
                        </telerik:RadMenuItem> 
                    </Items> 
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" Text="" IsSeparator="True">  
                </telerik:RadMenuItem>                     
                <telerik:RadMenuItem runat="server" Text="IPG">  
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" Text="" IsSeparator="True">  
                </telerik:RadMenuItem>                     
                <telerik:RadMenuItem runat="server" Text="PRG">  
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" Text="" IsSeparator="True">  
                </telerik:RadMenuItem>                     
                <telerik:RadMenuItem runat="server" Text="Admins">  
                </telerik:RadMenuItem> 
            </Items> 
        </telerik:RadMenu> 
                </div> 
                <div id="subnav">  
                </div> 
        </div> 
          
        <div id="sidebar">  
          
                <h2>Latest News</h2> 
                  
       <telerik:RadDockLayout ID="RadDockLayout1" runat="server" 
            onsavedocklayout="RadDockLayout1_SaveDockLayout" 
            onloaddocklayout="RadDockLayout1_LoadDockLayout">  
                <telerik:RadDockZone ID="RadDockZone1" runat="server" Width="231px">  
                    <telerik:RadDock ID="RadDockDock1" runat="server" Text="RadDock1" 
                    Width="230px" Height="225px" UniqueName="Dock1" 
                    Title="RadDock1" AutoPostBack="true">  
                        <ContentTemplate> 
                        <div align="center">  
                            <telerik:RadCalendar ID="SideCal" runat="server" Font-Names="Arial,Verdana,Tahoma" 
                                ForeColor="Black" Style="border-color: #ececec" SelectedDate=""   
                                ViewSelectorText="x" AutoPostBack="true">  
                                <SpecialDays> 
                                    <telerik:RadCalendarDay Date="" IsSelected="True" IsToday="True" Repeatable="Today">  
                                        <ItemStyle CssClass="rcToday" />                                        
                                    </telerik:RadCalendarDay> 
                                </SpecialDays> 
                            </telerik:RadCalendar> 
                        </div>      
                        </ContentTemplate> 
                    </telerik:RadDock>                
                    <telerik:RadDock ID="RadDockDock2" runat="server" Text="RadDock2" 
                    Width="230px" Height="150px" UniqueName="Dock2" 
                    Title="RadDock2" AutoPostBack="true">  
                        <ContentTemplate> 
                            RadDock2  
                        </ContentTemplate> 
                    </telerik:RadDock> 
                    <telerik:RadDock ID="RadDockDock3" runat="server" Text="RadDock3" 
                    Width="230px" Height="150px" UniqueName="Dock3" 
                    Title="RadDock3" AutoPostBack="true">  
                        <ContentTemplate> 
                            RadDock2  
                        </ContentTemplate> 
                    </telerik:RadDock> 
                    <telerik:RadDock ID="RadDockDock4" runat="server" Text="RadDock4" 
                    Width="230px" Height="150px" UniqueName="Dock4" 
                    Title="RadDock4" AutoPostBack="true">  
                        <ContentTemplate> 
                            RadDock2  
                        </ContentTemplate> 
                    </telerik:RadDock> 
                </telerik:RadDockZone>     
    </telerik:RadDockLayout>                  
                  
                <h3>News Title</h3> 
                  
                <class="news">  
                    An example of a "latest news" type text area. Here would be the excerpt of the article. You can of course put anything you like here.  
                    <href="#" class="more">Read More &raquo;</a> 
                </p> 
                  
                <h3>News Title</h3> 
                  
                <class="news">  
                    An example of a "latest news" type text area. Here would be the excerpt of the article. You can of course put anything you like here.  
                    <href="#" class="more">Read More &raquo;</a> 
                </p> 
                  
                <h3>News Title</h3> 
                  
                <class="news">  
                    An example of a "latest news" type text area. Here would be the excerpt of the article. You can of course put anything you like here.  
                    <href="#" class="more">Read More &raquo;</a> 
                </p> 
                  
                <h2>Sub Navigation</h2> 
                  
                <ul class="subnav">  
                  
                        <li><a href="#"><b>&raquo;</b>Link Here</a></li>  
                          
                        <li><a href="#"><b>&raquo;</b>Link Here</a></li>  
                          
                        <li><a href="#"><b>&raquo;</b>Link Here</a></li>  
                          
                        <li><a href="#"><b>&raquo;</b>Link Here</a></li>  
                  
                </ul> 
                  
                <h2>Search</h2> 
                  
                <input name="" type="text" value="Search" /> 
          
        </div> 
          
          
          
        <div id="contentnorightbar">  
        <asp:ContentPlaceHolder id="PrimaryContent" runat="server">  
          
                <h2 id="Intro"><href="#">Introduction</a></h2>  
                  
                <p> 
                  
                        Hello and welcome to Aqueous, a liquid template created by <href="http://www,sixshootermedia.com">Six Shooter Media</a>. The template itself is designed for higher resolutions, 1024x768 and up, however with it being liquid, it will work in any resolution you can throw at it. It's written in XHTML and CSS and displays consistently on various web browsers.  
                  
                </p> 
                  
                <h2 id="About"><href="#">About the Author</a></h2>  
                <p> 
                          
                        <img src="http://www.sixshootermedia.com/ssm2/wp-content/themes/Six%20Shooter%20Media/images/logo.jpg" alt="" /> 
                        Hi! My names Jay and I'm a 20 year old web designer from England. My main projects are conducted through my website <href="http://www.sixshootermedia.com">Six Shooter Media</a>, but I (obviously) also enjoy creating Open Source web templates for general use! You can keep a check on my free templates <href="http://www.sixshootermedia.com/free-templates/">here</a> which is probably a link worth bookmarking as my templates appear there a couple of weeks before OWD/OSWD due to the design queues.  
                              
                </p> 
                              
                <p> 
      
                              
                        Another site of mine that you might find interesting if you're setting up a site with a free tmeplate like this is <href="http://www.buyabutton.net">Buy a Button</a>. There, for a great price you can purchase a link to your site in the form of a button. This link will obviously provide you site with some additional traffic which is always nice! Anyway, <href="http://www.buyabutton.net">Take a look</a>!  
          
                </p> 
                  
                <p> 
                  
                        If you want more of my free templates, they can be found <href="http://www.sixshootermedia.com/free-templates/">here</a>!  
                  
                </p> 
                  
                  
                <h2 id="Examples"><href="#">Some Examples</a></h2>  
                  
                <p> 
 
                          
                    OK, here I'll just put some example html elements that you will most probably be using in your blog.  
                          
                </p> 
      
                              
                <h3>Blockquote Example</h3> 
                              
                <blockquote> 
                              
                <p> 
                                      
                        Here's your blockquote text jfds jkndskf ndsknf sldnfjk sdnf jdsbf hdsbf jbsdjfk bdskj bdsjfb dsk bds bfsdj bfsjk bfsjdbf sbjd fjsbdk fsdbf sdb fksbd sb  
                                      
                </p> 
                              
                </blockquote> 
      
                              
                <h3>List Example</h3> 
                              
                <ul> 
      
                <li><span>Here</span></li>  
                <li><span>Is our friend</span></li>  
                <li><span>The list!</span></li>  
                              
                </ul> 
      
                              
                <h3>Image Example</h3> 
                  
                <img src="http://www.sixshootermedia.com/ssm2/wp-content/themes/Six%20Shooter%20Media/images/logo.jpg" alt="" />      
          
                <h2 id="Contact"><href="#">Contact</a></h2>  
                  
                <p> 
                    If you decide to use this template please <href="mailto:james%28at%29jameskoster.co.uk">drop me a line</a> to let me know! Don't hesitiate to get in touch if your interested in a custom template or just in any of my services in general. I look forward to hearing from you!  
      
                </p> 
                  
                <h3>Example Contact Form</h3> 
                  
                <form action="">  
                  
                        <label>Name</label> 
                        <input value="Your Name" /> 
                        <label>Email</label> 
                        <input value="Your Email" /> 
                        <label>You Comments</label> 
                        <textarea rows="5" cols="5"></textarea> 
                        <input type="submit" /> 
                  
                </form> 
        </asp:ContentPlaceHolder> 
        </div> 
          
        <div id="footer">  
            <p>© Dresser Inc.</p> 
        </div> 
          
</div> 
</div> 
    </form> 
</body> 
</html> 
 

1 Answer, 1 is accepted

Sort by
0
Accepted
Mira
Telerik team
answered on 25 Sep 2009, 03:01 PM
Hi Bradley,

Thank you for your interest in our products.

I recommend that you use AJAX Manager Proxy to ajaxify the controls in the content page.

Please give it a try and tell me how it goes.

Regards,
Mira
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
bradley baker
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or