任何人都可以给我任何关于RADGRID免费教程的指针,或者给我一个关于如何创建RADGRID并将其绑定到数据源的简单示例。
TIA。
答案 0 :(得分:3)
您需要了解有关您可以在telerik网站上找到的控件的任何内容
答案 1 :(得分:1)
<%@ Register TagPrefix="radG" Namespace="Telerik.WebControls" Assembly="RadGrid.Net2" %>
<radG:RadGrid Visible="False" ID="RadGrid1" DataSourceID="AccessDataSource1" OnItemCreated="RadGrid1_ItemCreated"
EnableAJAX="True" runat="server" AllowPaging="True" AllowSorting="True" PageSize="3"
Width="95%" AllowMultiRowSelection="True" GridLines="None" Skin="3D" HorizontalAlign="NotSet">
<PagerStyle Mode="NumericPages"></PagerStyle>
<MasterTableView DataSourceID="AccessDataSource1" PageSize="20">
<RowIndicatorColumn FilterImageUrl="" SortAscImageUrl="" SortDescImageUrl="" Visible="False">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn ExpandImageUrl="" CollapseImageUrl="" FilterImageUrl="" SortAscImageUrl=""
SortDescImageUrl="" Visible="False">
<HeaderStyle Width="19px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
<radG:GridTemplateColumn FilterImageUrl="" SortAscImageUrl="" SortDescImageUrl=""
UniqueName="CheckBoxTemplateColumn">
<ItemTemplate>
<asp:CheckBox ID="CheckBox1" OnCheckedChanged="ToggleRowSelection" AutoPostBack="True"
runat="server"></asp:CheckBox>
</ItemTemplate>
<HeaderStyle Width="30px"></HeaderStyle>
</radG:GridTemplateColumn>
</Columns>
<EditFormSettings>
<EditColumn InsertImageUrl="" UpdateImageUrl="" EditImageUrl="" CancelImageUrl=""
FilterImageUrl="" SortAscImageUrl="" SortDescImageUrl="">
</EditColumn>
</EditFormSettings>
</MasterTableView>
</radG:RadGrid>
<br />
<br />
<br />
<asp:SqlDataSource ID="AccessDataSource1" ConnectionString="<%$ AppSettings:Main.ConnectionString%>"
SelectCommand="select * from table '"
runat="server"></asp:SqlDataSource>