Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Gallery.aspx in a directory
Keryss
#1 Posted : Wednesday, 18 May 2011 10:13:49 AM(UTC)
Rank: Newbie

Joined: 18/05/2011(UTC)
Posts: 2
Location: France

Hello,

(sorry for my english, i'm french :) )

When i tried to create a Gallery page aspx inside a directory (example: webform\...\gallery.aspx), the prefixe to call the provider failed:

<%@ Register TagPrefix="gsp" Namespace="GalleryServerPro.Web" Assembly="GalleryServerPro.Web" %>

If a create a Gallery page aspx on the root of my application, the register success and find correctly the provider.

How can i fix this bug ?

Thanks very much for the response :)

Keryss,
Roger Martin
#2 Posted : Wednesday, 18 May 2011 10:20:59 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

That should work. I just did a test where I copied the default.aspx that ships with GSP into a child directory and was able to navigate to it without any modification. Try that, and if it works, then look to see how your page is different than the copy.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Keryss
#3 Posted : Wednesday, 18 May 2011 2:15:19 PM(UTC)
Rank: Newbie

Joined: 18/05/2011(UTC)
Posts: 2
Location: France

We're trying to plug GSP in a existing ASP NET 4.0 application.
The application has its own membership and role provider (with Entity Framework).
So we only use the GSP DataProvider, no other providers.

The application has a master page and several directories.

I've created 1 new aspx (with master) in a child directory for GSP. It doesn't work. No response from the server.

I've created exactly the same new page aspx (with master) on the root, and it works..

Here is the code of my aspx (exactly the same) for both pages:


<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master"
AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="AbaseTemplate.test" %>
<%@ Register TagPrefix="gsp" Namespace="GalleryServerPro.Web" Assembly="GalleryServerPro.Web" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
<gsp:Gallery ID="g" runat="server" />
</asp:Content>
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.