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

Notification

Icon
Error

GSP pop ups are not working with my master page.
wooer
#1 Posted : Wednesday, 30 November 2011 1:20:49 PM(UTC)
wooer

Rank: Member

Joined: 27/06/2008(UTC)
Posts: 9
Man
Location: Isparta, Turkey

I have problems with making GSP work with existing web site in a masterpage.

I have :

IIS 7.5 - IntegratedMode
GSP 2.6 New Install
Existing website with asp.net 4.0

MasterPage with no Javascript except for ASP.net Menu SiteMapPath and links to CSS files inside it.

GSP works fine in its own default.aspx bu no popups are working when it is inside the masterpage (including login, search, image metadata window, manage user popups, etc.) with no error

I have tried removing menu, existing website's style sheets with the same result.

Any idea.

MasterPage:
Code:
<%@ Master Language="VB" AutoEventWireup="false" CodeBehind="Galeri.master.vb" Inherits="impal.Galeri1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Anasayfa</title>
    <asp:ContentPlaceHolder ID="head" runat="server">
    </asp:ContentPlaceHolder>
    <link href="Styles/reset.css" rel="stylesheet" type="text/css" />
    <link href="Styles/Site.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <table id="P_tb">
        <tr>
            <td id="header">
                <header>
                </header>
            </td>
        </tr>
        <tr>
            <td id="nav">
                <nav>
                    <asp:Menu ID="Menu8" runat="server" DataSourceID="SiteMapDataSource1" Orientation="Horizontal"
                        RenderingMode="List" StaticEnableDefaultPopOutImage="False" SkipLinkText="">
                        <StaticHoverStyle ForeColor="Black" CssClass="StaStyle" />
                        <StaticSelectedStyle BackColor="#FABC17" />
                        <DynamicHoverStyle ForeColor="#F2F2F2" BackColor="#031E2F" />
                        <DynamicMenuItemStyle BackColor="#EAEAEA" ForeColor="Black" />
                        <DynamicMenuStyle CssClass="DynaStyle" />
                        <StaticHoverStyle BackColor="#EAEAEA" />
                        <StaticMenuItemStyle Font-Size="Small" ForeColor="#F2F2F2" HorizontalPadding="6px"
                            VerticalPadding="9px" CssClass="Menu1aStat" />
                        <StaticMenuStyle Height="30px" />
                        <StaticSelectedStyle BackColor="#FABC17"></StaticSelectedStyle>
                    </asp:Menu>
                </nav>
            </td>
        </tr>
        <tr>
            <td id="SitemapLine">
                <asp:Literal ID="Literal1" runat="server">Konumunuz: </asp:Literal>
                <asp:SiteMapPath ID="SiteMapPath1" runat="server" PathSeparator=" → " SkipLinkText=""
                    Font-Bold="False">
                    <NodeStyle Font-Bold="True" />
                    <RootNodeStyle Font-Bold="True" />
                    <CurrentNodeStyle Font-Bold="false" />
                </asp:SiteMapPath>
            </td>
        </tr>
        <tr>
            <td id="ContentArea">
                <asp:ScriptManager ID="sm" runat="server" EnableScriptGlobalization="true" />
                <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                </asp:ContentPlaceHolder>
            </td>
        </tr>
        <tr>
            <td id="footer">
                <footer>
                    <asp:Label ID="FooterLabel" runat="server"></asp:Label>
                </footer>
            </td>
        </tr>
    </table>
    <asp:SiteMapDataSource ID="SiteMapDataSource1" ShowStartingNode="false" runat="server"
        SiteMapProvider="AspNetSqlSiteMapProvider" ViewStateMode="Disabled" />
    </form>
</body>
</html>
Roger Martin
#2 Posted : Wednesday, 30 November 2011 1:55:05 PM(UTC)
Roger Martin

Rank: Administration

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

I am actually having the same problem on my personal gallery. A few weeks ago I spent some time studying it and noticed there weren't any javascript or network errors, and I couldn't find any conceivable reason why it was happening. Unfortunately, I still don't know and I've had to move on to other things.

