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

Forums / Developing with Sitefinity / How to navigate between views in sitefinity 4.0

How to navigate between views in sitefinity 4.0

8 posts, 0 answered
  1. Lynn
    Lynn avatar
    4 posts
    Registered:
    28 Nov 2011
    13 Dec 2011
    Link to this post
    Hi,

    I have two views: summaryView.ascx and detailView.ascx.  Could some one help me with this: Clicking the button on the summaryView.ascx page will go to the detailView.ascx ?

    Thanks in advance.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    15 Dec 2011
    Link to this post
    Hi Lynn,

    You have to create a control that inherits from ContentView and override MasterViewName and DetailViewName properties that are responsible for getting and setting the name of master/detail view that is laded when the control is inside ContentViewDisplayMode.Master/ContentViewDisplayMode.Detail

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Lynn
    Lynn avatar
    4 posts
    Registered:
    28 Nov 2011
    16 Dec 2011
    Link to this post
    Hi Ivan,

    Thanks very much for your response. Could you help to provide an example?

  4. Denis
    Denis avatar
    105 posts
    Registered:
    27 Feb 2009
    16 Dec 2011
    Link to this post
    You can check products sample in the SDK.
  5. Lynn
    Lynn avatar
    4 posts
    Registered:
    28 Nov 2011
    19 Dec 2011
    Link to this post
    Hi Denis,

    Would you please give me a link?

    Thanks.
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    19 Dec 2011
    Link to this post
    Hello Lynn,

    Please take a look at the links below


    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. Lynn
    Lynn avatar
    4 posts
    Registered:
    28 Nov 2011
    20 Dec 2011
    Link to this post
    Hi Ivan,

    I've checked the products sample in the SDK but found no such a sample as my scenario.
    I have two views: SummaryView.ascx and DetailView.ascx. and these two views will be added as the tools to the sitefinity. Clicking the button in the SummaryView.ascx will load the DetailView.ascx and will pass some parameters to the DetailView.ascx page.

    Could you help to explain this more detail or provide an link to such a sample.

    Thanks a lot.
  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    20 Dec 2011
    Link to this post
    Hello Lynn,

    By default the SDK installation should put Products sample inside

    C:\Program Files (x86)\Telerik\Sitefinity 4.x\Samples\CS\Products\Web\UI\Public

    where you should have Public folder that contains the sample you need.


    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
8 posts, 0 answered