*) Enable Ajax in your Sharepoint Site :
Two ways to do it.
First way:
This way will enable Ajax 3.5 in your sharepoint site using VS 2008.
- Open Vistual Studio 2008.
- Go to File --> Open --> Web Site
- Browes to your MOSS 2007 site location, for example :
C:\inetpub\wwwroot\wss\VirtualDirectories\90
supposing your site's port number is 90.
- Upgrade message will appear asking you for updating your site from .Net Framework 2.0 to .Net Framework 3.5.
- Click Yes to Upgrade your site to .Net Framework 3.5
- Open web.config file and you will see the changes that you need for enableing Ajax into your site automatically there .
Second way :
In this way we will follow the normal way to enabel Ajax in any ASP.NET application.(manually).
- Download ASP.NET 2.0 AJAX Extensions 1.0 OR 3.5 from http://ajax.asp.net/default.aspx
- Install ASP.NET 2.0 AJAX Extensions 1.0 OR 3.5 on the server
- Update your site's web.config as mentioned in this article http://ajax.asp.net/docs/ConfiguringASPNETAJAX.aspx
Note : if you choose to install AJAX 3.5 , you have to replace the assembly version from Version=1.0.61025.0 to Version=3.5.0.0
*) Using RadControls in MOSS 2007 Site.
To use RadControls in MOSS 2007 site , follow the following steps.
- Open your MOSS 2007 Site with VS 2005 , 2008.
C:\inetpub\wwwroot\wss\VirtualDirectories\90
supposing your site's port number is 90.
- Add RadControls to your ToolBox using Telerik.Web.UI.dll file.
- Create new ASPX page inside a folder for example MyPage folder.
- Test RadControls by Drag and Drop a Script Manager OR RadScriptManager and RadAjaxManager OR RadUpdatePanel to your page and any other RadControls.
Note : Till this moment, if you test your page from the browser, you will get a security exception becos RadControls should run under a Full Trust.
- deploy Telerik.Web.UI.dll assembly into the GAC and everything will work fine
enjoy :)
Thanks,
Mohammed Barakat Kharboush
No comments:
Post a Comment