Ok, I seem to be having some trouble getting my webpart to include a RadGrid and show up on my MOSS 2007 site. I made references to Telerik.Web.Design (version 2009.3.1103.20) and also Telerik.Web.UI (version 2009.3.1103.20). Here is a sample of the code that I'm basically uploading:
Am I approaching this the write way? I think I would just like to add the RadGrid but I think this version requires a ScriptManger control to be added before? When I navigate to the page in Sharepoint that contains the WebPart I get the generic 'Error loading Page' screen with the specific error seems to be 'File Not Found'.
J
| using System; |
| using System.Runtime.InteropServices; |
| using System.Web.UI; |
| using System.Web.UI.WebControls; |
| using System.Web.UI.WebControls.WebParts; |
| using System.Xml.Serialization; |
| using Telerik.Web.UI; |
| using Microsoft.SharePoint; |
| using Microsoft.SharePoint.WebControls; |
| using Microsoft.SharePoint.WebPartPages; |
| namespace tdRadGridDocuments |
| { |
| [Guid("64992D37-4BF7-4a9d-886F-084B94073071")] |
| public class RadGridDocuments : System.Web.UI.WebControls.WebParts.WebPart |
| { |
| public RadGridDocuments() |
| { |
| } |
| protected override void CreateChildControls() |
| { |
| base.CreateChildControls(); |
| // Create RadGrid |
| RadGrid objDocuments = new RadGrid(); |
| RadScriptManager objScriptManager = new RadScriptManager(); |
| this.Controls.Add(objScriptManager); |
| this.Controls.Add(objDocuments); |
| } |
| } |
| } |
Am I approaching this the write way? I think I would just like to add the RadGrid but I think this version requires a ScriptManger control to be added before? When I navigate to the page in Sharepoint that contains the WebPart I get the generic 'Error loading Page' screen with the specific error seems to be 'File Not Found'.
J