or
<asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="Webshop.Entities" EntityTypeName="" OrderBy="Name, FromDate, TillDate" Select="new (AutoID, Name, FromDate, TillDate, Comment)" TableName="Autos"></asp:LinqDataSource><telerik:RadComboBox ID="cbAutos" runat="server" Width="900px" DropDownWidth="900px" EmptyMessage="Chosse an autotype" HighlightTemplatedItems="True" Filter="Contains" LoadingMessage="Loading..." DataTextField="Name" MaxHeight="300px" DataValueField="AutoID" ShowDropDownOnTextboxClick="False" DataSourceID="LinqDataSource1" EnableLoadOnDemand="True" EnableVirtualScrolling="True" ItemsPerRequest="100"> <HeaderTemplate> <table style="width: 850px;"> <tr> <td style="width: 300px;">Autotype</td> <td style="width: 100px;">Date (from)</td> <td style="width: 100px;">Date (till)</td> <td style="width: 150px;">Comment</td> </tr> </table> </HeaderTemplate> <ItemTemplate> <table style="width: 850px;"> <tr> <td style="width: 300px;"> <%# DataBinder.Eval(Container.DataItem, "Name")%> </td> <td style="width: 100px;"> <%# DataBinder.Eval(Container.DataItem, "FromDate")%> </td> <td style="width: 100px;"> <%# DataBinder.Eval(Container.DataItem, "TillDate")%> </td> <td style="width: 150px;"> <%# DataBinder.Eval(Container.DataItem, "Comment")%> </td> </tr> </table> </ItemTemplate> </telerik:RadComboBox>
<asp:Image ID="Image1" runat="server" ImageUrl='<%# CType(Container.DataItem, PropertyUtente).imageprofile%>' Height="125px" Width="110px"/>CType(Container.DataItem, PropertyUtente).imageprofile
into div so i can to create to div the round edges with css.Dim lista As List(Of PropertyUtente) = Loadsearch.Search(_str1, _str2)RadListView1.DataSource = listaRadListView1.DataBind() ExpandImageUrl, CollapseImageUrl, NoExpandImageUrl properties ( as described here) . Its very clear and easy to understand. Why haven't you implemented something like that.<telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="0" ShowFooter="True" DataSourceID="SqlDataSource1" GridLines="None"> <headercontextmenu> </headercontextmenu> <clientsettings> <Scrolling AllowScroll="True" UseStaticHeaders="True" /> </clientsettings> <mastertableview datasourceid="SqlDataSource1"> <CommandItemSettings ExportToPdfText="Export to PDF" /> <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"> <HeaderStyle Width="20px" /> </RowIndicatorColumn> <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"> <HeaderStyle Width="20px" /> </ExpandCollapseColumn> <EditFormSettings> <EditColumn FilterControlAltText="Filter EditCommandColumn column"> </EditColumn> </EditFormSettings> </mastertableview> <filtermenu enableimagesprites="False"> </filtermenu> </telerik:RadGrid>Protected Sub RadGrid1_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemDataBound Try If TypeOf e.Item Is GridDataItem Then Dim item As GridDataItem = DirectCast(e.Item, GridDataItem) Dim hl As New HyperLink() hl.NavigateUrl = "Default.aspx?id=1" hl.Text = item("TaskReasonCategory").Text item("TaskReasonCategory").Controls.Add(hl) End If Catch ex As Exception Throw ex End Try End Subprotected void RadTreeListWork_ItemDataBound(object sender, TreeListItemDataBoundEventArgs e) { if (e.Item is TreeListDataItem) { TreeListDataItem item = (TreeListDataItem)e.Item;