Telerik Forums
UI for WPF Forum
1 answer
93 views

Hi,

         I am trying to automate radgridview with 20 columns and 300 rows using CUIT/UIA. Here the script is unable to get the required row and cell in to view (auto scroll not working). If the row is visible it is able to perform action. We didn't implemented any virtualization  on the RADgridview.Any help in this regard is very much thankful.

 

Please reply as early as possible as it is very high priority issue.

 

Regards,

Nagasree.

      

 

Stefan
Telerik team
 answered on 02 Mar 2016
3 answers
237 views

Hi,

I am using Calculator picker independently without binding its value with any property. I am trying to resets its value after user completes its calculation from the calculator and press save button in the window. I am resetting its value in code behind like "this.CalculatorPicker.Value = 0". On display of the calculator picker it resets the value but on Calculator itself the pervious value remains. I wanted to reset the value on both display and calculator.

Attached is the image after resetting calculator picker value.

I also tried following

this.CalculatorPicker.MemoryValue= 0

this.CalculatorPicker.CacheMode = null

But it didn't work out.

This problem happens when we tried to do some calculations like addition, subtraction, multiplication etc.

Kindly help me in this matter, I will be very thankful to you.

 

Thanks and Regards

Arslan

 
 

Martin
Telerik team
 answered on 02 Mar 2016
9 answers
231 views
On some machines showing a window with a RadPaneGroup that does not contain any Panes throws a ArgumentNullException.

On my dev workstation the window shows fine. The same windows crashes on my dev notebook.
No version differences: I can reproduce the crash by copying the bin directory to the notebook and starting the exe.

As a workaround I created a dummy pane in XAML and remove it in the _Loaded event.
EDIT: This workaround does not help. IsHidden for the dummyPane does not work too.

<telerik:RadDocking x:Name="dock" Grid.Row="1" PreviewClose="dock_PreviewClose" Close="dock_Close">
    <telerik:RadDocking.DocumentHost>
        <telerik:RadSplitContainer>
            <telerik:RadPaneGroup x:Name="paneGroup"  >
              <!-- Workaround for System.ArgumentNullException on Notebook -->
                <telerik:RadPane x:Name="dummyPane" Header="aaa" CanUserPin="True" >
                </telerik:RadPane>
            </telerik:RadPaneGroup>
        </telerik:RadSplitContainer>
    </telerik:RadDocking.DocumentHost>
</telerik:RadDocking>

System.ArgumentNullException was unhandled by user code
  HResult=-2147467261
  Message=Value cannot be null.
Parameter name: collection
  ParamName=collection
  Source=mscorlib
  StackTrace:
       at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
       at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection)
       at Telerik.Windows.Controls.RadTabControlAutomationPeer.GetChildrenCore() in c:\TB\135\WPF_Scrum\Release_WPF\Sources

\Development\Controls\Navigation\TabControl\RadTabControlAutomationPeer.cs:line 194
       at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren()
       at System.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32 invalidateLimit)
       at System.Windows.Automation.Peers.ItemsControlAutomationPeer.UpdateChildren()
       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
       at System.Windows.ContextLayoutManager.fireAutomationEvents()
       at System.Windows.ContextLayoutManager.UpdateLayout()
       at System.Windows.UIElement.UpdateLayout()
       at System.Windows.Interop.HwndSource.Process_WM_SIZE(UIElement rootUIElement, IntPtr hwnd, WindowMessage msg, IntPtr

wParam, IntPtr lParam)
       at System.Windows.Interop.HwndSource.LayoutFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&

handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs,

Delegate catchHandler)
  InnerException:

Georgi
Telerik team
 answered on 02 Mar 2016
1 answer
642 views

Hi

 

Just a question. Is possible to set margin directly to image of GridViewImageColumn? Something like:

<telerik:GridViewImageColumn
    ImageMargin="4"/>

 

If there isn't any property for do that, Should I modify datatemplate for apply it?

 

Thank you! Regards!

Stefan
Telerik team
 answered on 02 Mar 2016
1 answer
114 views

Hi,

The gridview really impress us. The way of showing data is very nice to us. 

But we have a problem about the speed .

When we show the list with many columns(more than 35 columns),every time it takes a lot time(more than 3~4 sec),  even only loading 100 records.

