Object Expected

2 posts, 1 answers
  1. L
    L avatar
    298 posts
    Member since:
    Apr 2008

    Posted 25 Sep 2009 Link to this post

    hi

    I am expriencing an object expected error:

     

    function OpenPositionedWindow(oButton, url, windowName) {

     

     

    var oWnd = window.radopen(url, windowName);

     

    }


    function openWin() {

     

    var oWnd = radopen("http://www.google.com", "RadWindow1");

    oWnd.setSize(500, 500);

    oWnd.center();


    <

     

    button onclick="openWin(); return false;">Test</button>


    I am using Q1 2009.

     

  2. Answer
    Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 26 Sep 2009 Link to this post

    Hello L,

    Make sure that you have a RadWindowManager declared on the page where you use radopen().



    Sincerely yours,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top