1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Bug in products module

Bug in products module

3 posts, 0 answered
  1. IT
    IT avatar
    52 posts
    Registered:
    30 Sep 2008
    11 Nov 2008
    Link to this post

    I followed the examples to build a Products module. Generally speaking, it is working. I can add a product, drop the Products View control on a page, and see my product.My first issue is that I can't edit the product. Clicking on the edit link in the list just brings up the detail view (without any detail I might add). Clicking on the edit link in the detail view when I do have an item in detail view doesn't do anything either. I don't get any errors to point me in the right direction either.The second issue is with the Products View control. When I look at the page with the control, it seems to show everything correctly except for an image that was part of my content. When I click the name to go to the detail view, the content does show the image correctly. What I noticed in looking at the source is that on the page that doesn't work, the image src is:<img src='~/Libraries/Publications/myfile.sflb.ashx' />
    and on the page that works,
    <img src="/Libraries/Publications/myfile.sflb.ashx" />
    I'm pulling the content out the same way on both pages:
    <asp:Literal ID="content" runat="server"></asp:Literal>
    This is my first attempt with writing a module, so I'm not quite following why this is rendering differently on the two pages. Is there a known bug? Am I missing something?
    One last thing... is implementing a module using ContentViewDesigner documented anywhere? I was looking at http://www.sitefinity.com/help/developer-manual/overview.html which states "NOTE: At the moment think of this more as of a roadmap. The time has not allowed us to provide all the samples at this time – however all the samples should be available by the end of August 2008." 

    Thanks!


  2. IT
    IT avatar
    52 posts
    Registered:
    30 Sep 2008
    11 Nov 2008
    Link to this post
    Sorry, not sure why the formatting got wacked on that post.
  3. Ivan
    Ivan avatar
    478 posts
    Registered:
    16 Jun 2015
    13 Nov 2008
    Link to this post
    Hi Michael,

    we have not had time to update the manual yet, however almost all the articles from the "roadmap" are available on my blog:
    http://blogs.sitefinity.com/

    In the "In the mean time series".

    Also, you'll be able to find there the series on ContentViewDesigners.

    I hope you'll find this information helpful. Let us know if there is anything else we can do for you.

    Greetings,
    Ivan
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
3 posts, 0 answered