radbinaryimage imageurl property

2 posts, 0 answers
  1. Nazim
    Nazim avatar
    9 posts
    Member since:
    Jan 2011

    Posted 03 Feb 2011 Link to this post

    Is there any client-side method to set imageurl property of the control at javascript?
  2. Mira
    Mira avatar
    1124 posts

    Posted 09 Feb 2011 Link to this post

    Hello Nazim,

    The RadBinaryImage is rendered as an img. In order to implement the desired functionality, I recommend that you find it client-side and set its src property:
    <telerik:RadBinaryImage ID="RadBinaryImage1"  runat="server" />
    var img = $get("<%= RadBinaryImage1.ClientID %>");
    img.src = "...";

    I hope this helps.

    Kind regards,
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top