custom blog design or template
Hello
I want to create a custom blog post control which it should display only one particular blog (using API) and below i should able to add comments with out going another page
please send me the sample template.
thanks
jmr
Hello Jmr,
In your template you can declare
<sf:ContentView id="commentsDetailsView" ControlDefinitionName="EventsCommentsFrontend" DetailViewName="CommentsDetailsView" ContentViewDisplayMode="Detail" runat="server" />/// <summary> /// Handles the ItemDataBound event of the DetailsView control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="Telerik.Web.UI.RadListViewItemEventArgs"/> instance containing the event data.</param> private void DetailsView_ItemDataBound(object sender, RadListViewItemEventArgs e) if (e.Item.ItemType == RadListViewItemType.DataItem || e.Item.ItemType == RadListViewItemType.AlternatingItem) var view = e.Item.FindControl("commentsDetailsView") as ContentView; this.InitCommentsView(view); if (this.IsInBrowseAndEditMode()) BrowseAndEditManager.GetCurrent(this.Page).AddBrowseAndEditToolBar(e.Item, this.Host, this.browseAndEditToolbarId); /// <summary> /// Handles the ItemCreated event of the DetailsView control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="Telerik.Web.UI.RadListViewItemEventArgs"/> instance containing the event data.</param> private void DetailsView_ItemCreated(object sender, RadListViewItemEventArgs e) if (e.Item.ItemType == RadListViewItemType.DataItem || e.Item.ItemType == RadListViewItemType.AlternatingItem) var view = e.Item.FindControl("commentsListView") as ContentView; this.InitCommentsView(view);