GetXml and Trust Level

3 posts, 0 answers
  1. Jakub Wilk
    Jakub Wilk avatar
    30 posts
    Member since:
    Nov 2003

    Posted 07 Oct 2008 Link to this post

    We are using Telerik.Web.UI.dll version: 2008.2.1001.35
    RadMenu GetXml method generates diffrent xml on trust level Full and High.
    When High is used in xml NavigateUrl is missing.

    Example:
    Full:
    <?xml version="1.0" encoding="utf-16"?> 
    <Menu CausesValidation="False" Skin="Vista" Style="position:relative;z-index:500"
      <Group> 
        <Item Text="Strona główna" Value="136" NavigateUrl="~/Default.aspx?portal=65&amp;lang=80&amp;tid=136" /> 
        <Item Text="Admin" Value="137" NavigateUrl="~/Default.aspx?portal=65&amp;lang=80&amp;tid=137"


    High:
    <?xml version="1.0" encoding="utf-16"?> 
    <Menu CausesValidation="False" Skin="Vista" Style="position:relative;z-index:500"
      <Group> 
        <Item Text="Strona główna" Value="136" /> 
        <Item Text="Admin" Value="137"
          <Group> 
            <Item Text="Framework - Administracja" Value="141" /> 
            <Item Text="Role" Value="279" /> 
            <Item Text="Użytkownicy" Value="280" /> 
            <Item Text="ADSI" Value="245"
    ......

    Why?
    Enovatio Team.

  2. bradhh
    bradhh avatar
    25 posts
    Member since:
    Feb 2007

    Posted 31 Oct 2008 Link to this post

    I'm having a very similar problem in Medium Trust. I generate XML in business logic and load it into the RadMenu with:

    RadMenu.LoadXML(BusinessObject.ToXmlMenuDataSource())

    This works perfectly in Full Trust on my development system, but on the live server (which runs at Medium Trust) it generates anchor tags with the attribute:

        href="#"

    All of the other properties are set correctly on both the live and development servers, including the text, the access key, and the target (target="_top", target="_blank").

    Please help, this is a show-stopper for my project.

    Just as a side note, I'll be very careful about choosing web hosts in the future. Running at Medium Trust has caused me considerable headaches. Other than that, the Telerik controls have been an enormous blessing to my work!

    Thanks -
    Brad

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. T. Tsonev
    Admin
    T. Tsonev avatar
    2772 posts

    Posted 01 Nov 2008 Link to this post

    Hi,

    We are aware of these issues and we have fixed them after the official release. Please, open a formal support ticket, so we can send you a hotfix. Alternatively, you can directly upgrade to the Q3 2008 that is due for release next week.

    Greetings,
    Tsvetomir Tsonev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top