hi
i need to access to the control in radlist view . i founde some examples in forum but none of them didn't solve my problem. or where in VB.NET and i couldn't understand.
so please tell me how can i access to controls and theire properties in itemtemplate.
i want to access to Label1 and read it property.
i added all script manager and ajax manager and etc.
thank you.
i need to access to the control in radlist view . i founde some examples in forum but none of them didn't solve my problem. or where in VB.NET and i couldn't understand.
so please tell me how can i access to controls and theire properties in itemtemplate.
<
telerik:RadListView
ID
=
"RadListView1"
runat
=
"server"
DataSourceID
=
"SqlDataSource1"
ItemPlaceholderID
=
"ListViewContainer"
Width
=
"800px"
Height
=
"380px"
AllowCustomPaging
=
"True"
AllowCustomSorting
=
"True"
AllowNaturalSort
=
"True"
AllowPaging
=
"True"
>
<
LayoutTemplate
>
<
asp:PlaceHolder
runat
=
"server"
id
=
"ListViewContainer"
/>
</
LayoutTemplate
>
<
ItemTemplate
>
<
fieldset
style
=
"float: left; width: 350px; height: 150px;"
>
<
legend
><
b
>نام فروشگاه :</
b
>:
<%#Eval("ShopName")%></
legend
>
<
table
style
=
"width:100%;height:100%;"
>
<
tr
>
<
td
><
asp:Image
runat
=
"server"
ID
=
"Image1"
ImageUrl='<%#Eval("imageURL") %>'
AutoAdjustImageControlSize="false" Width="90px" Height="110px" ToolTip='<%#Eval("ShopName") %>'
AlternateText='<%#Eval("ShopName") %>' />
</
td
>
<
td
>
<
div
style
=
"width:100%;height:100%;"
>
<
label
>
جزئیات:</
label
>
<%#Eval("details")%>
<
br
/>
<
asp:Button
ID
=
"post"
runat
=
"server"
Text
=
"دیدن محصولات"
PostBackUrl
=
"~/Comidity.aspx"
/>
<
asp:Label
ID
=
"Label1"
runat
=
"server"
Text='<%#Eval("ID") %>'></
asp:Label
>
</
div
>
</
td
>
</
tr
>
</
table
>
</
fieldset
>
</
ItemTemplate
>
</
telerik:RadListView
>
i want to access to Label1 and read it property.
i added all script manager and ajax manager and etc.
thank you.