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

[Solved] Ajax Manager and MasterPage issue.

1 Answer 144 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 27 Jun 2008, 10:42 PM
I am having trouble with adding the Ajax manager to my Grid when everything (Grid, DataSource, RadScriptManager) are in the content form, where there are no controls listed in the Configure Ajax window.  However if I do the exact same thing in a non MasterPage it works fine.  Ideally I'd like to have the RadScriptManager in my MasterPage....but for now I'd be happy if it worked at all in the content page.  Here's my content page and masterpage....when I choose Configure Ajax Manager from design mode...there are no controls listed. My masterpage is configured as default.

<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Sample.master.cs" Inherits="SGWWeb.MasterPages.Sample" %> 
 
<!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>Untitled Page</title> 
    <asp:ContentPlaceHolder ID="head" runat="server">  
    </asp:ContentPlaceHolder> 
</head> 
<body> 
    <form id="form1" runat="server">  
    <div> 
        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">  
          
        </asp:ContentPlaceHolder> 
    </div> 
    </form> 
</body> 
</html> 
 


<%@ Page Language="C#" MasterPageFile="~/MasterPages/Sample.Master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="MyWeb.WebForm1" Title="Untitled Page" %> 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">  
</asp:Content> 
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">  
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
    </telerik:RadScriptManager> 
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server"   
        OldValuesParameterFormatString="original_{0}"   
        SelectMethod="GetHomepageProducts"   
        TypeName="MyApp.BLL.Items.HomepageItemsManager"></asp:ObjectDataSource> 
    <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True"   
        DataSourceID="ObjectDataSource1" GridLines="None">  
<MasterTableView datasourceid="ObjectDataSource1">  
<RowIndicatorColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</RowIndicatorColumn> 
 
<ExpandCollapseColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</ExpandCollapseColumn> 
</MasterTableView> 
    </telerik:RadGrid> 
&nbsp;<telerik:RadAjaxManager runat="server">  
    </telerik:RadAjaxManager> 
</asp:Content> 
 

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 30 Jun 2008, 05:56 AM
Hi Ryan,

You seem to be experiencing the issue in VS 2008 described in this blog post. Fortunately Microsoft team resolved the problem with the latest Beta of VS 2008 SP1. You can either install the new version or use the IntelliSense to define your AJAX settings until the bug fix is included in the official release.

Sincerely yours,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
Ryan
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Share this question
or