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

Forums / 3.x Pre-release forums (retired) / New feature...sort of.

New feature...sort of.

7 posts, 0 answered
  1. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    09 Nov 2006
    Link to this post
    I just noticed a nice new feature of the v3.0.

    Because it uses ContentPlaceHolder instead of the XML templates, you can drop a TabStrip into your .Master files with a contentplaceholder on each page in the multipage. Then in edit mode you can drop any control into the hidden content holders. This is a fantastic feature not possible in previous versions without using storage outside of the standard CMS tables.

    One hiccup might be that it works great with News, Generic Content, and any user control...but does not render the blog Single Post after publishing in a tab.

    Looking forward to Beta 2.

    Sincerely,

    Ben
  2. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    10 Nov 2006
    Link to this post
    Hi Ben,

    Indeed it is a bit easier to populate tabstrip control in Sitefinity 3.0. In principle there should not be any problems to see controls in the tabs (unless there are any errors) as they should render the same way.

    The SinglePost control shows information for a blog post. To have the information about the post rendered correctly, a few things should be done.
    1. If the query string contains postId parameter with a post guid id, the corresponding item information is rendered in the control. This approach is used when connecting PostsList control to a SinglePost control.
    2. If the query string does not contain postId parameter but you have set the PostId property from the control properties, the post with this id should be rendered. Unfortunately, in the current build there is a bug in the SinglePost control and if the query string does not contain postId parameter, the PostId parameter of the control will be taken into account and information about this post will not be rendered. We have already fixed this issue and it will work properly in the next build.

    Thanks a lot for the feedback, it is very valuable to us, especially at this stage.

    Sincerely yours,
    Vassil Daskalov
    the telerik team
  3. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    10 Nov 2006
    Link to this post
    Strange I selected the PostId from the properties panel. Unfortunately it does not display the post. Instead I used a user control that gets just the first post by CreatedDate.

    Sincerely,

    Ben


  4. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    11 Nov 2006
    Link to this post
    Another issue showed up...

    I realized I misspelled the name of the user control, renamed it, and then renamed the class and all instances of the misspelling. The page then gave me an null reference exception. Yes...I did make sure the web.config had the new name. The problem is that it wouldn't let me delete the control either. I had to delete the page and start again. Maybe a cool idea would be to list in the documentation a manual way to remove controls from the DB. Likewise a manual way to remove pages from the DB. I was able to manually delete the page by deleting the row in 2 tables is that all that is required?

    Just a thought.

    Sincerely,

    Ben
  5. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    13 Nov 2006
    Link to this post
    Hello Ben,

    The problem with SinglePost control is fixed and you will be able to test it in the upcoming beta 2 version of Sitefinity, scheduled for the end of this week.

    Unfortunately, I am not able to reproduce your other problem with Sitefinity3.0 beta1 build. Actually, this problem occurs in the alpha version of Sitefinity but in the new build, the design time exceptions for controls should be caught by the control and not the page and the ability to delete or edit the control should appear. To reproduce your problem I have followed these steps:

    1. Created user control called TestControl.aspx;
    2. Added it to the Web.config using this statement:

    <add name="TestControl" section="User Controls" url="~/UserControls/TestControl.ascx"/>

    3. Added it from Sitefinity in edit mode. When click on preview everything was fine.
    4. Renamed the control to ControlTest. Renamed the web.config statement to this:

    <add name="ControlTest" section="User Controls" url="~/UserControls/ControlTest.ascx"/>

    5. Went to page edit in Sitefinity and the control threw this error: The file '/Sitefinity3/UserControls/TestControl.ascx' does not exist. I was able delete it and add the right version. Then I clicked Preview and everything was fine again.

    Please, let me know if your problem was the same or I am missing something.

    All the best,
    Vassil Daskalov
    the telerik team
  6. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    14 Nov 2006
    Link to this post
    That sounds pretty much like what I did. I have the 2nd or 3rd Beta 2 build. When I went to delete the control The page gave me a null reference exception.Then i tried to delete the control from the DB and messed it up, so I had to delete the page from the DB, which worked. If I get it again, I will start a trouble ticket.

    Thanks for your help though.

    Sincerely,

    Ben
  7. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    14 Nov 2006
    Link to this post
    I meant to say 2nd or 3rd Beta 1 not Beta 2. Though I am looking forward to Beta 2.

    Sincerely,

    Ben
Register for webinar
7 posts, 0 answered