More in this section

Forums / General Discussions / how to show image path in a textbox

how to show image path in a textbox

2 posts, 0 answered
  1. sreeraj
    sreeraj avatar
    14 posts
    Registered:
    24 Aug 2011
    09 Nov 2011
    Link to this post
    Hi  
       

       I have one user control  with textbox and a button .when i clicking a button i want to show  the image  path  from sitefinity 4.3 image library to the textbox in sitefinity 4.3




    please help me
  2. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    11 Nov 2011
    Link to this post
    Hi Sreeraj,

    Telerik.Sitefinity.Libraries.Model.Image has a property named Url that holds exactly what you need. How do you recognize the image that you have selected - do you have some sort of binder that displays the images in a grid? Then the property Url for all the bound images should be present on client side so you could retrieve the currently selected image object and get its Url property in your button click handler.

    Best wishes,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered