<
authentication mode="Forms">
<
forms name=".ADAuthCookie" loginUrl="Login.aspx" timeout="480" />
</
authentication>
Auth timeout set for 8 hrs just as a test.<
sessionState mode="InProc" cookieless="false" timeout="480" />
Session set for 8 hr timeout alsoHi All,
I am new in share point and telerik control.
I want to add telerik menu control as a web part in share point site. I want some help form any share point expert J
Below is my c# code.
using System;
using System.Runtime.InteropServices;
using System.Web.UI;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Serialization;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;
using Microsoft.SharePoint.WebPartPages;
using Telerik.Web.UI;
namespace DynamicMenuWebPart
{
[Guid("4fe5b8a3-f60b-4f96-ae66-f17512972f67")]
public class DynamicMenuWebPart : System.Web.UI.WebControls.WebParts.WebPart
{
public DynamicMenuWebPart()
{
this.ExportMode = WebPartExportMode.All;
}
protected override void Render(HtmlTextWriter writer)
{
base.Render(writer);
RadMenu menu = new RadMenu();
menu.ID = "menu";
RadMenuItem item = new RadMenuItem("Item1");
menu.Items.Add(item);
this.Controls.Add(menu);
}
protected override void CreateChildControls()
{
base.CreateChildControls();
}
}
}
Also added assembly ref of Telerik.Web.UI.dll, System.Web.Extensions.dll in project
In my site web config I added entries for telerik contol are below in
<SafeControls>
<SafeControl Assembly="Telerik.Web.UI, Version=2008.2.826.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="Telerik.Web.UI" Safe="True" />
Then I build code and run code with no error. Then when I add web part in my share point page
I get error below
“The "DynamicMenuWebPart" Web Part appears to be causing a problem. The control with ID 'menu' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.
Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator.
Troubleshoot issues with Windows SharePoint Services. “
Please help me to solve the problem.Please reply me how to use telerik control as web part in share point page.
I created a Hierarchical Grid and everything works great.
I placed the RadGrid inside my RadPanelBar under
<
telerik:RadPanelItem runat="server" Text="Pages and Media" Expanded="True">
<Items>
<telerik:RadPanelItem runat="server">
<ItemTemplate>
"My grid"
However, I need to access
Protected Sub RadGrid1_UpdateCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGrid1.UpdateCommand
Dim editedItem As GridEditableItem = TryCast(e.Item, GridEditableItem)
'Access the textbox from the edit form template and store the values in string variables.
Dim mediaType As String = (TryCast(editedItem("mediaType").Controls(0), TextBox)).Text