Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Thor Østergaard 37 posts 58 karma points
    Jul 19, 2012 @ 13:12
    Thor Østergaard
    0

    Graph trouble

    Hi,

    I'm using placing two asp.net graph controls on a usercontrol.

    Placing this usercontrol on different pages

    This one works fine: http://test.aceafrica.org/market-info/graphdemo.aspx (it's by design that there's no info in the first graph).

    But this don't work: http://test.aceafrica.org/

    But using the preview function on the same page shows the graphs all right: http://test.aceafrica.org/1058.aspx

    Can anybody help on this?

     

     

  • Thor Østergaard 37 posts 58 karma points
    Jul 20, 2012 @ 08:37
    Thor Østergaard
    0

    Some more testing shows that

    http://test.aceafrica.org/ don't work

    http://test.aceafrica.org/default.aspx is working 

     

    So there might be a "bug" i the way umbraco treats the frontpage?

  • Thor Østergaard 37 posts 58 karma points
    Jul 20, 2012 @ 08:39
    Thor Østergaard
    0

    Umbraco version: 4.7.1

  • Thor Østergaard 37 posts 58 karma points
    Jul 20, 2012 @ 08:54
    Thor Østergaard
    0

    Getting closer

    With

                virtualUrl="/"

                rewriteUrlParameter="ExcludeFromClientQueryString"

                destinationUrl="/default.aspx"

                redirectMode="Permanent"

                ignoreCase="true" />

    I'm able to get the graph html on the page - now I just need to find the images...

  • Thor Østergaard 37 posts 58 karma points
    Jul 20, 2012 @ 09:01
    Thor Østergaard
    0

    I might need some help on this UrlRewriter - the above lines affected the whole site and only the frontpage was working.

    What i wanted was test.aceafrica.org -> test.aceafrica.org/default.aspx and only that - is that possible?

  • Thor Østergaard 37 posts 58 karma points
    Jul 20, 2012 @ 09:52
    Thor Østergaard
    0

    This is a workaround that works

     

      <add name="Home"

               virtualUrl="^~/$"

               rewriteUrlParameter="ExcludeFromClientQueryString"

               destinationUrl="~/default.aspx"

               ignoreCase="true"

               redirect="Application"

               redirectMode="Permanent"

               />

  • Thor Østergaard 37 posts 58 karma points
    Jul 25, 2012 @ 15:02
    Thor Østergaard
    0

    Sorry to bother you again, but I'm still having trouble here :(

    The above trick seems to solve the problem, but if you log in to umbraco the problem is back :(

    You can see the problem this way

    1) Go to www.aceafrica.org 

    2) Click on login and login as GraphT with password GraphT

    3) See the effect on the front page...

     

    Is this a BUG in Umbraco???

    Or what am I doing wrong???

Please Sign in or register to post replies

Write your reply to:

Draft