ive used the Ajax Control Toolkit in previous versions of VWD but for some reason im having trouble adding the Toolkit to the toolbox in this new version (2010) i have setup on my laptop, when i browse to and select the .dll file it gives me the error "Object reference not set to instance of an object" can anyone please help ive been trying to fix this issue for a little over an hour now.
I just downloaded the latest ajax control toolkit and was trying to use ComboBox (as described on the samples page). However, I can't find it (tried to do reflection on the assembly as well).So is the ComboBox still in ajax control toolkit or it is removed or renamed etc?
i open visual studio 2008 and create a new project, in this project i use the ajaxcontroltoolkit, now in the vs toolbox i add a new tab, and named it AjaxcontrolToolkit, then i click on it and select choose items, in the .net framework components i browseto the ajaxcontroltoolkit dll, then all the ajaxcontroltoolki controls appears in the tab, an work fine, but when i close the vs and start it again i lost that tab, there are any way to keep in this tab for the next restart of vs?
I am trying to create a form that is made up of controls with values that represent an entity with multiple child entities.
The form will represent a product with multiple properties where the user will then be able to create options with multiple properties which in turn be able to create multiple option-items with multiple properties.
My question is what is the best approach? Can i use ajax to avoid postbacks and having to rewrite the controls to the page? If i dynamically add the controls in the form of table rows or grid rows will the data/control values be available in the code-behind when i submit?
This is an age old question.. the last time i had to do this was .Net 2.0, pre-ajax (for me) and i was forced to recreate all the controls on each post back.
According to the above article you "Unblock" the zip file and then unzip it. You then create a new tab within the toolbox window and add the dll to show and use the toolbox items. However when I do that I'm getting the following:
Recently i am working in VS2008 installed in windows xp SP2. In the toolbox i added a new tab and added some third party controls in the toolbox, by using "Choose Item" dialog.. I also added Ajax ToolKit to the tool box. It worked fine and i could drag n drop controls.
But then if i restart VS2008, all the tabs i created and controls in it goes off and disappears ncluding Ajax Toolkit. Each time i restart it, I have to have add those controls newly?
Is this a Bug?? or Is there any solution for this?
//Server Error in '/ECommerceWebSite' Application. Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=184.108.40.206, 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=220.127.116.11, 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=18.104.22.168, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.] AjaxControlToolkit.ToolkitScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs e) in d:hgactServerAjaxControlToolkitToolkitScriptManagerToolkitScriptManager.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
i am using ajax modal popup control and when i run my web page i am getting this error....
I am Getting the following error using the Numeric UpDown Control from Ajax Control Toolkit. Assembly 'AjaxControlToolkit, Version=3.0.30512.20315, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' contains a Web resource with name 'AjaxControlToolkit.NumericUpDown.NumericUpDownBehavior.debug.js', but does not contain an embedded resource with name 'AjaxControlToolkit.NumericUpDown.NumericUpDownBehavior.debug.js'.
I've inherited some code that is having a serious problem. On one page, there are several pairs of "Yes"/"No" checkboxes that act like pairs of radio buttons through the use of the ACT MutuallyExclusiveCheckBoxExtender control. They work as expected. However, when I navigate away from the page, I get a "Microsoft JScript runtime error: Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method." error in the dynamically-generated ScriptResource.ax...c2d9970 [dynamic] file.
The specific method in the dynamically-generated code is: var $removeHandler = Sys.UI.DomEvent.removeHandler = function Sys$UI$DomEvent$removeHandler(element, eventName, handler)
The element is set to any of the checkbox controls (I've removed them one-by-one and it happens to ALLof them) and the eventName is "Click". I gather from the code that it's trying to do a removeHandler before the addHandler for the particular element has taken place. True, I don't have any explicit addHandler lines in my code, but I don't any explicit removeHandler lines either. About all I've got in the aspx code is: [Code] ....
The formatting of the code in this message is a bit weird, but it's basically a simple table with three columns. On each row, there's text in the first column, the checkboxes in the second column and a button in the third. I've searched high and low on the web and nearly every thread I read about his error talks about it in relationship to the use of command buttons in an ACT UpdatePanel.
the reason i posted this question is that i just added ajax toolkit in my visual studio 2005 and i installed ajax web extension version 1; downloaded from microsoft website named "ASPAJAXExtSetup" but when i added ajax object in my web form i ve gotten this error: "Error 1: Indirect reference is being made to assembly System.Web.Extensions version 22.214.171.124, which contains 'AjaxControlToolkit.CalendarExtender'. This Project references a prior version of System.Web.Extensions version 1.0.61025.0. To use 'AjaxControlToolkit.CalendarExtender', you must replace the reference to System.Web.Extensions with version 126.96.36.199 or higher. C:inetpubwwwrootAJAXEnabledWebSite1Default.aspx 1 1 C:...AJAXEnabledWebSite1"
is there any option to upgrade ajax web extension version 1 to upper without installing visual studio 2008 and .net 3.5? or any other solution?
App is imported in the parent web.config file, Tom and App have classes with the same names.To avoid errors resulting from ambiguous class names I removed the App namespace from the sub-directory where the Tom namespace is used.
However the namespace App is still imported on content pages that have a master page outside the Tom directory. This causes the aforementioned errors.Here is my dir structure
-Root Directory --Default.master --web.config (App is added in web.config) --Tom Sub-diretory ---web.config (App is removed in web.config) ---Content page that uses Default.master (Here is the problem) ---Page without master (Works OK)
I'm trying to use the AJAX Control Toolkit on a content page that uses master pages. I want to put the ToolkitScriptManager on the Masterpage because there are multiple going to use the toolkit. When I try to drag the any of the controls onto the Masterpage, or a content page, I get an error in a dialog box. It says "The operation could not be completed. Invalid FORMATETC structure." I used the AJAX Control Toolkit in a website project yesterday with out any issues. I'm trying to use it in a web application project today which it should work in. I've read a few articles online but can't get a solution to work. I deleted the tab in the tool box, recreated it, choose the items for the new tab. I unloaded and reloaded the project. I verified that the correct version of the framework is being targeted.
I am getting an error in my application in AJAXControlToolkit.ScriptControlBase.System.Web.UI.IPostBackDataHandler.LoadPostData. I am adding and removing tab panels based on user input data. Sometimes the app creates 5 to 10 pannels and sometimes only 1 or 2 depending on the user input parameter. The error occurs when the user input parameter dictates that 10 panels be created. When the user then changes the input parameter to a selection that only requires 1 panel the error occurs and the error message refers to a parameter name :index with the specified argument out of range It appears that is is still looking for the 10 panels created in the previous user selection. The error message is in the Disassembly of the AJAXControlToolkit.I thought maybe was linked to enableviewstate but I set this to false for the tabpanel and tabcontainer yet still get the error.
When I try to place any control from Ajax control toolkit, the design surface shows code starting with "<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" " .
I keep recieving this error when trying to add the toolkit to my application: "There was an error loading types from assembly v:my intranet etProjectinAjaxControlToolkit.dll Request for the permission of type System.Web.AspNetHostingPermission, System, Version=188.8.131.52,culture=neutral,PublicKeyToken=b77a5c561934e089 failed"
This has only recently started happening.. There are already AJAX controls on the page which still work but I want to add new ones with the new toolkit but for some reason cannot add the toolkit anymore. If I copy the toolkit to the local C: drive of my PC and add them I can , but when I then copy my page back to the server, none of the controls are working.
wanna use filtered TextBox ajax control in my simple page.I add a textbox in my page. And then i drag first script manager on my page and then drag filtered textBox in my textbox.But when i run my project i had an error like this picture..What is the problem? Where i doing mistake?