This question is locked. New answers and comments are not allowed.
hello,
I'm new in the Silverlight Technology. I have used ImageColumn in the RADGridview control in Silverlight application in VS 2010.
Now, I don't know how to enter the url into "Source" attribute of ImageColumn of RADGridview. My code is as follows:
In the above Italic code, I want to give some url from the string property binding to the Image.
please help
I'm new in the Silverlight Technology. I have used ImageColumn in the RADGridview control in Silverlight application in VS 2010.
Now, I don't know how to enter the url into "Source" attribute of ImageColumn of RADGridview. My code is as follows:
<
Grid
x:Name
=
"LayoutRoot"
>
<
telerikGridView:RadGridView
x:Name
=
"RadGridView1"
RowHeight
=
"50"
SelectionMode
=
"Extended"
AutoGenerateColumns
=
"False"
>
<
telerikGridView:RadGridView.Columns
>
<
telerikGridView:GridViewColumn
Header
=
"Image"
>
<
telerikGridView:GridViewColumn.CellTemplate
>
<
DataTemplate
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
Image
Grid.Column
=
"0"
Width
=
"50"
Height
=
"50"
Source
=
"{Binding Image}"
>
<
ToolTipService.ToolTip
>
<
StackPanel
Orientation
=
"Vertical"
>
<
TextBlock
Text
=
"{Binding Image}"
/>
<
TextBlock
Text
=
"{Binding Name}"
/>
</
StackPanel
>
</
ToolTipService.ToolTip
>
</
Image
>
<
TextBlock
Grid.Column
=
"1"
Text
=
"{Binding Name}"
VerticalAlignment
=
"Center"
/>
</
Grid
>
</
DataTemplate
>
</
telerikGridView:GridViewColumn.CellTemplate
>
</
telerikGridView:GridViewColumn
>
</
telerikGridView:RadGridView.Columns
>
</
telerikGridView:RadGridView
>
</
Grid
>
please help