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

Forums / General Discussions / Custom template for Menu... what file?

Custom template for Menu... what file?

5 posts, 0 answered
  1. renato
    renato avatar
    72 posts
    Registered:
    07 Jan 2011
    04 Feb 2011
    Link to this post
    I'm wanting When Using a menu under "Custom Template" but did not understand the question of the folders ... can you explain better?

    Show at print....
  2. renato
    renato avatar
    72 posts
    Registered:
    07 Jan 2011
    09 Feb 2011
    Link to this post
    Never had that question? these specific details are not in pdf's. I need to resolve this because I could not adjust the menu pre-set ...

    Does anyone know help?
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    09 Feb 2011
    Link to this post
    Hi renato,

    I am not sure what actually is not clear here. If you are going to use a custom template for the NavigationControl you should create an ascx and set its relative path to it.

    NavigationControl has its own binding that applies over a control that you will declare in the ascx file. In your template you should have BaseDataBoundControl which has a DataSource property that we set to the SiteMapDataSource. If you do not have a BaseDataBoundControl in your template, you will get an ArgumentException. You might find this post useful.



    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
  4. renato
    renato avatar
    72 posts
    Registered:
    07 Jan 2011
    10 Feb 2011
    Link to this post
    I'm having trouble searching on "navigation control" ... I am part of the design ... need to know what should be inside the file "ascx"
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    10 Feb 2011
    Link to this post
    Hi renato,

    "In your template you should have BaseDataBoundControl which has a DataSource property that we set to the SiteMapDataSource."

    All the best,
    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 posts, 0 answered