Initializing RadMenuItem gives undefined error

2 posts, 1 answers
  1. Suresh N
    Suresh N avatar
    1 posts
    Member since:
    Jan 2010

    Posted 05 Feb 2010 Link to this post

    Hi,

          Right now I am replacing the old telerik control with new telerik control. In the old code,
         
    var newItem = new RadMenuItem(); 

          After replacing with new telerik control, the above code is not working in the Javascript. It is giving as undefined error.

    Thanks,
    Suresh
    http://www.sureshdevi.co.in
  2. Answer
    Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 05 Feb 2010 Link to this post

    Looking over the client-side API documentation it seems as if you might need to define it as a Telerik.Web.UI.RadMenuItem() instead of just a RadMenuItem.
Back to Top