The popups are all Dialog controls by ComponentArt and I suspect the underlying cause is a bug or incompatibility with them. I am hoping to replace all ComponentArt widgets (dialogs, grids, menu, etc) with open source equivalents (most jQuery) for version 3.

For now, I'm not sure what to suggest other than to put on your troubleshooting hat and try to figure out what the heck is going on. I have the source code for ComponentArt so if I have to fix a bug and recompile, I am happy to do that.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
wooer
#3 Posted : Wednesday, 30 November 2011 2:28:42 PM(UTC)
wooer

Rank: Member

Joined: 27/06/2008(UTC)
Posts: 9
Man
Location: Isparta, Turkey

Thanks so much for the quick reply Roger,

So, till version 3 My work around is to wrap the gallery user control with the masterpage contents within a standalone aspx page.
wooer
#4 Posted : Sunday, 4 December 2011 9:19:16 AM(UTC)
wooer

Rank: Member

Joined: 27/06/2008(UTC)
Posts: 9
Man
Location: Isparta, Turkey

By the way, My workaround worked locally but didn't solve anything in the remote server...

I suppose the only difference between my local server and the remote server is the trust level.

mine is full remote is medium...

So I really wonder how much time remaining for version 3 :)

or any other workarounds...
Roger Martin
#5 Posted : Sunday, 4 December 2011 10:47:04 AM(UTC)
Roger Martin

Rank: Administration

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

I don't think the trust level is the issue, but you can test it by forcing your local site to run in medium trust by adding <trust level="Medium" /> to web.config.

FYI, my personal site that exhibits the same issue is running in full trust.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
wooer
#6 Posted : Tuesday, 6 December 2011 4:21:52 AM(UTC)
wooer

Rank: Member

Joined: 27/06/2008(UTC)
Posts: 9
Man
Location: Isparta, Turkey

Dear Roger,

First of all I wish to say that my problem is a kind of integrated / classic pipeline problem. I had 2 site managing from the same hosting company. One of them is under my complete control (GSP performed well with this |not tested with masterpage yet|) the other is not. the problem was over there I thought it was integrated but it turns out to be classic pipeline with wildcard mapping so everything worked as if it was integrated except for component art controls...

When I call the person who has full control over the server again I learned that it was classic. He changed the pipeline and everything worked fine... Of course with my workaround. When I continue experimenting as I wrapped the control with a masterpage the problem remained with popups.

So in integrated mode this workaround might apply.
koenig
#7 Posted : Sunday, 1 January 2012 4:11:57 AM(UTC)
Rank: Newbie

Joined: 1/01/2012(UTC)
Posts: 2
Location: denmark

Im having the same problem. The default.aspx from the installation works fine but just cant get it to work with a masterpage - login popups is not appearing.

Is there any news on this issue, or any advice on how to get it to work ?

Will it work with an older version of GSP, or is GSP just not an option when using masterpages untill version 3 comes out.

Roger Martin
#8 Posted : Monday, 2 January 2012 10:49:38 AM(UTC)
Roger Martin

Rank: Administration

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

Sorry, I don't have any news on this. What I can tell you is that the demo site uses the gallery in a master page, and it works fine. I haven't had time to figure out why my other gallery has the issue.

If I had the time, what I would be doing is starting with a known good source code base - the code I provide. Then slowly modify the solution until you have a gallery in a master page. If at some point it breaks, then you know where to look in your own solution.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
koenig
#9 Posted : Wednesday, 4 January 2012 5:22:41 PM(UTC)
Rank: Newbie

Joined: 1/01/2012(UTC)
Posts: 2
Location: denmark

Fair enough, i think its a great gallery and appreciate all your effort. For now im allso going to go with wrapping the mastercode around the gallery as need to put out something fast and its not really affecting my project all that much to do so.

Maybe at a later project ill look into it if its needed.

thank you for taking the time to reply.
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.