We have tried everything we can try , but the result is not OK yet.

Is the reason that we use the trial version?

If we buy the professional version , can we improve the speed ?

 

We appreciate your help very much.

 

Stan

Yoan
Telerik team
 answered on 02 Mar 2016
2 answers
118 views

When select a cell  an then click it  the cell  is in edit mode  

it is too flexible 

is there any way to block it  and  just enter the edit mode by doubleclick

thank you!

rui
Top achievements
Rank 1
 answered on 02 Mar 2016
5 answers
145 views

Hello,

On the RadSpreadsheet whenever I press the decimal key the default decimal separator apears selected. So whatever I press after that overwrites it unless I unselect it first. This doesn't happen if I press the respective keyboard key (next to the letters). This happens on all the spreadsheet demos and my application. This still happens if I change my default decimal separator.

 The PreviewKeyDownEvent is called when the pressed key is Key.Decimal, but the KeyDownEvent is not called.

My telerik version is 2015.2.728.40 

Felipe
Top achievements
Rank 1
 answered on 01 Mar 2016
4 answers
410 views

I am trying very hard to format a cell number, but it is not working as expected.

 

In my country we use the numbers like this: 1.000,00. The 'comma' to represent the decimal and the 'dot' to represent 'thousand' point.

What I want:  The number value to look like this: "0,824".

What I get: the number value looking like this: "823.723.228.995.058,00". (PS: I get this value from a database).

That's really weird.

 

I am setting the format like this: 

worksheet.Cells[row, column].SetFormat(new CellValueFormat("#.##0,00"));

 

I have already tried a lot of formats, but none of them seems to work as I expect. I aways get the same result.

 

Is there any other CellValueFormat that I am missing here?

 

Thank you

Tanya
Telerik team
 answered on 01 Mar 2016
3 answers
272 views

I've followed the example at:

http://docs.telerik.com/devtools/wpf/controls/radgridview/troubleshooting/styling-custom-header.html

 

Well, it works for most cases, but it doesn't work if the column visibility is bound to a property, and it is invisible when the grid is loaded. It's hard for me to give a simple example that demonstrates exactly the scenario I have, but I've managed to find a different scenario, which reproduces the problem.

 

MyGridView.xaml

<UserControl x:Class="GridViewHeaderForground.MyGridView"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             xmlns:local="clr-namespace:GridViewHeaderForground"
             mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <telerik:RadGridView AutoGenerateColumns="False">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn>
                    <telerik:GridViewDataColumn.Header>
                        <TextBlock Text="First Column" Foreground="{Binding Foreground, RelativeSource={RelativeSource AncestorType={x:Type ContentControl}}}"/>
                    </telerik:GridViewDataColumn.Header>
                </telerik:GridViewDataColumn>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</UserControl>

 

MainWindow.xaml

<Window x:Class="GridViewHeaderForground.MainWindow"
        xmlns:local="clr-namespace:GridViewHeaderForground"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <TabControl SelectedIndex="0">
            <TabItem Header="1">
                <local:MyGridView />
            </TabItem>
            <TabItem Header="2">
                <local:MyGridView />
            </TabItem>
        </TabControl>
    </Grid>
</Window>

 

As you can see, the first tab looks fine, but if you switch to the second one, then the textblocks are all black.

If you try to "debug" it with snoop, and it fixes the binding problem.

 

My scenario is a little different: I have several RadPanes which only one of them is selected. On the other ones, few columns are invisible by using the IsVisible which is bound to a property.

When one of the RadPanes get selected, it loads (and so does the header cells). On the RowLoaded event, I get only the cells that are visible (if I'm correct).

Now if I change that property to true, the column becomes visible, but the textblock is black.

 

I think both problems are the same.

How do I solve it? I need to have both image and text in the header.

 

Thanks.

 

 

 

BENN
Top achievements
Rank 1
 answered on 01 Mar 2016
3 answers
133 views
I have a SeriesProvider with multiple CandlestickSeries. Is it possible to cluster these together using combinemode, as you can with BarSeries? If not how would you suggest that we style the series so that multiple candlesticks can be displayed, side by side, within their relevant categories?
Petar Marchev
Telerik team
 answered on 01 Mar 2016
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?