Hi,
We have upgraded our existing .NET application from .NET 2.0 to .NET 4.5.2. As part of this upgrade, we have upgraded the Telerik controls as well. The Grid which is upgraded, ie the RadGrid has the following features which are not working as earlier.
1. The sorting is not working properly. The records are getting sorted only in ascending order, descending order sorting is not working at all. Even while sorted in ascending order, when moved to the next page, the sorting is not getting applied. If I click on the column header for sorting, it moves to the first page and shows those records alone as sorted.
2. Pagination is not working properly. When the next page button is clicked, it moves only till second page. After that, how many ever times, the next page is clicked, it remains in second page only. Where if i select on a particular page, say 4, it moves to the fourth page correctly. If i click next page after that, it again moves back to the second page and stays there.
Requesting suggestions to fix this issue at the earliest. Let me know if you require any further details.
P.S: I have implemented NeedDataSource event handler as well for binding the data already.
Regards,
Santhosh.
Hi:
because I don't need ImageArea, and only need ThumbnailsArea, so I hide ImageArea !
I need when user click each image (not scroll or next) at ThumbnailsArea, I can fire some client event , and wish get some information about user selected image. How can I do ?
<style type="text/css">
.RadImageGallery .rigActiveImage {
display:none !important;
}
</style>
<telerik:RadImageGallery ID="RadImageGallery1" runat="server" Width="550px" Height="100px" ImagesFolderPath="~\img\" >
<ThumbnailsAreaSettings ShowScrollButtons="true" Mode="Thumbnails" ScrollButtonsTrigger="Hover" Position="Top" ThumbnailsSpacing="10"/>
<ImageAreaSettings ShowDescriptionBox="False" ShowNextPrevImageButtons="False" />
<ToolbarSettings Position="None" ShowFullScreenButton="false" ShowSlideshowButton="false" ShowThumbnailsToggleButton="false" />
</telerik:RadImageGallery>
hi, we are facing a strange issue with grid resize. Will Grid resize / horizontal scroll bar automatically wont work in IE? And also in chrome getting the attached issue in all grids, can this be better aligned?
In your demo you have avoided vertical lines, but we have vertical lines, Check the attachment.
Hello,
When resizing a column in a RadGrid, widths of the next columns are automatically resized.
I would like to prevent that, or to freeze the column widths of some columns.
I tried the property EnableNextColumnResize set to false on my grid's (from http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/columns/resizing), but it doesn't change anything.
Is there any solution to this ?
Thanks and regards.
Hi,
Please see the following scenario:
There is the structure:
Folder A
----- Sub-folder 1
----- Sub-folder 2
----- ...
----- Sub-folder 1000
So, we have folder with thousand sub-folders.
Clicking on the Folder A in tree-view side of File-Explorer, we will have the following steps:
1. ResolveRootDirectoryAsTree - execute one time for Folder A in grid (acceptable)
2. ResolveRootDirectoryAsTree - execute one time for Folder A in the tree-view (acceptable)
3. ResolveRootDirectoryAsTree - execute one thousand times, for each sub-folder in the tree-view (very slow)
As you can see, the step 3 is the cause of very slow loading.
Is there any way to avoid this behavior? Do you have any suggestion?
Maybe to try to disable expand of nodes if there is a very large amount of data under them? Only to populate a grid, as the Windows explorer does?
When i turn-off expanding of the tree-view nodes (args.set_cancel(true) on node clicking for test purpose) i have very good response. Because, there are only two executions of ResolveRootDirectoryAsTree method.
Am i missing something here?
I red the article "Setup virtual scrolling in the RadGrid embedded in RadFileExplorer", but i still have the tree-view issue.
<
script
type
=
"text/javascript"
>
function ValidateCheckBox() {
validateTextBox();
//get target base & child control.
var TargetBaseControl = document.getElementById('<%= RadGridAssetCode.ClientID%>');
var TargetChildControl = "CheckBox1";
//get all the control of the type INPUT in the base control.
var Inputs = TargetBaseControl.getElementsByTagName("input");
for (var n = 0; n <
Inputs.length
; ++n)
if (Inputs[n].type == 'checkbox' && Inputs[n].id.indexOf(TargetChildControl, 0) >= 0)
if (Inputs[n].checked) return true;
alert('Select at least one checkbox!');
return false;
}
</
script
>
<
ItemTemplate
>
<
asp:CheckBox
id
=
"CheckBox1"
OnCheckedChanged
=
"ToggleRowSelection"
AutoPostBack
=
"True"
runat
=
"server"
></
asp:CheckBox
>
</
ItemTemplate
>
<
telerik:RadButton
ID
=
"btnSave"
runat
=
"server"
Text
=
"Update"
OnClientClick
=
"javascript:return ValidateCheckBox();"
>
<
Icon
PrimaryIconCssClass
=
"rbSave"
PrimaryIconLeft
=
"4"
PrimaryIconTop
=
"4"
/>
</
telerik:RadButton
>
Hello!
I was wondering if there was a way on the back end to setup the toggle states like:
<ToggleStates>
<telerik:RadButtonToggleState Text="Checked" PrimaryIconCssClass="rbToggleRadioChecked"></telerik:RadButtonToggleState>
<telerik:RadButtonToggleState Text="UnChecked" PrimaryIconCssClass="rbToggleRadio"></telerik:RadButtonToggleState>
</ToggleStates>
My current code is something like this:
RadButton button = new RadButton();
button.GroupName = rbl.ID;
button.ToggleType = ButtonToggleType.Radio;
button.ButtonType = RadButtonType.StandardButton;
button.AutoPostBack = false;
button.Text = row.option_name;
button.Value = row.option_value;
button.RenderMode = RenderMode.Lightweight;
button.Icon.PrimaryIconCssClass = "rbToggleRadio";
Would I have to set an on change to handle changing the PrimaryIconCssClass?
Hello, I am new to telerik,
I have being able to add dropdownlist to my radlistbox but I have a couple of challenges with:
1. I need to display a label in front of each dropdownlist,
<telerik:RadListBox RenderMode="Lightweight" ID="RadListBox3" runat="server" AutoPostBackOnTransfer="True">
<ItemTemplate>
BDF1<telerik:RadComboBox ID="cmbBDF4" Runat="server" Skin="WebBlue">
<Items>
<telerik:RadComboBoxItem runat="server" Font-Size="Smaller" Text="NORTH CENTRAL" Value="NORTH CENTRAL" />
<telerik:RadComboBoxItem runat="server" Font-Size="Smaller" Text="SOUTHERN" Value="SOUTHERN" />
<telerik:RadComboBoxItem runat="server" Font-Size="Smaller" Text="NORTHERN" Value="NORTHERN" />
<telerik:RadComboBoxItem runat="server" Font-Size="Smaller" Text="CENTRAL" Value="CENTRAL" />
<telerik:RadComboBoxItem runat="server" Font-Size="Smaller" Text="ZONE" Value="ZONE" />
</Items>
</telerik:RadComboBox>
</ItemTemplate>
<Items>
<telerik:RadListBoxItem Text="BDF1" Value="BDF1" />
<telerik:RadListBoxItem Text="BDF2" Value="BDF2" />
<telerik:RadListBoxItem Text="BDF3" Value="BDF3" />
<telerik:RadListBoxItem Text="BDF4" Value="BDF4" />
</Items>
</telerik:RadListBox>
2. I need to get the value of each selected dropdownlist value.