I can't insert Ajax controls in VS2010. I installed the latest release of Ajax and have tried to use several ajax controls. In particular I tried to insert a combobox control and I get nothing. I removed Ajax and reinstalled and I get the same problem.I have installed ajax twice. I am an expereinced ajax user. Is there something else I need to install in VS2010 to get Ajax to work?
I am using VS 2010, just downloaded the Ajax Control Toolkit Binaries, have got not wireless mouse (even I tried to unplug my mouse - no success -) and I have tried deleting the .tbd files as mentioned
here; but still the Ajax control toolkit controls are grayed out and disabled!
I have tried the following also:
1. creating a new webite.
2. changing the target .NET framework from 4.0 to 3.5 and vice versa.
our company just upgraded to VS2010, but we have not upgraded to .NET 3.5 or 4.0 yet, we're unfortunately still using 2.0. I have the toolkit for 2.0 that I was using with VS2008, but now that I am using VS2010, my AJAX items no longer work. I was wondering first of all if it's even possible to use the old 2.0 toolkit with VS2010, and if so, is there something special I need to do to get the controls to work now that I have opened my project in VS2010?
What's the proper way to use AJAX control toolkit in VS2010? I created a web page and drag a the Calendar Extender from AJAX control Toolkit and it gave me whole bunch of code. Actually doesn'y matter which control I try to use, the result is the same.
I'm new to visual studio 2010 and also new to AJAX in .NET (I've done AJAX via jquery and classic ASP before). I want to simply make a call from a client-side function to a server-side ASP.NET (VB) function to get a set of data, could be a datatable, custom object, whatever makes sense, and return that data to the client where it can be processed. For example, lets say I have a web app that allows the user to search on customers, I want to pass the search criteria to the server-side function which does the data retrieval and returns a collection of Customer objects in some form, then the client displays the results. I'm sure this is a pretty common usage of AJAX and I've been looking for some samples or documentation on how to do it, but the only think I've come up with so far was this. I wasn't actually able to get this sample to work, and its for VS2005 so I'm sure the concepts don't apply to 2010.
I just upgraded a project which was working fine using some ajax control toolkit components. When upgrading the project from VS2008 to VS2010 now I get an error stating that the 'ToolScriptManager is no a known element'...?My ajaxcontroltoolkit.dll is in the bin folder of the website (as it was before) but that doesn't seem to satisfy the VS2010...
The exact error is:
'ToolScriptManager is not a known element. This can occur if there is a compilation error in the website or the web.config file is missing.
In the build errors I have this error:
Error 17 Method 'get_EnableCdn' in type 'System.Web.UI.ScriptManager' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation. C:ProjectsmedlemsportalumbracoMembersEnrolment.aspx 10
Does anyone know what should be done to resolve this...?
I noticed the calendarextender nor the validators work in my updatepanel.google told me that some dude made some custom validators in 2007.has there been an update on this (I use ajax 3.0).
using 40412 in VS2010, I can't get reorderlist to work - can't pick any items up and move them around in any browser. sample site works fine, and I even tried referencing the dll from the bin directory there with no luck. tried running some code that binds data manually from a working project that uses a previous release and all I get is a regular list. converted data source to a sqldatasource and still no dice.
one oddity I do see between my non-working project and the other working examples (sample site and my older project) is that the generated list item div IDs are identical in my project, while the working examples all have unique IDs generated, ie:
non-working project: <li id="ReorderList1" style="vertical-align:middle;"> (all LIs identical) working example (40412 sample site): ><li id="ctl00_SampleContent_ReorderList1__rli5" style="vertical-align:middle;"> (each line has unique suffix - in this case __rli5)
I installed VS2010 and proceded to convert my projects but the wizard failed. Insted I decided to recreate the whole solution with 5 projects from scratch, except that my Ajax 4.0 controls do not work. The projects are "Class" type and the final product is complied DLL that I'll be using some place else.
I am referencing the latest AjaxControlToolKit and in one of my projects where I'm building tab panel controls on the fly, where I'm adding "Controls" to the TP such as tpOverdue.Controls.Add(linkButton), the "Controls" throws an error:
'AjaxControlToolkit.TabPanel' does not contain a definition for 'Controls' and no extension method 'Controls' accepting a first argument of type 'AjaxControlToolkit.TabPanel' could be found (are you missing a using directive or an assembly reference?)
Another error I get in a separate project (same solution) where I build the scriptmanager on the fly like this: ScriptManager.RegisterStartupScript(this, typeof(PeopleSearch), "UpdatePanelFixup", "_spOriginalFormAction = document.forms[0].action; _spSuppressFormOnSubmitWrapper=true;", true); - The error is: "The name 'ScriptManager' does not exist in the current context".
Interestingly, this solutiom resides on a 2003 server (developping on test server). I have similar solution on Vista using VS2010 where the difference is that instead of using class projects in my solution I use Web User Controls in my web solution and all works like a charm. I don't know if this is enough info for you guys to offer feedback, so if neccessary, I can post some code. Just let me know.
have a Visual Studio 2010 project which targets v4.0 of the .NET framework.In the project, I have a page with an ASP.NET UpdatePanel - which works perfectly within VS2010's development server.However, when deployed to an IIS 6 server, the controls in the UpdatePanel cause a full-page postback - not an async postback.The site has its own application pool.I've tried visiting the ScriptResource.axd URLs which are present in the rendered page and they all produce valid looking JavaScript files.I can't see any Javascript or other errors.
I installed a fresh machine with Win7 x64 Ult. wMS updates including 1/5/09, then installed VS2010 Ult beta with .Net V4.0. When I create a new web site, add the ajax references and controls, and use an ajax control on a generic aspx page then build I get the following popup: Find Source: ScriptObjectBuilder.cs and Find Source: ScriptControlBace.cs I downloaded the Ajax source file and point this to the file its requesting it doesn't like it. Anyone know what is going on with Ajax and VS2010?
I upgrade to VS2010 and I no longer sees the UpdatePanel control available. I do have the latest AJAX Control Toolkit but I do not see this option. In addition, I kept getting the above error. How do I resolve this issue?
I have a VS2010 Web Application that uses the AjaxControlToolkit. I am able to build the Debug configuration. When I build the release configuration I get the following error message: Error 89 Could not load file or assembly 'file:///S:My CodeLibrariesACTMay 2010AjaxControlToolkit.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) S:My CodeEZFishingEZFishingEZFishingSGEN EZFishing
The location of the file is correct, and I just downloaded and unzipped there the Ajax CT. I have always built this app correctly before upgrading to VS2010 and ACT May 2010.
When I format an accordion control using a skin file (as opposed to entering the formatting as attributes on each <asp:Accordion> tag), the control renders as expected when the website is run. However, in the VS2010 designer, the control won't display but instead shows the generic "Error Rendering Control" box which hasthe exception, "Collection was modified; enumeration operation may not execute."
I have a Formview in INSERT Mode that is binded to a datatable. One of the colums in my Database called "AppointmentDate" is of type DateTime. On aspx, i have a ajax calender extender control. What I want to do is allow the User to Select the date from the Calender and also enter a time. Basically so they can make an appointment. What is the best way to do this in C Sharp and do i need a time column as well
I am trying to pass in as an insert parameter for SQLds2 the scope_identity of the insert of SQLds1.
Exception Details: System.InvalidOperationException: Error executing 'InsertCommand' in SqlDataSource 'SqlDataSource1'. Ensure the command accepts the following parameters: @Name1, @NewId
I use GridView & FormView to update a record. but when I click the "save" button, throw an except : FormView must be in the insert mode to insert a record. The record has been updated success, and I didn't change the mode of the FormView, how this error comes?
I do have a details view, which insert data to a database table using SQL Datasource. Now i need the data to be inserted in to 2 tables instead of one.
In my detailsview, I have an emptydatatemplate set up to allow users to enter new records. The code works. However, once the record is inserted, the detailsview defaults to a standard insert screen. I know this will cause confusion for the users. I would prefer the detailsview to either show in edit mode or a read-only mode. I have used detailsview.changemode and detailsview.currentmode in the custom sub created for the add new button of the emptydatatemplate- neither of which do what I was hoping. It would be even better if when there was no data, it defaulted to the insert screen (which seems like that should be an easy, no-brainer way for .net to function) but it doesn't. Or, I don't know how to accomplish it.
I don't want to force the user to click cancel after inserting an item through the emptydatatemplate just to be able to use the detailsview for other records.
I have grid view in ASP.Net 3.5. I need to add multiple blank rows in a gridview and then have to save them in database. How can I do that in most simplest way?
I am using Visual studio 2010 express and I have a details view databinded to an sql database table. When I use the Insert option on the view it causes an error due to it trying to insert a null into the primary key field. If the Insert function does not create a new primary key entry how is it created?
I am using 1 textbox with a Ajax Calendar extender to allow my user's to select a date graphically (exp: 12/15/2009). I have another textbox for the hour and minutes in military time(exp: 15:30). I think i have the code to grab the data from the 2 textbox's and combine them to be inserted into the field (exp: 12/15/2009 15:30). Here is my insert code for the Field:
[Code]....
However unless I make all the fields Nullable the insert fails, on top of that none of the other field that I have selected on the Detailsview Insert or Edit are inserted into there fields. Half of my fields have to be non-null values. So how do I fix this?
I can supply additional vb code and the aspx code if needed.
This is the error I'm getting: Cannot insert the value NULL into column 'Operation_type', table '/GAOSDB.MDF.dbo.BC_Perf_Log'; column does not allow nulls. INSERT fails. The statement has been terminated.'
This is the first non-null column.
I need to get this figured out because I have 30 other web pages that will be utilizing the same approach.
I'm having some issues trying to create and setup a database to use for a project. I have SQLExpress running in the background, but I figure that's from my old Visual Web Developer 2008 Express. I have MS SQL Server 2008, but it doesn't look like it's installed. I'm guessing I need to manually install it before trying to add databases/tables.