Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
710
Show images from url
posted

Hi,

i can't get it ...

To start with it is simple. I want just show the "webimage" but it didn't work. What did i wrong?

 protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                ImageList il = new ImageList();
                var imageItem = new ImageItem("http://www.espressojoe.de/images/product_images/thumbnail_images/trombetta-classico-neu.jpg", "pic", "ToolTip");
                il.Add(imageItem);
 

                WebImageViewer1.DataSource = il;
                WebImageViewer1.DataBind();
            }
        }

and

<ig:WebImageViewer ID="WebImageViewer1" runat="server" Height="150px" Width="500px">  </ig:WebImageViewer>

Parents Reply Children
No Data