Hello,
How would find (and store) the new indexes for every item within a radgrid after multiple rows have been dragged and dropped?
(
This demo does it wrong btw, does not properly re-order rows within one grid in scenarios where you drag multiple rows from different positions:
http://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/rows/drag-and-drop/defaultvb.aspx?show-source=true
Attached files illustrate non working demo re-order: draggedrows.PNG shows 2 rows selected, dropped them between "HANAR" and "CHOPS"; draggedrowsdroppedbetweenhanarandchops.PNG shows result of operation, not expected result. Demo only checks for first dragged item...
)
- How to write out the new indexes client side onrowdropped in a hidden column, so I can get these values on the server side rowdrop event?
- Or How to get new indexes server side after rows are dropped directly?


Hello,
Is it possible to delete everything except the files that are being pasted to the editor? I'm currently using the attribute StripFormattingOnPaste = "AllExceptNewLines".

Hi all,
Using VS 2013 with ASP.NET AJAX Q3 2015. Using below link as a prototype.
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/edit-form-types/defaultcs.aspx
I have a weird request from a user to hide all GridBoundColumn's while form is in edit mode..
Also I would like to sort the grid column (ex: LastName) from above link from an external button click event, that button should be outside RadGrid.
Below is code that put all rows in edit mode, it works. But I need some help to hide GridBound columns.
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" CellSpacing="0" AllowMultiRowEdit="true" DataSourceID="SqlDataSource1" GridLines="None" Width="800px" AllowFilteringByColumn="True" EnableLinqExpressions="true" OnItemDataBound="RadGrid1_ItemDataBound" OnPreRender="RadGrid1_PreRender" OnItemCommand="RadGrid1_ItemCommand" Skin="Vista" AllowSorting="True"> </telerik:RadGrid>-------------------- protected void RadGrid1_PreRender(object sender, EventArgs e) { foreach (GridDataItem data in RadGrid1.MasterTableView.Items) { data.Edit = true; } RadGrid1.Rebind(); } Any help will be appreciated.
Thanks
gc_0620
With the latest update (2015.3.1111.4.5), I've noticed that if we have the following code:
<telerik:RadSocialShare ID="RadSocialShare1" runat="server"> <MainButtons> <telerik:RadSocialButton SocialNetType="ShareOnTwitter" ToolTip="Tweet this" /> <telerik:RadSocialButton SocialNetType="ShareOnFacebook" ToolTip="Share on Facebook" /> <telerik:RadCompactButton ToolTip="Show more" /> </MainButtons></telerik:RadSocialShare>ALL Telerik controls break across our site. Nothing works.
However, when I remove the RadCompactButton, it works again. This is the revised code that fixes the problem:
<telerik:RadSocialShare ID="RadSocialShare1" runat="server"> <MainButtons> <telerik:RadSocialButton SocialNetType="ShareOnTwitter" ToolTip="Tweet this" /> <telerik:RadSocialButton SocialNetType="ShareOnFacebook" ToolTip="Share on Facebook" /> </MainButtons></telerik:RadSocialShare>
Just thought you'd want to know.
Chris Lee
I have a RadGrid with Scrolling-AllowScroll="true" and Scrolling-UseStaticHeaders="true" but the GridHyperLinkColumn columns are not displayed. They do show up correctly when Scrolling-UseStaticHeaders="false".
Is there a way to show the GridHyperLinkColumn with Scrolling-UseStaticHeaders="true"?
01.<telerik:RadGrid ID="RadGrid2" runat="server" GridLines="None" Width="100%" PageSize="10000" AllowPaging="False" AutoGenerateColumns="False" OnNeedDataSource="RadGrid2_NeedDataSource" OnItemCreated="RadGrid2_ItemCreated" ShowStatusBar="False" AllowSorting="True" AllowFilteringByColumn="False" Skin="Web20">02. <ClientSettings Scrolling-AllowScroll="true" Scrolling-UseStaticHeaders="true" AllowColumnsReorder="False" ReorderColumnsOnClient="False">03. <Resizing AllowColumnResize="False" EnableRealTimeResize="False"></Resizing>04. <Selecting AllowRowSelect="True"></Selecting>05. </ClientSettings>06. <FilterItemStyle Font-Size="8px" />07. <PagerStyle ShowPagerText="False" AlwaysVisible="False" />08. <MasterTableView Width="100%" DataKeyNames="OrderID,OrderNumber,OrderVendorItemID" AutoGenerateColumns="False" CommandItemDisplay="Bottom" >09. <CommandItemSettings ShowAddNewRecordButton="False" ShowExportToExcelButton="True" ShowRefreshButton="False" />10. <Columns>11. 12. <telerik:GridHyperLinkColumn DataNavigateUrlFields="OrderID" ImageUrl="/icons/edit_20_16.png" Target="blank" DataNavigateUrlFormatString= "editorder.aspx?OrderID={0}" DataType="System.String">13. <HeaderStyle Width="5px" /> 14. <ItemStyle HorizontalAlign="Center" />15. </telerik:GridHyperLinkColumn>16. 17. <telerik:GridBoundColumn DataField="OrderNumber" HeaderText="Order No." SortExpression="OrderNumber" UniqueName="OrderNumber" DataType="System.String" Display="true" ItemStyle-HorizontalAlign="Center" >18. <HeaderStyle Wrap="false" />19. <ItemStyle Wrap="false" />20. </telerik:GridBoundColumn>21.</Columns> 22. </MasterTableView> 23. </telerik:RadGrid>Using the same exact markup and code on two different sites only difference is the Telerik.Web.UI.dll version.
The Q3 2015 version (2015.3.930.45) is not applying the custom style sheet on PDF export.
Is there a bug in that version regarding custom style on export? Very simple page below where I'm just changing the Header color from Green to Red on export to show it isn't working.
<!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></title><style type="text/css"> html .RadScheduler .rsHeader h2 { color:green; } </style> <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" /> </head><body> <form id="form1" runat="server"> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> <Scripts> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" /> </Scripts> </telerik:RadScriptManager> <script type="text/javascript"> </script> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> </AjaxSettings> </telerik:RadAjaxManager><div class="exampleContainer"> <telerik:RadScheduler runat="server" ID="RadScheduler1" SelectedDate="2012-04-16" OverflowBehavior="Auto"> <Reminders Enabled="true"></Reminders> <TimeSlotContextMenuSettings EnableDefault="true"></TimeSlotContextMenuSettings> <AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings> <ExportSettings OpenInNewWindow="true" FileName="SchedulerExport"> <Pdf PageTitle="Schedule" Author="Telerik" Creator="Telerik" Title="Schedule" StyleSheets="ExportStyle.css"></Pdf> </ExportSettings> </telerik:RadScheduler> <p> <telerik:RadButton ID="RadButton1" runat="server" Text="Export to PDF" OnClick="RadButton1_Click"> <Icon PrimaryIconUrl="Image/pdf.gif"></Icon> </telerik:RadButton> </p></div> </form></body></html>
ExportStyle.css
html .RadScheduler .rsHeader h2 {
color:red;
}

<telerik:RadComboBox ID="cbProducts" runat="server" Width="250px" DataSourceID="dsProducts" DataTextField="ProductName" DataValueField="ProductID" AppendDataBoundItems="true" CheckBoxes="True" onitemchecked="dlProducts_ItemChecked" AutoPostBack="true"> <Items> <telerik:radcomboboxitem Text="-- Select --" Value="" /> </Items> </telerik:RadComboBox>Holding down Ctrl + mouseclick on a cell only makes sense to me if the developer tried to copy the MS Excel behavior.
But here a grid has a definded selection mode: single or not.
And i don´t understand why a user has to hold down a key just to add or remove a cells from selection?
In multiselection mode clicking on a cell should toggle its selection state. C´est ca.
In single-mode it clears all selections and then selects the cell clicked on.
Ever forgot holding down 'Ctrl' on the very last cell after 5 minutes of selecting cells? Then you know what i´m talking about....
