Dear Sir/Madam,
Please response to my email: Kassaiefarshad@yahoo.com
I have got a RadListView and I have created a Generic List, then I have bound my ListView to Generic List.
You can see part of RadListView as follow:
As you can see in my code :
<% if (DataBinder.Eval(Container.DataItem, "ScientificResume") != string.Empty)%>
System getting error to me and it doesn't recognize "Container.DataItem". What is "Container.DataItem" in above line of code?
If this approach is not true please guide me how can I do it inside RadListView?
Any help appreciated.
Farshad Kassaie.
Kassaiefarshad@yahoo.com
Please response to my email: Kassaiefarshad@yahoo.com
I have got a RadListView and I have created a Generic List, then I have bound my ListView to Generic List.
You can see part of RadListView as follow:
<
telerik:RadListView
ID
=
"RadListViewKnowledgeOwners"
runat
=
"server"
ItemPlaceholderID
=
"ListViewContainer"
dir
=
"rtl"
Width
=
"600px"
>
<
LayoutTemplate
>
<
asp:PlaceHolder
runat
=
"server"
id
=
"ListViewContainer"
/>
</
LayoutTemplate
>
<
ItemTemplate
>
...............
<
table
width
=
"170"
>
<
tr
style
=
"height: 30px;"
>
<
td
>
<% if (DataBinder.Eval(Container.DataItem , "ScientificResume") != string.Empty)%>
<% {%>
<
a
href='http://kms/Resume/<;;%# Eval("ScientificResume")%>'
target="_blank">Resume</
a
>
<% }
else
{ %>
Resume
<% } %>
</
td
>
</
tr
>
</
tr
>
<% if (DataBinder.Eval(Container.DataItem, "ScientificResume") != string.Empty)%>
System getting error to me and it doesn't recognize "Container.DataItem". What is "Container.DataItem" in above line of code?
If this approach is not true please guide me how can I do it inside RadListView?
Any help appreciated.
Farshad Kassaie.
Kassaiefarshad@yahoo.com