Dear All,
i am creating a javascript functions which includes a an ASP Image using ASP:REPEATER. is there any chance to disable the double quotes of the asp:image translated tag.
the ascx file contains the following:
==============================================
the ascx.vb file contains the following:
==============================================
Private Sub rpFeatured_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.RepeaterItemEventArgs) Handles rpFeatured.ItemDataBound
If e.Item.ItemType = ListItemType.AlternatingItem Or _
e.Item.ItemType = ListItemType.Item Then
Dim ID As TextBox = e.Item.FindControl("txtID")
Dim blnImage As TextBox = e.Item.FindControl("txtImage")
Dim Img As System.Web.UI.WebControls.Image = e.Item.FindControl("imgProduct")
If CBool(blnImage.Text) Then
Img.Visible = True
Img.ImageUrl = "/Images/Articles/Images/Small_" + ID.Text.ToString + ".jpg"
Else
Img.Visible = False
End If
End If
End Sub
Thank you,
Hany Sobhy