Error in nodeEdit postback

3 posts, 0 answers
  1. Dale
    Dale avatar
    2 posts
    Member since:
    Aug 2010

    Posted 15 Sep 2010 Link to this post

    When the treeview tries to do a postback after a node edit with this dynamic code:

    __doPostBack(

     

    'ctl00$ContentPlaceHolder1$SectionsTreeView','{"commandName":"NodeEdit","index":"0","nodeEditText":"BRASS%20Monkey"}')

    we get a 'Microsoft JScript runtime error: Object expected'

    The html for the start of the treeview is

     

    <div id="ctl00_ContentPlaceHolder1_SectionsTreeView" class="RadTreeView RadTreeView_WebBlue">

     

     

     

     

     so the object name seems OK.

    What's going wrong and more impartantly how do I fix it?

  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 16 Sep 2010 Link to this post

    Hi Dale,

    On which line exactly does the error appear? Is it on the __doPostBack call or somewhere else?

    Kind regards,
    Simon
    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
  3. Dale
    Dale avatar
    2 posts
    Member since:
    Aug 2010

    Posted 19 Sep 2010 Link to this post

    Thanks for your reply.

    It had something to do with the window object not being created.

    I rebuilt the web site from scratch and the problem has gone away.
Back to Top