Complete the following steps to add an external image to the BinaryImage control.
to open the BinaryImage Tasks Menu.
next to ImageUrl. Set the URL of the image in the ImageUrl property within the <cc1:C1BinaryImage> tag to add an external image to the BinaryImage control.
<cc1:C1BinaryImage ID="C1BinaryImage1" runat="server" ImageUrl="http://www.componentone.com/newimages/Products/Visuals/se_theming.png"/>
Add the following code to the Page_Load event, to add an external image to the BinaryImage control:
To write code in C#
| C# |
Copy Code
|
|---|---|
| C1BinaryImage1.ImageUrl = "http://www.componentone.com/newimages/Products/Visuals/se_theming.png"/"; |
|
To write code in Visual Basic
| Visual Basic |
Copy Code
|
|---|---|
| C1BinaryImage1.ImageUrl = "http://www.componentone.com/newimages/Products/Visuals/se_theming.png"/" |
|
When you run the project, notice that the image appears in the BinaryImage control.
