RadControls
I thought I would copy this from the other post were I had it because the topic on this one is more appropriate.
Here are the steps I use to implement Telerik Controls into a mojoPortal Project...
First I assume you are developing your mojoPortal modules in your own VS project and use post build events to copy your code to mojoPortal.Web
Web.Config changes in mojoPortal.Web
NOTE: you won't need the lines with RadUpload if you are not using this Telerik feature
1) Copy
Telerik.Web.UI.dll and Telerik.Web.Design.dll to Web\bin.
2) *** In the mojoPortal.Web project add the 2 Web\bin telerik dll above as References.
3) Put
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
on the second line of all ascx or aspx pages that use any telerik controls
Also... add
using Telerik.Web.UI;
to all *.cs pages
4)To Web.config <httpHandlers> section add
<!-- Telerik -->
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
<add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
5)To Web.config <httpModules> section add
<!-- Telerik -->
<add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
6)To Web.config <handlers> section add
<!-- Telerik -->
<add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
You may or may not want to replace the standard microsoft Script Manager in layout.Master with:
<telerik:RadScriptManager ID="RadScriptManager1" enablepagemethods="true" runat="server" />
If you do... check 2 things.
1) you kept enablepagemethods="true" because it was in the origional mojoPortal one
2) Make sure you add
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
to the second line in the page.
In my app I do not see a difference using Teleriks's Script Manager over the Microsoft one.
I also copied the folder Web\App_DesignTimeStyle\ up to my project so my app could see most the js while I'm developing.
Other than the Web.Config I never want to change any Core mojoPortal code or I will be creating myself a maintenance nightmare.
Rick Hubka