I tried to install RadControls Q3 2009 but get the following error when I run this code:
Here is the error I get:
The error seems to be that I dont have version 3.5.0.0 of the System.Web.Extensions dll. Ok fair enough, but I thought to get
this version you'd have to download Ajax Extension from asp.net and it would create a folder in the path C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions with a new 2.0 folder? All I seem to have is a folder v1.0.61025, in this folder is a System.Web.Extensions.dll version 1.0.61231.0. Where do you get this 3.5.0.0 version?
Jason
| 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 Microsoft.SharePoint; |
| using Microsoft.SharePoint.WebControls; |
| using Microsoft.SharePoint.WebPartPages; |
| using Telerik.Web.UI; |
| namespace WebPart1 |
| { |
| [Guid("d7ac1371-a8aa-447e-a721-0ab32fc667e8")] |
| public class WebPart1 : System.Web.UI.WebControls.WebParts.WebPart |
| { |
| public WebPart1() |
| { |
| } |
| protected override void CreateChildControls() |
| { |
| base.CreateChildControls(); |
| // TODO: add custom rendering code here. |
| RadGrid rg1 = new RadGrid(); |
| SPWeb web = SPContext.Current.Web; |
| SPList list = web.Lists[0]; |
| rg1.DataSource = list.Items; |
| rg1.DataBind(); |
| this.Controls.Add(rg1); |
| } |
| } |
| } |
Here is the error I get:
| The type 'System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. |
The error seems to be that I dont have version 3.5.0.0 of the System.Web.Extensions dll. Ok fair enough, but I thought to get
this version you'd have to download Ajax Extension from asp.net and it would create a folder in the path C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions with a new 2.0 folder? All I seem to have is a folder v1.0.61025, in this folder is a System.Web.Extensions.dll version 1.0.61231.0. Where do you get this 3.5.0.0 version?
Jason