This is a migrated thread and some comments may be shown as answers.

Javascript Runtime Error

1 Answer 36 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Madhu
Top achievements
Rank 1
Madhu asked on 24 Jun 2013, 01:55 PM

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

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 27 Jun 2013, 10:25 AM
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.
Tags
Rotator
Asked by
Madhu
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or