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

Forums / Developing with Sitefinity / How to get first event selected by default when the EventsView loads?

How to get first event selected by default when the EventsView loads?

6 posts, 0 answered
  1. Sajid
    Sajid avatar
    7 posts
    Registered:
    04 Aug 2010
    24 Sep 2010
    Link to this post
    Dears,

    I'm struggling to get the answer but no success...

    At left side of the page I have EventsView (Master), onclick of any item I need to show on the main content area of this page EventsView (Detail). I works well.

    but on the page load I need first item to be selected by default. Any suggestion???
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    24 Sep 2010
    Link to this post
    Hello Sajid,

    Please take a look at this forum post which shows how to show an IContent in single mode.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Sajid
    Sajid avatar
    7 posts
    Registered:
    04 Aug 2010
    24 Sep 2010
    Link to this post
    hi,

    I'm not doing any coding. I just need to know is there any property to be set or what ??? in order to get the first item selected. I'm all doing this through admin creating a page , putting eventsview control setting properties etc not customizing it through code... so please let me know designer end solution.

    once I click master , I get detail which is ok... but when page loads since I haven't selected any master , I won't get the detail... And I need first item to be selected by default here.

    thanks
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    24 Sep 2010
    Link to this post
    Hello Sajid,

    There is no option to do this from the UI- you cannot open the first item in details mode and this is why I send you to the other post. I hope that this make sense.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Sajid
    Sajid avatar
    7 posts
    Registered:
    04 Aug 2010
    27 Sep 2010
    Link to this post
    I have created a third control which will show single latest item. This control I only want to become visible when the page loads first time.. When clicked by master control on left side of the page, How can I hide this control and show detail newsview?

  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    27 Sep 2010
    Link to this post
    Hello Sajid,

    There is a Visible property that you can use to show or hide the control. If you want to show it only the first page load you can create an cookie and set its expiration date to some value.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
6 posts, 0 answered