Showing posts with label project. Show all posts
Showing posts with label project. Show all posts

Wednesday, March 28, 2012

How do I use Ajax

Hi,

I need to use Ajax in my project. I Added reference "Ajax.dll" to my project references.
What are the other settings I have to make?
What are the changes I have to do in Web.config file?

I'm using Asp.net 1.1 and code behind C#.

Thank you.

If you would like to apply Ajax framework to your web application,you'd better install?Visual?Studio?2005?in?your?PC?
and?download?Ajax?Beta?2,Futures?November?CTP,Ajax?control?toolkit,Microsoft?Ajax library?from?Ajax?website?- http://ajax.asp.net/default.aspx?tabid=47&subtabid=471
You can download Ajax e-learning from here - http://ajax.asp.net/default.aspx?tabid=47&subtabid=478
Try to refer to this reading to get Ajax started materials - http://ajax.asp.net/docs/

Besides,you can download Ajax professionalAjaxPro.dll,AjaxProVSTemplateandadd?reference?to?it?in?visual?
studio?2003?or?2005.Try?to?take?a?look?at?this?link?for?details?-?http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=AjaxPro

Wish the above can help you get started with Ajax.

How do I start using AJAX controls on an existing project?

I went through the video tutorial where it had me open a template project, then add a confirmbuttonextender which worked very well. I noticed when i opened the template on the aspx page by following the videos instructions, it already contained a scriptmanager. On my existing poject I do the same steps to setup the button control, only this time i manually added a scriptmanager, but my button does nothing. Is there something i have to do to my project to enable it to Use the AJAX controls or something I have to do to the scriptmanager?

jwkeenan:

I went through the video tutorial where it had me open a template project, then add a confirmbuttonextender which worked very well. I noticed when i opened the template on the aspx page by following the videos instructions, it already contained a scriptmanager. On my existing poject I do the same steps to setup the button control, only this time i manually added a scriptmanager, but my button does nothing. Is there something i have to do to my project to enable it to Use the AJAX controls or something I have to do to the scriptmanager?

also there is a confiuration.

the best way to start using AJAX controls on an existing project . open an ASP.NET AJAX-Enabled Web Site . then add the pages in the existing project.

Regards.


ok i opened a new asp.net ajax web enabled site and added all the items form my other project, but the control still does nothing. Any other ideas i can try?


Hi, I try this way several times. I had several project and do this way.

note: don't add the web.config file from the exist project.

is ther an error appear to you?


It works! I was reloading my old web config file. Thanks for your help.


I started by...

Downloaded the ASP.NET AJAX Control Toolkit and load it's sample website into an instance of vs2005. You can run the sample website in debug mode and copy/paste desired code segments directly into your application. After you get the hang of specific controls then you can pick them directly from your AJAX Control Toolkit tab on the tools browser. This process will also helps in understanding the usage of the update panel.

PS - check out my schools site at:www.jeromessite.com.

If you like the way it works the let me know and I will direct you to the source code.

Thanks,

Jerome

Monday, March 26, 2012

How do I convert a Non-Ajax ASP site to AJAX?

I have a fairly large project that is an standard ASP.NET C# site and I'd like to be able to use soem ajax on the main page, nothing big. I've installed ajax and the sample site runs fine, (of course it's been created as an ASP AJAX site from the beginning though). How do I make my ASP site work with ajax? The web config file?

Checkout these videos:
http://www.asp.net/learn/videos/view.aspx?tabid=63&id=81
http://www.asp.net/learn/videos/view.aspx?tabid=63&id=82


I followed the steps in the first video but when I try to add a ScriptManager to a page on my site I get the following error

Error 29 The type or namespace name 'ScriptManager' does not exist in the namespace 'System.Web.UI' (are you missing an assembly reference?) C:\Path\Default.aspx.designer.cs 74 41

EDIT: I found out how to fix it. The video doesn't say that you had to add a ref to the dll. So after adding a ref toMicrosoft.Web.Extensions.dll, everything seems to work

Saturday, March 24, 2012

How Do I add Atlas to a Current project?

All,I am trying to add atlas to a current project so I can use some things from the toolkit. I tried dragging in the collapsible panel from the toolbar, but what else should I do to make it work?

Karls

There is some stuff you have to add to your web.config. Search Google harder, it is out there, I just did this recently and had to find it. I believe it was on Scott's blog or the Microsoft web site. Don't get confused about how to add Atlas to Visual Studio (toolkit) from Adding Atlas to your project.

-Wayne