Showing posts with label copy. Show all posts
Showing posts with label copy. Show all posts

Wednesday, March 28, 2012

Installing a new control

I have downloaded a new AJAX Control. but I don't now how to install it. in the readme file says:

1. Copy /ModalUpdateProgress folder into the AjaxControlToolkit projectin the AjaxControlToolkit solution you downloaded. Make sure the js fileis set as embedded resourse. recompile the project.
2. Reference AjaxControlToolkit.dllin your web app.

How do I recompile the project and how to set the js file as a embedded resourse

Seems both ModalUpdateProgress and AjaxControlToolkit are need.

Are they downloaded from the following location?

http://ajaxcontroltoolkit.com/

http://www.codeproject.com/Ajax/ModalUpdateProgress.asp


yes they are. AjaxControlToolkit is installed and it is working fine

I have downloaded some other controls such as ModalUpdateProgress but I don't know how to "recompile the project ". What project?

Wednesday, March 21, 2012

Is it necessary to run the Asp.Net Ajax Installation Wizard

I have an issue where my web project works well locally with AJAX, Update Panels and Partial Rendering. Everything is kosher.

As soon as I copy my project to a staging server, any page that uses Validators that become enabled through Partial Rendering seem to have issues. The validators cause script errors on some pages, while on others, they are not visible.

The only difference between my local environment (that I can think of) that may affect this is that I ran the AJAX installation on my local workstation while on the Test Server I just copied the Ajax DLLs into the bin folder.

So does anyone know this may be my problem? Is it necessary to run the full install of ASP.Net AJAX for everything to work well? If not then I may need to resort to custom Javascript for client validation which I'd rather avoid since I can't run the install on the server.

no, but you will need to include the AJAX DLLs in your BIN folder then.


Thanks for your reply! It's good that all I need are the dll's since that's all I have access to do. But that now raises the question of why is it all good locally and not remotely on my test server.

Oh well.. I guess I have 2 options:
(1) Javascript for validation
(2) No partial-rendering.. postbacks and use FakeAjax transitions to make nice ajax-like UI.


alcsharp:

Thanks for your reply! It's good that all I need are the dll's since that's all I have access to do. But that now raises the question of why is it all good locally and not remotely on my test server.

Locally the Ajax DLLs are in the GAC, since you used the Installation Wizard. On the server they aren't there, so you need to explicitly include them.


Oh, and I'm betting you are missing a DLL...
What did you include?


I only included System.Web.Extensions.dll. Since I'm not using the Control Toolkit at all I didn't add it.