Hi.
I made a quick demo up just to be sure this was indeed the case.
Build a new site in VS2005 or whatever.
I made a quick demo up just to be sure this was indeed the case.
Build a new site in VS2005 or whatever.
- Add master.masterpage
- Add RadScriptManager ,register Dll , and formdecorator to masterpage.
- Create default.aspx with master.masterpage
- Add Radgrid with the following markup (below)
- connect it to a source to populate
If it works the way mine is, the rows will select, but the checkboxes won't 'check'. if you delete the formdecorator from masterpage, then the boxes magically check again. This does not occur if the form decorator is within the same aspx page. ... why and how to work around please?
aspx code:
<telerik:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource1" |
AllowMultiRowSelection="True" runat="server" AllowSorting="True" GridLines="None" Width="95%" AllowAutomaticDeletes="True"> |
<MasterTableView DataSourceID="SqlDataSource1"> |
<Columns> |
<telerik:GridClientSelectColumn Text="test" UniqueName="ClientSelectColumn" /> |
</Columns> |
<RowIndicatorColumn Visible="False"> |
<HeaderStyle Width="20px" /> |
</RowIndicatorColumn> |
<ExpandCollapseColumn Resizable="False" Visible="False"> |
<HeaderStyle Width="20px" /> |
</ExpandCollapseColumn> |
<EditFormSettings> |
<PopUpSettings ScrollBars="None" /> |
</EditFormSettings> |
</MasterTableView> |
<ClientSettings> |
<Selecting AllowRowSelect="True"></Selecting> |
</ClientSettings> |
</telerik:RadGrid><asp:SqlDataSource ID="SqlDataSource1" /> |
mastepage code:
<%@ Master Language="VB" CodeFile="MasterPage.master.vb" Inherits="MasterPage" %> |
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml" > |
<head runat="server"> |
<title>Untitled Page</title> |
</head> |
<body> |
<form id="form1" runat="server"> |
<div> |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
</telerik:RadScriptManager> |
<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" Skin="Office2007" /> |
<br /> |
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server"> |
</asp:contentplaceholder> |
</div> |
</form> |
</body> |
</html> |