Showing posts with label extension. Show all posts
Showing posts with label extension. Show all posts

Wednesday, March 28, 2012

Installing Ajax Controls

I have been using Ajax on my sites for a few months now. I went to use a control extension, modal popup, and got an error. It was looking for something on my desktop.

    I decided to reset the toolbox hoping that it would correct itself, and the control extension tab disappeared.Removed the ajax control program from the system via the control panel add/remove.Downloaded ASPAJAXExtSetup.msi and installed it.

Now I still do not have the control extension tab. It also blew up on this line in the web config:

<add tagType="System.Web.UI.WebControls.CompareValidator" mappedTagType="System.Web.UI.Compatibility.CompareValidator, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

This seems to be a common problem, but since I was not using validation controls I just deleted the lines and it compiled.

Any ideas how I can get those controls back?

what version did you uninstall? Its my understanding that ajax breaks the validators in the most recent version and in order to use them you must add those tagmappings.

http://blogs.msdn.com/mattgi/archive/2007/01/23/asp-net-ajax-validators.aspx

Follow the directions here and you should be good. It works for me.


I am not sure what version I uninstalled. I have no problems with the validators. My problem is that I cannot add the extended controls to my toolbox. For example, modal popup, tabs, accordian. I've downloaded the Control Toolkit and have run AjaxControlExtender.vsi. When I open up an ASP.NET site I do not get the controls in my Toolbox. Any ideas?
Right click in the toolbox and click Add Tab. Create a new tab called, AJJAX Toolkit. Once created click in the tab and click add controls/items. When the window comes up navigate to the AjaxToolkit.dll and click add. This should all the items.
That fixed it. When I was using atlas I had to do it this way, but this time I could not remember which dll it was. Thank you.

Wednesday, March 21, 2012

Is is required to install AJAX extension in the server to run ajax enabled site

Hi,

I have a .net application using Ajax extensions and tool kit. Now I am trying to deploy it in Win 2003 server.

After installation when I try to open the application I get the following error:

"Could not load file or assembly 'System.Web.Extensions, "

I wanted to know if it is required that I have to manually install the Ajax extension on the server. Or the dll in the bin folder of my project for the Ajax extension is enough.

Thanks

gayathri.

I think it needs to reside in the GAC on the server. I had a similar issue.


Eric


Thanks eseidel,

Could you please say me how u resolved it. I have not done anything on GAC earlier.

Thanks,

Gayathri.


Hi Gayathri,

Install ASP .Net Ajax in the server (this automatically registers the dlls in the GAC). This should take care of the problem.

If this is not possible then you have to manually register the dll in the GAC. For this you can do two things:

1. Drag and drop the dll into c:\Windows\Assembly or

2. Use GACUtil. Check out this link to get a clear idea of using the utility.

http://msdn2.microsoft.com/en-us/library/ex0ss12c(VS.80).aspx

hope this helps.

Thanks,

Raja


Could you possibly tell me which file i'd need to download... preferably the location for the asp.net ajax framework for the dedicated servers?


Hi, My problem was resolved after installling the ASP.net AJax Extension MSI in my server.

You don't have to place it in any specific location. Just download the latest version of the Ajax Extension Framework from the ASP.net AJax site and install the MSI in your server. After the installation, you should be able to see the files in the below path in your server

"C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\"

-Gayathri