[CLOSED] [1.0] ImageUrl property in Ext.Net.Portlet
How can I set the ImageUrl property for portlet in code behind?
Code:
<ext:Portlet ID="p5" runat="server" Draggable="true" Header="false" ImageUrl="UI/Catalog1/Widget-Links.png" >
<Content>
<asp:Image ID="Image1" runat="server" ImageUrl="UI/Catalog1/Widget-Links.png" />
</Content>
</ext:Portlet>
code behind:
Code:
Dim portlet1 As New Ext.Net.Portlet()
Try
portlet1.ID = "p5"
portlet1.Draggable = True
portlet1.Header = False
If Not String.IsNullOrEmpty("UI/Catalog1/Widget-Links.png") Then
Dim img As New System.Web.UI.WebControls.Image
img.ID = "Image1"
img.ImageUrl = ="UI/Catalog1/Widget-Links.png"
portlet.ContentControls.Add(img)
portlet1.ImageUrl = "UI/Catalog1/Widget-Links.png"
End If
Catch
End Try
I need this property in my DuplicatePortlets javascript method.