Showing posts with label Telerik. Show all posts
Showing posts with label Telerik. Show all posts

Sep 7, 2010

'~/Telerik.Web.UI.WebResource.axd' is missing in web.config

You might get this telerik exception while developing against software involving telerik rad controls in SharePoint 2010.

Full exception reads like:


Exception information: 
    Exception type: InvalidOperationException 
    Exception message: '~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadScriptManager requires a HttpHandler registration in web.config. Please, use the control Smart Tag to add the handler automatically, or see the help for more information: Controls > RadScriptManager 
Well, you need to do some entries for supporting telerik controls in SharePoint 2010 but I missed following entry, modifying web.config upon it resolved my issue:

 
  

Please note there are few more entries you need to do inorder to support telerik controls in a custom aspx page under SharePoint 2010 ( you can safely ignore the MS Ajax related entries as 2010 already contains AJAX inbuilt)

Apr 1, 2010

cannot find any bindable properties in an item from the datasource

You get this error when you are using a telerik rad control in your custom project.
The error reads like

cannot find any bindable properties in an item from the datasource

The reason is that if the datasource is probably null (like a dataset which is not initialized) the rad controls will show this error when the page loads. The workaround is that if the source is null or without data, check that condition and bind the data source with empty object as shown below

RadGrid1.DataSource = new Object[0];