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

Forums / Developing with Sitefinity / how can i assign page selector to more than one field in the custom control

how can i assign page selector to more than one field in the custom control

4 posts, 0 answered
  1. Saroj Rout
    Saroj Rout avatar
    31 posts
    Registered:
    14 Apr 2011
    02 Mar 2012
    Link to this post

    Hi Team,

    I have created a Custom User Control in Sitefinity 4.4 and want to link/call the internal pages to three fields in the code behind of the user control.
    So,i have declared three properties of  PageUrl1,PageUrl2,PageUrl3 and want to link three different pages using page selector.
    (Simply i can say,how can i assign page selector to more than one field in the custom control.)

     How can i do it please help me, its urgent  !!!!!!!!!

    Thanks in advance!!!

     

  2. Svetoslav Petsov
    Svetoslav Petsov avatar
    456 posts
    Registered:
    24 Sep 2012
    06 Mar 2012
    Link to this post
    Hello Saroj,

     If you are using a control with a designer (and a single page selector inside), I don't see how this can be done. The only possible way to implement this would be to use three different page selectors - one for each of the properties.

    Regards,
    Svetoslav Petsov
    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. Siddesh Kapadi
    Siddesh Kapadi avatar
    239 posts
    Registered:
    09 Oct 2009
    07 Mar 2012
    Link to this post
    Hi Svetoslav,

    Thanks for your response.

    So, cant I have the control designer assigned to property as was the case in 3.7 version?
    using 
    WebEditor attribute to the class?

    Regards,
    Siddesh Kapadi
  4. Svetoslav Petsov
    Svetoslav Petsov avatar
    456 posts
    Registered:
    24 Sep 2012
    12 Mar 2012
    Link to this post
    Hello Siddesh,

    The designers in Sitefinity 4.x (and 5.x) are working in a completely different way than the ones in 3.x. Here's a blog post that can help you understand the basics of 4.x control designers:
    http://www.sitefinity.com/blogs/joshmorales/posts/11-09-01/anatomy_of_a_sitefinity_4_widget.aspx 

    Greetings,
    Svetoslav Petsov
    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
4 posts, 0 answered