Click here to Skip to main content
14,665,550 members
Rate this:
Please Sign up or sign in to vote.
hi,
I have a field named Image in my table.i am using kendo ui grid.i am able to load all the fields in my table except image field.i used linq query to get all the values.
If i give the image template like:"#='<input type= image src ='#=Image #'/>'#"
it is displaying an image symbol with cross mark.If i didn't mention the template it is displaying the value in bytes.i want to load the image from the database.


Any suggestions..
Posted
Comments
Sandeep Mewara 5-Jun-12 7:31am
   
Close this question as the issue is resolved. You keep on asking question without doing this often. Not good.

Rate this:
Please Sign up or sign in to vote.

Solution 1

it is displaying an image symbol with cross mark.I
Sounds like the image source defined is was unable to locate the image. Make sure the location mentioned has an image. Use aboslute URL or correct relative URL.
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

Hello

you have to write like this

template: '<input type= image src ="#=Image #"/>'

if not work then send your sample code on my mail id
ze77riyaz@gmail.com
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100