<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AjaxProgm7_Resizable.aspx.cs" Inherits="Ajax_AjaxProgm7_Resizable" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Resizable Control Extender</title> <style type="text/css"> .handling { width:15px; height:15px; background-color:Lime; display:block; cursor:crosshair; } .resizing { padding:4px; border-style:solid; border-width:4px; border-color:Green; line-height:normal; } </style> </head> <body> <form id="form1" runat="server"> <h3>Drag the image using square button shown at the botton right corner of the Image</h3> <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"> </ajaxToolkit:ToolkitScriptManager> <div> <asp:Panel ID="Panel1" runat="server" Height="200px" BorderStyle="Double"> <br /> <br /> <asp:Image ID="Image1" runat="server" Height="100px" ImageUrl="~/Freedom fighters/bhagat singh wallpapers 1.png" Width="100px" /> </asp:Panel> <ajaxToolkit:ResizableControlExtender ID="ResizableControlExtender1" runat="server" HandleCssClass="handling" HandleOffsetX="5" HandleOffsetY="5" MaximumHeight="500" MaximumWidth="500" MinimumHeight="50" MinimumWidth="50" ResizableCssClass="resizing" TargetControlID="Panel1"> </ajaxToolkit:ResizableControlExtender> <br /> <br /> </div> </form> </body> </html>
Server Error in '/WebSite1' Application. Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.TypeLoadException: Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [TypeLoadException: Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.] AjaxControlToolkit.ToolkitScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs e) in C:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:276 System.Web.UI.ScriptManager.RegisterScripts() +261 System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) +117 System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +2063008 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2247 Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)