Showing posts with label extensions. Show all posts
Showing posts with label extensions. Show all posts

Monday, March 26, 2012

AJAX Assembly

I am running visual studio on my desktop and laptop. Both have had the AJAX Control toolkit and AJAX extensions installed. I mostly do my development work on my desktop but every once in a while I take my laptop. When I take my laptop I copy and paste the visual studio 2005 folder from 'documents' and copy it onto my laptop.

I've just done this recently and I am getting errors "Unrecognized tax prefix or device filter 'ajaxToolkit' on all my ajax controls. When I create a new page and insert an ajax control Visual Studio registers an assembly 'Assembly="AjaxControlToolkit" and tags it as "cc1". On my desktop visual studio doesn't register any assembly. It just calls the control <ajaxToolkit:...> and things work.

I've checked the bin folder and it does contain the AJAX dll. I'm sure it's something simple here, can someone tell me what is missing? Thank you.

try this in your aspx

<%@.RegisterAssembly="AjaxControlToolkit"Namespace="AjaxControlToolkit"TagPrefix="cc1" %>


I know about registering the assembly this way. I was wondering why on my desktop machine I don't have to register the assembly in my aspx and when I open it on my laptop I, all of a sudden, do.


Hi,

This can be also registered in web.config.

For instance:

<system.web>
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/>
</controls>

ajax animation extender pls help

Hello all I had designed my website with help of ajax extensions in that project i had designed master page and this page inherits some another pages but whenever user goes inside the link i want to disable some of the links which presents on the master page .

i am using animation extender ,when animation flyout on button clik then i want only animated div tag and disable all background page.

I want to use same functionality as asp.net forum uses when user click's on select tags button .

whenever uses select that topic only animation is enabled on the page and background is disable

you can see this functionality by posting a query on asp.net fourm

thank you

ravi amber

Hi Ravi amber,

I'm failed to get clear enough with your question. So would you please explain what you want more clearly? Thanks.

ravi.ambar:

but whenever user goes inside the link i want to disable some of the links which presents on the master page .

i am using animation extender ,when animation flyout on button clik then i want only animated div tag and disable all background page.

I want to use same functionality as asp.net forum uses when user click's on select tags button .

What are these really mean??

Best regards,

Jonathan

Wednesday, March 21, 2012

AJAX And Content Pages

Hi to all..

I have the binaries of ajax control toolkit i do not have installed ajax extensions. then how to use these features of ajax in my project - how to add reference of it?

I have designed a master page and all the other pages - that are content pages, so how to use AJAX control toolkit in content pages.

Hi there,

first of all you have to install the Ajax Extension package (MSI), then from your project, you have to add a reference to AjaxControlToolkit assembly. Finally, select the toolbox window, right click on there, add a new tab, for instance "Ajax Toolkit", and then right click on this new tab and select the "Choose Items" option, at this point a new window will be opened so then select the "Browse" button and click on the AjaxControlToolkit assembly and that's all. You will see the whole AjaxControlToolkit on your toolbox window.

I hope it helps.

Regards,

Fernando.



hi,,

thank you for give me suggession.

i have already done that thing but the problem is when i put <asp:ScriptManager>.. inside the content page the following build error comes there "unknown type <asp:scriptmanager>"

and second thing is

if it runs successfully then there is an error in web browser like in status bar of browser "done, But with errors..."

sys. - undefined.

these errors i've faces so far so please guild for that also..

Thank you

Bhavin