I'm getting some very odd behavior on my radgrid when I call resizetofit after settings columns Display=false from the code behind. A lot of white space is left on the first call and on subsequent calls the grid continues to shrink and be set to more readable dimensions. The grid is very large (105 columns) and I'm using a checkbox list to allow users to select which columns they want visible which removes excess columns using radGrid.MasterTableView.Columns[i].Display = false; Currently I'm resolving the issue by wrapping the script called afterwards in a loop so it runs 3 times, but it continues to shrink long after even 3 calls. Depending on how many rows are removed it continues to shrink (at a reducing rate) up to 8 calls afterwards. Javascript and grid markup below:
<script> function resize() { var grid = $find("<%= gridAgents.ClientID %>"); var columns = grid.get_masterTableView().get_columns(); for (var i = 0; i < columns.length; i++) { columns[i].resizeToFit(); } }</script><telerik:RadGrid ID="gridAgents" runat="server" AllowPaging="True" AllowSorting="True" OnNeedDataSource="gridAgents_NeedDataSource" ShowGroupPanel="True" OnEditCommand="gridAgents_EditCommand" OnUpdateCommand="gridAgents_UpdateCommand" OnDeleteCommand="gridAgents_DeleteCommand" OnCancelCommand="gridAgents_CancelCommand" OnInsertCommand="gridAgents_InsertCommand" OnItemUpdated="gridAgents_ItemUpdated" OnItemDeleted="gridAgents_ItemDeleted" OnItemInserted="gridAgents_ItemInserted" AutoGenerateColumns="false"> <HeaderStyle BorderColor="LightGray" BorderWidth="1px" /> <GroupingSettings CollapseAllTooltip="Collapse all groups" /> <ClientSettings AllowDragToGroup="True"> <Resizing AllowColumnResize="true" ResizeGridOnColumnResize="true" AllowResizeToFit="true" /> </ClientSettings> <MasterTableView AutoGenerateColumns="False" CommandItemDisplay="Top"> <Columns> <telerik:GridEditCommandColumn> </telerik:GridEditCommandColumn> <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" Text="Delete" UniqueName="DeleteColumn" ConfirmText="Delete record?"> </telerik:GridButtonColumn> //103 Bound/Template columns </Columns> </MasterTableView></telerik:RadGrid>
Hi,
I have a web application which uses many RadGrid controllers on a single page. Is there any possibility to has a set of class to handle RadGrid properties? So that all RadGrid will able to inherit the properties and much easier for me do any changes to all RadGrid when needed.
Thanks.

Hi,
We are using Radscheduler control to display appointments. However we are facing a very strange problem.
When we are creating an appointment that is for multiple hours (11:00 Am to 14:00 PM) , then it does not display completely. It is rendered but behind the rows of hours. So it displays only from 11AM to 12PM then it is back to the scheduler control. i think there is some CSS issue or something else?
Please help me,
Regards,
Piyush

I am rewriting a web page which is a list of items - mostly for viewing with the ability to edit notes to each line - one of the columns is updatable, another a hyperlink, a third to reorder the data
is RadGrid the best control if most of the columns read only - and there will not be any inserts

Hello,
I just started working with the ImageManager in the Editor and have a few questions regarding the provided examples.
1. Can the ImageManager window be resize?
2. I believe FileExplorer is used inside ImageManager. When I try to resize the left side of the FileExplorer to make it bigger, the slider on the right side goes over the right side of Image Manager. Can anything be done to fix this behavior?
3. Can the slider’s visibility be changed dynamically? If yes, then how?
4. In my application I would like to use a physical path in the ImageManager and not virtual. And partially I was able to do so. The problem I have with that is that when I select the file in the FileExplorer, I do not see the image on the Preview panel and there is no info on the Properties panel either. Am I missing something?
Thank you
After downloading patched Telerik.Web.UI.dll to address the recent security vulnerability (version 2017.1.228.45), I'm running into this error:
Telerik.Web.UI.RadEditor with ID='[some control id]' was unable to find an embedded skin with the name 'Vista'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false.
Is this because the version number of Telerik.Web.UI.Skins.dll no matches the version number of Telerik.Web.UI.dll? Is there a practical way of addressing without upgrading all components to match
Hello,
I've been struggling with issue, how to get EnableTimeIndependentFiltering property working in GridTemplateColumn.
Let me describe the issue. We have datetime columns in our SQL database. These columns have in some rows normal dates such 21.9.2017 15:10:00 but some have the intial value 01.01.1900 00:00:00. Because I don't know how to suppress this initial value to be shown, I use GridTemplateColumn instead of GridDateTimeColumn. The problem is that this column even with property DataType="System.DateTime" didn't know EnableTimeIndependentFiltering.
Here is my sample column declaration:
<telerik:GridTemplateColumn DataField="TransferOrder_ChangedDate" HeaderText="Dátum vykonania" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" ReadOnly="True" SortExpression="TransferOrder_ChangedDate" DataType="System.DateTime" ItemStyle-HorizontalAlign="Left" UniqueName="TransferOrder_ChangedDate" FilterControlWidth="120px" ColumnGroupName="TransferOrder" AutoPostBackOnFilter="false" CurrentFilterFunction="EqualTo" > <ItemTemplate> <asp:Label ID="lbl_TransferOrder_ChangedDate" runat="server" Text='<%# ((DataRowView)Container.DataItem)["TransferOrder_ChangedDate"].ToString() == nulldateTime.ToString() ? " ": string.Format("{0:dd.MM.yyyy HH:mm:ss}", ((DataRowView)Container.DataItem)["TransferOrder_ChangedDate"]) %>'></asp:Label> </ItemTemplate> </telerik:GridTemplateColumn>
The question is how can I filter data based on whole day value without need to type hours, minutes and second in GridTemplateColumn ?
Thank you
Best regards
Vasssek

Hi,
I have a radiobuttolist with 3 items.
<telerik:RadRadioButtonList ID="RadRadioButtonList1" runat="server"AutoPostBack="False">
<Items>
<telerik:ButtonListItem Text="Approve" Value="value1"Selected="True" />
<telerik:ButtonListItem Text="Return" Value="value2" />
<telerik:ButtonListItem Text="Reject" Value="value3" />
</Items>
</telerik:RadRadioButtonList>
I need to remove 3rd item from the list on client click of some other control (for example on button client click). Is that possible? If yes, how can I remove it from client side using jQuery?
At the end result I should I have only 2 options: Approve and Return.
And if I click again on the button, It should display all 3items.
Thanks in advance for your valuable help.