How can I set the BannersPath by using javascript?
var r1 = $find("<%= RadRotator1.ClientID %>");
<telerik:RadRotator ID="RadRotator1" runat="server" Width="370px" Height="219px" RotatorType="SlideShowButtons" BannersPath="~/Photos/Bayview"
var r1 = $find("<%= RadRotator1.ClientID %>");
if (r1 != null) r1.BannersPath = "../../Photos/" + Homes[homeindex].replace(" ", "");
<telerik:RadRotator ID="RadRotator1" runat="server" Width="370px" Height="219px" RotatorType="SlideShowButtons" BannersPath="~/Photos/Bayview"
ItemHeight="219px" ItemWidth="330px" FrameDuration="3000" ScrollDirection="Left, Right">
Thanks