Thursday, June 21, 2012

Telerik in Sharepoint

1. Add the folowing to the masterpage

<%@ Register assembly="Telerik.Web.UI, Version=2012.2.607.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" namespace="Telerik.Web.UI" tagprefix="telerik" %>


2. Cut and past the folowing from your code to the masterpage:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
     <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
             <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
             </UpdatedControls>
         </telerik:AjaxSetting>
     </AjaxSettings>
</telerik:RadAjaxManager>


3. Remove the folowing from your code (Webpart,..) as a Script Manager tag exist on sharepoint masterpage:

<telerik:RadScriptManager ID="RadScriptManager1" runat="server" />

4. If you receive in error regarding "EventValidation" go to the site web.config and change the value to :
<

 5. Some times you need to enable session state, do the folowing steps:
http://moustafa-arafa.blogspot.com/2010/05/how-to-enable-session-state-in.html
enableEventValidation
pages enableEventValidation="false"

No comments:

Post a Comment