I don't understand why my AJAX extension controls cannot be dragged into my code. When I drag one of the controls, nothing appear.
I tried to fix this problem by download the Ajax Control Toolkit, extract the AjaxControlToolkit.dll, create a new tab in ToolBox, select Choose Item, select AjaxControlToolkit.dll and press Ok. Then my new tab disappear. Or the tab remains, without any controls in it. However, when I check "Show All", the controls and disappeared tab does exist.
I need to use Ajax in asp.net. Really need help.
Ok I found the solution. My Windows 7 does not have .NET Framework 3.0 which is required by teh AJAX Control Toolkit. After install the .NET Framework in Control Panel->Program->"Turn Windows Features on or off" and changing the project to .NET Framework 3.5, it worked.
Related
I wanted to try developing a website in VS but I'd really like a visual (WYSIWYG) editor. Apparently, this is available in VS. In that video, and lots of other videos and websites, it shows 'Design' and 'Split' buttons on the window, which should show a live view of the web page that's open. It seems this is supposed to work with both .aspx and .cshtml files.
However, nowhere can I find how to enable this, and I've done a lot of searching. I've even uninstalled and reinstalled VS. There are no options, settings or menu options to enable it. I'm using VS 2022 Community, fully up to date, in an ASP.NET Core Web App project using .NET 7.0.
Does anyone know what's wrong? I wondered if it was only available in VS Professional/Enterprise, but seemed silly to me.
that feature in the brand new vs2022 is for ONLY .net framework, and ONLY for web forms.
So, if you using MVC, then you don't have a forms designer.
And if you using .net core, then you can't use this feature either.
So, when you create a project, it MUST be .net framework (not .net core), and it MUST be a webforms project, and NOT MVC projects.
So, that would be say this (for c#).
And (best choice) would of course be this template:
And if using vb.net, then again, same thing:
So, web projects, and .net framework - NOT .net core projects.
thus:
So, out of those templates, then again, of course a asp.net web application would be the preferred choice.
so, for example, here is a gridview in "live" preview, and yes you can edit or drag + drop controls into that live preview.
it looks like this (split screen for example).
but, if I run the page, same in a chrome based browser (Edge, or chrome).
Then I see this:
Since the new designer is based on the chrome engine then as above shows, yes, it is rather cool.
Here is that web page, not split view in the designer:
(so I have NOT yet hit f5 to run, but only am in design mode)
so, in old legacy designer, I would see/get this:
So, note how do you DO NOT see say for example the bootstrap menu bar.
But, if I turn on live preview, and now I see/get this:
Note how we now even see the bootstrap menu bar in the preview - I have not yet hit f5 to run in browser. And on the bottom, you see a "bread-crumb hierarchy" as to what element you clicked on (very much like f12 debug tools in a browser, and then using "elements" selection).
You can find it by creating an asp.net web (.Net Framework) and selecting Web Form in it.
I use vs2022 17.4.2 community version
You can also view its settings in the tool.
total newbie to AJAX, I got the NuGET an I found the Ajax Control Toolkit
7.1213.0
I ran this PM> Install-Package AjaxControlToolkit
It said successful at the end.
There is nothing to add if I right click a TAB in the toolbox and look in the .NET Framework components.
It says The Ajax Control Toolkit contains more than 40 controls, including... Where do I see them and how do I add them to my WEB page?
I see an 'AJAX Extensions' tab in my Toolbox which was there already, but there are not 40 controls. Just these
Pointer, Scriptmanager, ScriptManagerProxy, Timer, UpdatePanel, UpdatProgress
Are these suppose to be controls I can drag onto my WEB page or how do they work?
First of all you have to take a look at the sample.
Second, you have to download the AJAX-Control-Toolkit and you will find example projects.
How to add it to ToolBox.
How to add ajaxcontroltoolkit to toolbox in Visual Studio 2012
You need to add the controls in you tool bar. You can go through this link.
http://weblogs.asp.net/yousefjadallah/archive/2010/04/16/installing-ajax-control-toolkit-4-in-visual-studio-2010.aspx
I am using Visual Studio 2010 SP 1. On opening/creating any .cshtml page (view), I am unable to find the option to see the rendered page in VS as soon as I make any change (similar to "design" tab in web-forms).
Is this not supported in VS 2010 or am I missing something?
The design view doesn't exist in MVC projects.
Take a look at this answer for more information: Is there any graphical designer for ASP.NET MVC?
If you need the visual assistance when designing, you can run your application without debugging ( Ctrl - F5 ), and then once updates are made, you can refresh the web browser to view updates. It isn't real-time, but at least it is something.
In visual studio 2019 you can use the option "Show in browser" or click CTRL + SHIFT + W
i have a web application and in this i am using ajax controls.
due to some problem i remove the reference of ajaxcontroltoolkit and reset the toolbox of visual studio. After some i again add reference of previous ajaxcontroltoolkit and add tab in visual studio toolbox.
Now problem is that when i insert the control of newly installed ajaxcontroltoolkit and run the webapplication the no event(which is in update panel) or no ajax validation fire.
so please help what should i do
lot of time i try and remove and add reference of ajaxcontroltoolkit but not working.
Try manually deleteing the AjaxToolkit.dll file from your Bin directory.
I am working with Visual studio 2008. I want to work on WPF DataGrid control.
I downloaded WPF toolkit and install it, and then added toolkit reference in my project, but it does not recognize Datagrid control, and does not show it in Toolbox, I even try to add it in toolbox through choose Item.. but when I click WPFToolkit.dll, it gives the error. And even if I write code in XAML it does not recognize dataGrid.
Ensure you have selected the WPF Components tab before pressing browse. You are telling it to look for WinForms controls in your screenshot.