Hi,
if I put a field with many distinct values (like product name) on columns or rows, and I try to open filter menu - it takes time to load all items in selection tree, user fills like PivotGrid hangs. Is it possible to cancel either filling selection tree or cancel the whole filter menu, so user can only sort using up\down arrow?
Thanks
Alex
Private
Sub RadGridView1_CellBeginEdit(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewCellCancelEventArgs) Handles RadGridView1.CellBeginEdit
' if a value of field-column if "C"
dim ValueColum as string=Me.RadGridView1.Rows(RowIndex).Cells(Me.RadGridView1.MasterGridViewTemplate.Columns("ind_tiporiga").Index).Value
dim i as integer=3 ' this is a indexCell
Select case ValueColum
case "C"
Me.RadGridView1.Rows(RowIndex).Cells(i).CellElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed
Me.RadGridView1.Rows(RowIndex).Cells(i).CellElement.BackColor = Color.Gray
case Else
Me.RadGridView1.Rows(RowIndex).Cells(i).CellElement.Visibility = Telerik.WinControls.ElementVisibility.visible
Me.RadGridView1.Rows(RowIndex).Cells(i).CellElement.BackColor = Color.white
end select


Hi to all,
I would use same format to edit column and visual column for percent value
I'm using formatstring "{0:P2}" to show percent value correctly (value passed by object is for example 0.06), this formatstring show me 6%, OK!
But when I edit cell it shows me 0.06, are ther a way to edit value "6%", keeping 0.06 into my object?
Then my data is 0.06, it shows 6 %, I enter in edit mode and It should show me "6" or "6 %" (masked? I don't know),
I enter 6.5 %, and it store in my data 0.065
Is it possible?
01.Dim _Column As New GridViewDecimalColumn()02. 03._Column.AutoSizeMode = BestFitColumnMode.AllCells04._Column.HeaderText = "Percentage"05._Column.FieldName = "Discount"06._Column.Name = "Perc01"07._Column.Width = 10008._Column.FormatString = "{0:P2}"09._Column.DecimalPlaces = 210._Column.ThousandsSeparator = False11. 12.Columns.Add(_Column)I'm trying to change the datasource for a template as follows
Dim ContactPhonesDS As ContactsDataset.PhoneRow() = ContactsDataset.Phone.Select("ContactKey = '" & ContactKey & "'") Dim ContactDt As DataTable = New DataTable("Phone") ContactDt.Columns.Add("TableKey") ContactDt.Columns.Add("ContactKey") ContactDt.Columns.Add("Client_ID") ContactDt.Columns.Add("Office_ID") ContactDt.Columns.Add("PRNumber") ContactDt.Columns.Add("Line_Type") ContactDt.Columns.Add("comboLine_Type") ContactDt.Columns.Add("Phone_Number") ContactDt.Columns.Add("Extension") ContactDt.Columns.Add("Discription") ContactDt.Columns.Add("Delete_Flag") For Each row In ContactPhonesDS ContactDt.ImportRow(row) Next PHNumbers.MasterTemplate.DataSource = ContactDt PHNumbers.MasterTemplate.Columns("Phone_Number").FormatString = "{0:(000)000-0000}"But the formatstring is not applied. I'm Guessing it's because the column is not of the correct data type, but I can't figure out how to set it to decimal.

I have a situation with the grid doesn't have the triangle sign. It is supposed to have it like the image attached.
<StackPanel Orientation="Vertical"> <TextBlock Text="xxxx" HorizontalAlignment="Center"></TextBlock> <telerik:RadGridView Name="radGridView" RowLoaded="radGridView_RowLoaded" Width="1025" IsReadOnly="True" ValidatesOnDataErrors="None" AutoGenerateColumns="False" IsFilteringAllowed="False" ShowGroupPanel="False" ShowColumnFooters="False" CanUserResizeColumns="False" CanUserFreezeColumns="False" SelectionMode="Single" CanUserReorderColumns="False" CanUserSortColumns="False" CanUserInsertRows="False" CanUserDeleteRows="False" CanUserSelect="False" RowIndicatorVisibility="Visible" Height="265" ItemsSource="{Binding Information}" SelectedItem="{Binding SelectedItem, Mode=TwoWay}" > <telerik:RadGridView.Columns>What I missed?
Hi
My layoutgrid is 2 columns, 4 rows and Im seeing the control ignoring both width and ProportionalHeightWeight settings I set.
Rather than 20:80 I'm seeing 50:50 for columns, rather than 10:10:70:10 for rows I'm seeing 25:25:25:25.
What am I missing please?
001.private void CreateElements()002.{003. _layoutPanel = new GridLayout();004. _layoutPanel.Columns.Clear();005. _layoutPanel.Rows.Clear();006. 007. //add columns008. _layoutPanel.Columns.Add(new GridLayoutColumn()009. {010. SizingType = GridLayoutSizingType.Proportional,011. ProportionalWidthWeight = 20012. });013. _layoutPanel.Columns.Add(new GridLayoutColumn()014. {015. SizingType = GridLayoutSizingType.Proportional,016. ProportionalWidthWeight = 80017. });018. 019. // Add rows020. CreateTitleRow();021. CreateImageRow();022. CreateTimeRow();023. CreateBeginRow();024. 025. // Add rows to the layout026. _layoutPanel.Rows.Add(_titleRow);027. _layoutPanel.Rows.Add(_imageRow);028. _layoutPanel.Rows.Add(_timeRow);029. _layoutPanel.Rows.Add(_beginRow);030. 031. // Add items to the panel032. _layoutPanel.Children.Add(_planTitle);033. _layoutPanel.Children.Add(_planImage);034. _layoutPanel.Children.Add(_totalTime);035. _layoutPanel.Children.Add(_beginButton);036. 037. // Add layout panel to children038. Children.Add(_layoutPanel);039.}040. 041.private void CreateTitleRow()042.{043. _titleRow = new GridLayoutRow();044. _titleRow.SizingType = GridLayoutSizingType.Proportional;045. _titleRow.ProportionalHeightWeight = 10;046. 047. // Set the title of the plan 0,0048. _planTitle = new LightVisualElement();049. _planTitle.SetValue(GridLayout.ColSpanProperty, 2);050. _planTitle.SetValue(GridLayout.ColumnIndexProperty, 0); 051. _planTitle.SetValue(GridLayout.RowIndexProperty, 0);052. _planTitle.AutoEllipsis = true;053. _planTitle.TextAlignment = ContentAlignment.MiddleLeft;054. _planTitle.Text = _wplan == null ? "Free" : string.Format("{0} {1}", _index, _wplan.PlanName);055.}// function056. 057.private void CreateImageRow()058.{059. _imageRow = new GridLayoutRow();060. _imageRow.SizingType = GridLayoutSizingType.Proportional;061. _imageRow.ProportionalHeightWeight = 70;062. 063. // Image 0,1064. _planImage = new LightVisualElement();065. _planImage.SetValue(GridLayout.ColSpanProperty, 2);066. _planImage.SetValue(GridLayout.ColumnIndexProperty, 0);067. _planImage.SetValue(GridLayout.RowIndexProperty, 1);068. _planImage.BackgroundImageLayout = ImageLayout.Stretch;069. _planImage.BackgroundImage = _backImage;070.}// function071. 072.private void CreateTimeRow()073.{074. _timeRow = new GridLayoutRow();075. _timeRow.SizingType = GridLayoutSizingType.Proportional;076. _timeRow.ProportionalHeightWeight = 10;077. 078. // Total time 0,2 and 1,2079. _totalTime = new LightVisualElement();080. _totalTime.AutoEllipsis = true;081. _totalTime.SetValue(GridLayout.ColumnIndexProperty, 1);082. _totalTime.SetValue(GridLayout.RowIndexProperty, 2);083. _totalTime.Text = _wplan == null ? "-hr -mins" : _wplan.CreationDate.ToLongDateString();084.}// function085. 086. 087.private void CreateBeginRow()088.{089. _beginRow = new GridLayoutRow();090. _beginRow.SizingType = GridLayoutSizingType.Proportional;091. _beginRow.ProportionalHeightWeight = 10;092. 093. // Begin button 0,3094. _beginButton = new LightVisualElement();095. _beginButton.SetValue(GridLayout.ColSpanProperty, 2);096. _beginButton.SetValue(GridLayout.ColumnIndexProperty, 0);097. _beginButton.SetValue(GridLayout.RowIndexProperty, 3);098. _beginButton.AutoEllipsis = true;099. _beginButton.Text = "Begin Workout";100.}// function
I have the next problem:
I have a radgridview with data, but i need sum rows of the same column and i use the next code: (vb.net)
Dim summaryItem As New GridViewSummaryItem()
summaryItem.Name = "column6"
summaryItem.AggregateExpression = "(Sum(column6))"
Dim summaryRowItem As New GridViewSummaryRowItem()
summaryRowItem.Add(summaryItem)
Me.RadGridView1.SummaryRowsTop.Add(summaryRowItem)
but i dont know in what event is correctly put it.
I put it in a function but the SummaryRowsTop is repeated as many times as entry records.
i need only one SummaryRowsTop

