Telerik Forums
UI for WPF Forum
2 answers
140 views
Hello,
     There was a function called hittest that I used in another grid that I worked with that allowed me to determine if a cell had been clicked on or a column or row header had been clicked on. Does this grid have such a function?
Thanks 
Jorge Gonzalez
Top achievements
Rank 1
 answered on 02 Feb 2010
8 answers
366 views
Hi,

telerik: 2009.3.1322.35
.net 4.0 beta 2

When I follow the steps below I get an error:
1. Set a filter on gridviewdatacolumn
2. Filtered items set contains a certain dataitem
3. Change this dataitem such that it no longer belongs to filtered items
4.  After the change I scroll into view:
GridView.SelectedItem = _dataItem 
                If GridView.SelectedItem IsNot Nothing Then 
                    GridView.ScrollIntoView(GridView.SelectedItem) 
                End If 

Now I get the following error:



   at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.BringIndexIntoView(Int32 index) in c:\Builds\WPF_Scrum\GridView_WPF_2009_Q3_SP1\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewVirtualizingPanel.BringIntoView.cs:line 29
   at Telerik.Windows.Controls.GridView.GridViewDataControl.ScrollIntoViewRecursive(FrameworkElement element, Stack`1 itemStack, Action`1 scrollFinishedCallback) in c:\Builds\WPF_Scrum\GridView_WPF_2009_Q3_SP1\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.Scrolling.cs:line 252
   at Telerik.Windows.Controls.GridView.GridViewDataControl.ScrollRowIntoViewInternal(Object dataItem, Action`1 scrollFinishedCallback) in c:\Builds\WPF_Scrum\GridView_WPF_2009_Q3_SP1\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.Scrolling.cs:line 191
   at Telerik.Windows.Controls.GridView.GridViewDataControl.<>c__DisplayClass69.<ScrollIntoViewAsync>b__68() in c:\Builds\WPF_Scrum\GridView_WPF_2009_Q3_SP1\Sources\Development\Controls\GridView\GridView\GridView\GridViewDataControl.Scrolling.cs:line 94
   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)


Thomas
Top achievements
Rank 1
 answered on 02 Feb 2010
2 answers
111 views

Hi,

I have no problems binding my classes to the GridView. But when I attempt to bind a linq filtered DataSet table

IEnumerable<DB.MyDataSet.XXXRow> filter = dataset.XXX.Take(10);

GridView.ItemsSource = filter;

all I see in GridView is rows with no text in them, when I enter edit mode in a row, the missing text is suddenly right there. It goes invisible again when edit mode is canceled.

This is how I setup the header:

Telerik.Windows.Controls.GridViewDataColumn columnName = new Telerik.Windows.Controls.GridViewDataColumn();         


columnName.DataType = typeof(string);

columnName.UniqueName = "YYY";

columnName.Header = "sweet YYY"

any ideas what is going on?

Thanks

Jiri

Lukas
Top achievements
Rank 1
 answered on 02 Feb 2010
3 answers
88 views
Hello,

I created a stacked bar chart with 4 data series. When I display the chart I sometimes get floating bars, I disabled two of the data series (since they rarely have data) and the one series still has a floating stacked bar. I attached a screenshot to make the situation more clear. I am not sure why my bars are floating. Note that I also have other bar charts that are created the exact same way but they never have a floating data series.
Velin
Telerik team
 answered on 02 Feb 2010
3 answers
50 views
Hello,
    I execute a proc and load its contents into a dataset, which I than associate with the grid. That works fine.
If I than repeat this process in order to update the grid's contents the changes do not show up on the grid unless I close the app and open it up again.
To get around this problem I execute this command (gridname.itemssource = null) to break the association between the grid and the dataset. I than run the proc again , load the dataset , and than associate the grid with the dataset again. This works.

Is this what I am suppose to do?
Vlad
Telerik team
 answered on 02 Feb 2010
3 answers
293 views
Hi,
  I have a telerik gridview control in wpf. I want to highlight the cells, which are going to be edited. I have a CellValidating eventhandler, inside the event I have written the code >

               GridViewCell cell = e.Cell;
                cell.Background = Brushes.Red;

Then also, the color of cell is not changing. Can any one please help me to resolve this issue. Thanks in advance..

Regards,
Rajeev Kumar
rajeev kumar
Top achievements
Rank 1
 answered on 02 Feb 2010
1 answer
114 views
Hi all,

I applied conditional properties to GridViewGroupRows via the Level property and Property Triggers - however I can't seem to find a similar property for IndentCells.

Is it possible to set conditional properties for the indent cell at different levels? Ie. I would like to have no borders for the indent cells at level 0, 1 - however I would like a right border for the rows in level 2. How would I do this?

Regards,

Tim.
Kalin Milanov
Telerik team
 answered on 01 Feb 2010
5 answers
182 views
Hi Telerik Team,

I'm exploring the features of Telerik  controls using the latest Q3 Trial version (November Release). I'm wondering, is there a DateTimePicker control I can use in WPF application? I can found DatePicker and TimePicker as two seperate controls but my need is a single control.

Thanks in advance,
NK

Kaloyan
Telerik team
 answered on 01 Feb 2010
1 answer
375 views
Hi,

We are trying to use the Telerik controls for development of applications that can integration into SAP Business One. In order to do that, we wanted to use the control into an ActiveX object, and then use that object inside of the SAP SDK on custom forms. We have been able to get the Telerik control into an ActiveX DLL, the use that DLL on a Windows form.

However, when we try to use the same ActiveX DLL inside of the SAP System and try to set the ClassID property of the SAP SDK ActiveX object, which requires the ProgID or GUID of the ActiveX object, and pass the reference, the .NET program is throwing an exception.

If anyone has taken this approach with a Telerik control (through an ActiveX DLL) in an environment like SAP Business One, and can assist in what could be causing this issue, please post any pertinent information.

Thanks.

 

Giuseppe
Telerik team
 answered on 01 Feb 2010
1 answer
147 views
When I call ShowDialog() on a RadWindow in a standard WPF application then ShowDialog returns when the user closes the RadWindow. When I'm running my application as XBAP in the browser then ShowDialog returns immediately.

Is this an intentional behaviour? If so, what do I have to do to display a modal dialog in a XBAP environment?

Regards,
Michael
Miroslav Nedyalkov
Telerik team
 answered on 01 Feb 2010
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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?