Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6584235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:30:40+00:00 2026-05-25T16:30:40+00:00

I am trying to pop a RadWindow.. but its giving an error saying object

  • 0

I am trying to pop a RadWindow.. but its giving an error saying object expected… can not figure out the problem,..

Here is the code

   function openWin() {
        var oWnd = radopen("~/catalog/myPage.aspx", "RadWindow1");
    }


     <td style="width: 130px;">
        <telerik:RadWindowManager 
         ID="RadWindowManager1" 
         ShowContentDuringLoad="false" 
         VisibleStatusbar="false"
         ReloadOnShow="true" 
         runat="server" 
         Skin="Sunset" 
         EnableShadow="true">
                <Windows>
                    <telerik:RadWindow 
                     ID="RadWindow1" 
                     runat="server" 
                     Behaviors="Close" 
                     OnClientClose="OnClientClose"
                     NavigateUrl="~/catalog/myPage.aspx">
                     </telerik:RadWindow>
                  </Windows>
                </telerik:RadWindowManager>
             <div>
                   <asp:LinkButton ID="lnkProducts" 
                    runat="server" 
                    Visible="false" 
                    OnClientClick="OpenWin()">Click Here to view your              products</asp:LinkButton>
                    </div>
                </td>

This is the error:

Microsoft JScript runtime error: Object expected

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T16:30:40+00:00Added an answer on May 25, 2026 at 4:30 pm

    For starters the JavaScript function you attach to the OnClientClick of the linkbutton is not in the same casing as the one you declared above. Then you should cancel the postback from the linkbutton in order to let the RadWindow show, otherwise the page will immediately dispose and you will not be able to open the RadWindow.

    Try this:

            <asp:LinkButton ID="lnkProducts" runat="server" Visible="true" OnClientClick="OpenWin(); return false;">Click Here to view your              products</asp:LinkButton>
    

    and the JS:

            function OpenWin()
        {
            var oWnd = radopen("~/catalog/myPage.aspx", "RadWindow1");
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i trying to pop up only error message's for validation's control not text. The
Trying to figure out how to make a modal pop up on browser window
I'm trying to pop a simple datepicker but can't or I don't know what
I'm trying to find out how I can create a pop-up menu bar, after
I'm trying to figure out the best and simplest way of opening HTML pop-up
So, I'm working with CKEditor and jQuery, trying to build a pop-out editor. Below
I'm stuck trying to pop a TTPhotoViewController from three20. At first it did not
Im trying to make a pop-up like window using jquery and its modal box.
I'm trying to make a modal pop up in my Flash application, not unlike
I'm having a problem using SQLAlchemy with PySide(PyQt). I'm trying to pop-up a QtGui.QDialog

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.