Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesTelerik ImageGallery on a childpage errorTelerik ImageGallery on a childpage error
Previous
 
Next
New Post
8/29/2014 12:03 PM
 

I’m building a DotNetNuke module with the Telerik ImageGallery. When the module is on a page in the root of the menu it is working fine. When I put it in a child page I get an error. This error only occurs when there are image items in the gallery. When the gallery is empty it’s okay. Anyone an idea what is happening here?

AssemblyVersion:7.3.2

PortalID:0

PortalName:My Website

UserID:1

UserName:host

ActiveTabID:89

ActiveTabName:ImageGallery 2

RawURL:/ImageGallery-1/ImageGallery-2

AbsoluteURL:/Default.aspx

AbsoluteURLReferrer:http://dotnetnuketest/ImageGallery-1

UserAgent:Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.102 Safari/537.36

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:0245fd77-2eb7-4566-8f88-ced847a17ce5

InnerException:Cannot use a leading .. to exit above the top directory.

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:System.Web.Util.UrlPath.ReduceVirtualPath

StackTrace:

Message:

DotNetNuke.Services.Exceptions.PageLoadException: Cannot use a leading .. to exit above the top directory. ---> System.Web.HttpException: Cannot use a leading .. to exit above the top directory.

   at System.Web.Util.UrlPath.ReduceVirtualPath(String path)

   at System.Web.Util.UrlPath.Reduce(String path)

   at System.Web.UI.Control.ResolveClientUrl(String relativeUrl)

   at Telerik.Web.UI.ImageGalleryItemConverter.Serialize(Object obj, JavaScriptSerializer serializer)

   at System.Web.Script.Serialization.JavaScriptSerializer.SerializeValue(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat, MemberInfo currentMember)

   at System.Web.Script.Serialization.JavaScriptSerializer.SerializeEnumerable(IEnumerable enumerable, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat)

   at System.Web.Script.Serialization.JavaScriptSerializer.SerializeValueInternal(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat, MemberInfo currentMember)

   at System.Web.Script.Serialization.JavaScriptSerializer.SerializeValue(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat, MemberInfo currentMember)

   at System.Web.Script.Serialization.JavaScriptSerializer.Serialize(Object obj, SerializationFormat serializationFormat)

   at Telerik.Web.UI.RadImageGallery.DescribeClientProperties(IScriptDescriptor descriptor)

   at Telerik.Web.UI.RadCompositeDataBoundControl.DescribeComponent(IScriptDescriptor descriptor)

   at Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control)

   at Telerik.Web.UI.RadCompositeDataBoundControl.GetScriptDescriptors()

   at System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl)

   at Telerik.Web.UI.RadCompositeDataBoundControl.RenderContents(HtmlTextWriter writer)

   at Telerik.Web.UI.RadImageGallery.RenderContents(HtmlTextWriter writer)

   at Telerik.Web.UI.RadCompositeDataBoundControl.Render(HtmlTextWriter writer)

   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at DotNetNuke.UI.Modules.ModuleHost.RenderContents(HtmlTextWriter writer)

   at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)

   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)

   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)

   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)

   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)

   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)

   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)

   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at System.Web.UI.Page.Render(HtmlTextWriter writer)

   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   --- End of inner exception stack trace ---

 

View.ascx:

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="View.ascx.cs" Inherits="Christoc.Modules.ImageGalleryTest.View" %>

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<telerik:RadImageGallery ID="RadImageGallery1" runat="server">

    <Items>

        <telerik:ImageGalleryItem Description="International " ImageUrl="Images/1.jpg" Title="International University" />

    </Items>

</telerik:RadImageGallery>


Met vriendelijke groet, Han Peper
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesTelerik ImageGallery on a childpage errorTelerik ImageGallery on a childpage error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out