Can someone please provide me with the exact steps needed to be able to use RadGrid (Ajax) inside DotNetNuke 4? Thanks a lot.
8 Answers, 1 is accepted
Please check the following articles
Sincerely yours,
Daniel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I've checked both resources, but they seem to be more concerned with RadEditor than RadGrid. I've downloaded both Telerik.DNN.Modules_2008_1_515_trial.zip and Telerik.DNN.SkinObjects_2008_1_515_trial.zip and installed them, however, I still have no clue on how to use RadGrid inside DNN.
Anybody to the rescue? Thanks a lot.
At this moment we don't provide such a guide, but you should experience no problems while using RadGrid with DNN. Place RadGrid into DNN custom module as in every other ASP.NET application.
However if you have troubles implementing the RadGrid you are encouraged to ask us a specific questions.
Greetings,
Daniel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I am trying to use the RadGrid within a DotNetNuke Module. I have the Grid working standalone and the module built and installed on my DNN test server. My intent was to get both the DNN Module and RadGrid working independently before combining them and both seem to be working.
When I add and configure the RadGrid within the module template and build the module there are no errors. I then reinstall (Repair Install) the module and go to the page that I placed the module on and get the error below. I am using DNN version 6.1.5 and Telerik.Web.UI version 2012.1.215.35 with Visual Studio 2010 using Chris Hammond DNN Module Template (http://christoctemplate.codeplex.com).
DotNetNuke Module Error Message:
Error: ModuleExample is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Type 'Telerik.Web.UI.GridSelecting' does not have a public property named 'CellSelectionMode'. ---> System.Web.HttpParseException: Type 'Telerik.Web.UI.GridSelecting' does not have a public property named 'CellSelectionMode'. ---> System.Web.HttpParseException: Type 'Telerik.Web.UI.GridSelecting' does not have a public property named 'CellSelectionMode'. ---> System.Web.HttpException: Type 'Telerik.Web.UI.GridSelecting' does not have a public property named 'CellSelectionMode'. at System.Web.UI.ControlBuilder.AddProperty(String filter, String name, String value, Boolean mainDirectiveMode) at System.Web.UI.ControlBuilder.PreprocessAttributes(ParsedAttributeCollection attribs) at System.Web.UI.ControlBuilder.Init(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs) at System.Web.UI.ControlBuilder.CreateBuilderFromType(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs, Int32 line, String sourceFileName) at System.Web.UI.ControlBuilder.GetChildPropertyBuilder(String tagName, IDictionary attribs, Type& childType, TemplateParser templateParser, Boolean defaultProperty) at System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty) at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleControlFactory.LoadModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---
Do make sure that you are using the Telerik Q1 2012 Release dlls in your dnn installation or even better Service Pack 1 of the same release.
Greetings,
Tsvetoslav
the Telerik team
The issue was with the Telerik dll version.
Thanks for your help.
I have another question about the RadGrid.
Can you provide the ascx register Telerik.Web.UI.Skins syntax ?
I am using the RadGrid with DotNetNuke and wanted to add some of the Telerik skins but only the default skin is available.
I have the <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
Do I need the skins reference and what is the tagprefix?
Thanks
You do not need a page directive, just add a reference to the Telerik.Web.UI.Skins.dll to your project. Do make sure it is the same version as the Telerik.Web.UI.dll.
Regards, Tsvetoslav
the Telerik team