I’m trying to look for an example, but I haven’t found one. I would like to add a checkbox column to my RadGrid where if a person checks the checkbox it will do an insert into the database. This example here looks close to what I want. Where if you check the checkbox on the upper left, it will check all the rows and at the same time insert into the database as a yes/no or a 0 / 1.
Any help would be appreciated.
Thanks.
<CommandItemSettings ExportToPdfText="Export to PDF"/>" line as it doesn't make any sense here, but the line has reappeared I don't know why.<telerik:RadGrid ID="OrderDetail_RadGrid" runat="server" AllowFilteringByColumn="True" AllowSorting="True" CellSpacing="0"GridLines="None" AutoGenerateColumns="False" DataSourceID="TemporaryOnlineOrdersLines_SqlDataSource"> <ClientSettings AllowColumnsReorder="True"> <Scrolling AllowScroll="True" UseStaticHeaders="True" /> </ClientSettings> <MasterTableView AllowFilteringByColumn="False" AllowSorting="False" DataSourceID="TemporaryOnlineOrdersLines_SqlDataSource"> <CommandItemSettings ExportToPdfText="Export to PDF"/> <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column"> <HeaderStyle Width="20px"/> </RowIndicatorColumn> <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column"> <HeaderStyle Width="20px"/> </ExpandCollapseColumn> <Columns> <telerik:GridBoundColumn DataField="p_Name" FilterControlAltText="Product" UniqueName="Product" HeaderText="Product"/> <%--<telerik:GridBoundColumn DataField="p_Description" FilterControlAltText="Description" UniqueName="p_Description" HeaderText="Description"/>--%> <telerik:GridNumericColumn DataField="tool_Quantity" DecimalDigits="2" FilterControlAltText="Quanity" HeaderText="Qantity"/> <telerik:GridBoundColumn DataField="unit_Name" FilterControlAltText="Unit" UniqueName="unit_Name" HeaderText="Unit"/> <telerik:GridButtonColumn FilterControlAltText="Filter column column" UniqueName="Remove"/> </Columns> <EditFormSettings> <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn> </EditFormSettings></MasterTableView><FilterMenu EnableImageSprites="false"></FilterMenu></telerik:RadGrid>
How to Disable the back button.Even i got some javascript from google i cant go back to the previous page but my current page is loaded freshly,my previous actions are gone.... How should i retain current values while disable the back button? Example if i select any values in dropdown....Its urgent Please
ToolbarMode="ShowOnFocus"
Height seems to work...