I am unable to Render page from the wesite designed using Telerik ASP.Net Ajax contol.
We are using Vs2008
Deplyed in Separate server which is under fire wall protection.
Firewall restricts the page stating Microsoft Security Bulletin MS07-027
For testing I will send you my sample test code
<%
@ Page Language="C#" AutoEventWireup="true" CodeBehind="GridTest.aspx.cs" Inherits="Test.WebUI.GridTest" %>
<%
@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!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>Test Page</title>
</
head>
<
body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div>
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" GridLines="None">
<HeaderContextMenu EnableTheming="True">
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</HeaderContextMenu>
<MasterTableView>
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn UniqueName="column" DataField="Name" HeaderText="Name">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="column1" DataField="Age" HeaderText="Age">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="column2" DataField="Place" HeaderText="Place">
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
<FilterMenu EnableTheming="True">
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</FilterMenu>
</telerik:RadGrid>
</div>
</form>
</
body>
</
html>
Code behind file
using System;
using System.Collections.Generic;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Xml.Linq;
namespace Test.WebUI
{
public partial class GridTest : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
List<TestData> ltdata = new List<TestData>();
ltdata.Add(
new TestData { Name = "Test1", Age = "34", Place = "London" });
ltdata.Add(
new TestData { Name = "Test2", Age = "34", Place = "London" });
ltdata.Add(
new TestData { Name = "Test3", Age = "34", Place = "London" });
ltdata.Add(
new TestData { Name = "Test4", Age = "34", Place = "London" });
RadGrid1.DataSource =
from r in ltdata
select r;
RadGrid1.DataBind();
}
}
public class TestData
{
public string Name { get; set; }
public string Age { get; set; }
public string Place { get; set; }
}
}
Designer genetated file
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace
Test.WebUI {
public partial class GridTest {
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// ScriptManager1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.ScriptManager ScriptManager1;
/// <summary>
/// RadGrid1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::Telerik.Web.UI.RadGrid RadGrid1;
}
}
Note :We are be render/view the page in intranet.