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

    Hi,
    Is there any client-side method to set imageurl property of the control at javascript?
    Thanks,
  2. Mira
    Admin
    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:
    ASPX
    <telerik:RadBinaryImage ID="RadBinaryImage1"  runat="server" />
    Javascript
    var img = $get("<%= RadBinaryImage1.ClientID %>");
    img.src = "...";

    I hope this helps.

    Kind regards,
    Mira
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top