Javascript Runtime Error

2 posts, 0 answers
  1. Madhu
    Madhu avatar
    5 posts
    Member since:
    Apr 2011

    Posted 24 Jun 2013 Link to this post


    I am using Telerik's RadRotator control in my webapplication project and when I  set PostbackURL property of an ImageButton in ItemTemplate of RadRotatorItem, I get the following exception 

    Microsoft JScript runtime error: Object expected.

    This exception is thrown when I set 

     <telerik:RadRotatorItem >
                                       <ItemTemplate>
    <asp:ImageButton ID="ImageButton3"  runat="server"  AlternateText="Maritime" ImageUrl="~/Images/index_maritime_red.jpg"
    PostBackUrl="http://harriscaprock.com/maritime.php" />
                                           
                                       </ItemTemplate>
                                  </telerik:RadRotatorItem>

    But If I set the PostBackURL to "http://www.yahoo.com" I don't get the exception.

    Thanks
    Madhu

  2. Slav
    Admin
    Slav avatar
    1355 posts

    Posted 27 Jun 2013 Link to this post

    Hello Madhu,

    I am afraid that the provided information is not enough to determine what is the exact problem. Please, send a fully working project and step by step instructions for replicating the problem. If needed, attach screenshots or video demonstrating the issue too.

    Regards,
    Slav
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top