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

Forums / Developing with Sitefinity / How can I drop my usercontrol into the blog post content.

How can I drop my usercontrol into the blog post content.

2 posts, 0 answered
  1. Venkat
    Venkat avatar
    105 posts
    Registered:
    20 Nov 2008
    23 Jun 2009
    Link to this post

    Hi ,
    In our application ,we are using blogs module to hold podcasts.

    For Podcast player , we created a user control which takes .flv file name as input and displays the podcast .

    When we want to create a new post to add a podcast we are unable to drag the user control into the edit pane.

    Can any one help us to include the podcast player usercontrol in the post data .

    Thanks
    Venkat.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    23 Jun 2009
    Link to this post
    Hello Venkat,


    The edit mode of the admin area does not support drag and drop. You can create a metakey to select the flv file and add it to the content item. Then associate the content item id with your control and play the video.
    If you are talking about the page edit mode - you can drag the BlogPosts control onto a page and you custom control below the BlogPosts control.
    Another options create a user control and there wrap BlogPosts control and your control as well. In the code behind add logic for getting the flv and associate them with the BlogPosts.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered