I have an imagebutton column:
The image is not displaying, but 'Submit Query'.
I read somewhere this was because the URL was wrong, however my URL to the image is the same as the URL's to all the images on that page.
Any ideas?
<telerik:GridButtonColumn CommandName="MyCommand" ButtonType="ImageButton" UniqueName="ViewNote"> </telerik:GridButtonColumn>The image is not displaying, but 'Submit Query'.
I read somewhere this was because the URL was wrong, however my URL to the image is the same as the URL's to all the images on that page.
Any ideas?
If (TypeOf e.Item Is GridDataItem) Then Dim dataItem As GridDataItem = CType(e.Item, GridDataItem) If (dataItem("FileStatus").Text = "Requested") Then dataItem.ForeColor = Drawing.Color.Crimson dataItem.Font.Bold = True CType(dataItem("ViewNote").Controls(0), ImageButton).ImageUrl = "../images/time_icon.jpg" Else dataItem("ViewNote").Controls(0).Visible = False End If End If