This is a migrated thread and some comments may be shown as answers.

RadGrid and DotNetNuke

8 Answers 203 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tarek Sakr
Top achievements
Rank 1
Tarek Sakr asked on 14 Jul 2008, 07:05 AM
Hi,

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

Sort by
0
Daniel
Telerik team
answered on 14 Jul 2008, 12:40 PM
Hello Tarek,

Please check the following articles

Sincerely yours,
Daniel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Tarek Sakr
Top achievements
Rank 1
answered on 15 Jul 2008, 05:47 PM
Daniel,

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.
0
Daniel
Telerik team
answered on 17 Jul 2008, 12:57 PM
Hi Tarek,

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
0
Mike
Top achievements
Rank 1
answered on 13 Apr 2012, 04:54 PM

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 ---


0
Tsvetoslav
Telerik team
answered on 18 Apr 2012, 08:49 AM
Hello Mike,

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
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Mike
Top achievements
Rank 1
answered on 20 Apr 2012, 11:20 PM

The issue was with the Telerik dll version.

Thanks for your help.

0
Mike
Top achievements
Rank 1
answered on 21 Apr 2012, 12:42 AM

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

0
Tsvetoslav
Telerik team
answered on 23 Apr 2012, 03:05 PM
Hello Mike,

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
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Tarek Sakr
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Tarek Sakr
Top achievements
Rank 1
Mike
Top achievements
Rank 1
Tsvetoslav
Telerik team
Share this question
or