Getting XML exception when binding to radtabstrip

2 posts, 0 answers
  1. subrahmanyam kameswara
    subrahmanyam kameswara avatar
    12 posts
    Member since:
    Jan 2010

    Posted 22 Apr 2010 Link to this post


    When I am binding the xml file to the radtabstrip I am getting the "Data at the root level is invalid. Line 1, position 1. " I am pasting my xml file here,

    <?xml version="1.0" encoding="utf-8" ?>
      <Menu Text="Home" Url="#">
        <Menu Text="test1"></Menu>
        <Menu Text="test3"></Menu>
        <Menu Text="test2"></Menu>
      <Menu Text="Policy Management" url="#">   
      <Menu Text="Claims Management" Url="#">   
      <Menu Text="Fast Quote" Url="#"> 
      <Menu Text="Batch Processes" Url="#">   

    and in cs file in page load i am using this code

     MainMenu.LoadXml("XMLFile.xml") and I used this also


    plz help me soon.

  2. Yana
    Yana avatar
    5043 posts

    Posted 22 Apr 2010 Link to this post

    Hi subrahmanyam,

    You should use the same structure that is described here in order to load tabs from xml file.

    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.
Back to Top