Telerik Forums
UI for WPF Forum
11 answers
235 views
Hello,

I am using WPF Controls version 2009.2.904.35.

First issue: I have a GridView control inside a TabItem. Whenever the application loads, if I expand the rows of the GridView control, the expansion works and the child rows are displayed. However, if I first click trough the TabItems and come back to expand the Grid rows, then the expansion works but the child rows are not shown. If I have expanded the rows at least once before I tab through, the child rows continue to be displayed even after I have visited other tabItems; the problem seems to happen only when I tab through before ever expanding any rows. One more thing, if I expand let's say 3 rows out of 5 in the grid, then tab through, then come back to expand the other 2 rows, those 2 rows' children won't be shown, but the children of the other 3 pre-expanded rows do continue to show. If I sort or filter the grid, then the rows reappear.

Second issue: If I position the cursor in between two columns to drag and size, the sizing of the column jumps around, and i can make it smaller but not bigger; also, if I stop dragging (release the mouse button), the column sizing continues to happen while I move my mouse. This happens in the same grid that's having the first issue. I have another grid in another tabItem and that one does not have the sizing issue; it also does not have child rows so I don't know if it would be the same problem.

Thanks,
Laura
Vlad
Telerik team
 answered on 12 Apr 2012
3 answers
402 views
Hello Telerik,

I wanted to customize GridViewSelectColumn styling. I got a reference of the GridViewSelectColumn appearence in one of the forums mentioned below:-
http://www.telerik.com/community/forums/silverlight/gridview/gridviewselectcolumn-appearnace.aspx

The issues that I am facing:-
1. If I use this above mentioned link styling then it applies to all the checkboxes in the Application not just the GridViewSelectColumn checkbox. Can you please let me know how do I apply the styling only for the check boxes in the GridViewSelectColumn?
2. Or How do I get a reference to the GridViewSelectColumn checkbox so I can apply the styling explicitly?
3. Or If its possible can you please provide the detailed style template for GridViewSelectColumn?


Thanks,
Neha
Vlad
Telerik team
 answered on 12 Apr 2012
7 answers
415 views
Hello,

After upgrading to Q1 2010, I've noticed that pressing enter while editing a cell commits the edit, then moves focus to the row below, putting the cell in that row into edit mode. I can certainly see why this is desirable behaviour for some applications, however, for ours it is not. Can never please everyone :). We would like to keep the behaviour from the previous version, which would commit the edit, end edit mode in the cell, and leave focus on that cell.

Is there a way to achieve that behaviour in the new version? We need to use the new version of the grid as it contains other fixes we need.

Thanks

Maya
Telerik team
 answered on 12 Apr 2012
3 answers
127 views
Would it be possible to have an empty row at the start of the grid which functions as a filter? I think this would be a nice possibility for the user to have fast access to filtering.
Vlad
Telerik team
 answered on 12 Apr 2012
1 answer
161 views
It seems as though the access level for ColumnFilterDescriptor was changed in the latest internal build.
Can no longer access this property to save the datagridview settings for the column filter.
Vlad
Telerik team
 answered on 12 Apr 2012
3 answers
266 views
Hello,

I spent a bit of time trying to find out how to create a horizontal line graph using the WPF RadChart component, but couldn't find any leads.  Basically I need something like the 2nd graph shown in this link, but for WPF

http://www.telerik.com/help/aspnet-ajax/radchart-types-line.html

I want all the functionality of the X-Axis to be on the left, and the Y-Axis on the bottom, the X Axis represents an altitude, and the Y is readings at various altitudes.

I figure there might be a boolean setting for this, but I'm not sure where to look, or if this is even possible.

I can sort of fake it by plotting my X, Y points as Y, X, but then I'm missing out on some of the special features that are only available on the Y-axis, such as auto refitting when the user zoom in on the X-Axis.

Any help would be appreciated!

Petar Marchev
Telerik team
 answered on 11 Apr 2012
9 answers
329 views
I have a RadGridView with a column containing a RadSplitButton. Without setting StaysOpen to false, I would like to set IsOpen on the popup from one of the controls in it's DropDownContent. Obviously, I cannot use the VisualTreeHelper or other methods that walk the visual tree as it resides in a seperate window (that goes up to PopupRoot) but I should be able to use LogicalTreeHelper.GetParent() to access the popup through RadSplitButton. When I execute that method, however, I get nothing returned.

<telerik:RadGridView>
  <telerik:RadGridView.Columns>
    <telerik:GridViewColumn>
      <telerik:GridViewColumn.CellTemplate>
        <DataTemplate>
          <telerik:RadSplitButton>
            <telerik:RadSplitButton.DropDownContent>
              <ListBox SelectionChanged="ListBox_SelectionChanged"/>
            </telerik:RadSplitButton.DropDownContent>
          </telerik:RadSplitButton>
        </DataTemplate>
      </telerik:GridViewColumn.CellTemplate>
    </telerik:GridViewColumn>
  </telerik:RadGridView.Columns>
</telerik:RadGridView>

Private Sub ListBox_SelectionChanged(sender As System.Object, e As System.Windows.Controls.SelectionChangedEventArgs)
  Dim button As System.Object = LogicalTreeHelper.GetParent(e.OriginalSource)
End Sub

That call should return the RadSplitButton itself which I could then use to close the popup with:

DirectCast(button, Telerik.Windows.Controls.RadSplitButton).IsOpen = False

I can't use names because of grid but this way should work. Is this a bug that I should report or is there at least another way to do this?
Zarko
Telerik team
 answered on 11 Apr 2012
3 answers
152 views
Hi,

Is looks when RadWindow.CanClose is set to true user can still press "Alt+F4" to close the window.
I think in the case that we set CanClose=true we only want the window to be closed by explict call to Window.Close (by clicking a button after user has entered some required informatino for example).
Right now my workaround is hooking up to PreviewKeyDown  and ignore Alt+F4, can you consider fix this?

Thanks
Jason
Konstantina
Telerik team
 answered on 11 Apr 2012
7 answers
174 views
I am currently working on a solution where I wanted to use Ideablade DevForce as source for the grid. I already found a good solution on your forums to get this working. I added grouping support with the following code (this is called from the LoadData event):

public void LoadData(int startIndex, int itemCount)
        {
            var baseQuery = (EntityQuery<T>) Query
                                                 .Where(FilterDescriptors);
            baseQuery = (EntityQuery<T>) Query.GroupBy(GroupDescriptors);
            // Skip needs an order
            // if (SortDescriptors.Count == 0)//   SortDescriptions.Add(new SortDescription(InitialOrderBy.ToString(), InitialOrderByDirection));
            //SortDescriptions.Add(new SortDescription("Sid", ListSortDirection.Ascending));
 
            var resultQuery = (EntityQuery<T>) QueryableExtensions.Take(baseQuery
                                                                            .Sort(SortDescriptors)
                                                                            .Skip(startIndex), itemCount);
 
            resultQuery.QueryStrategy = new QueryStrategy(FetchStrategy.DataSourceAndCache,
                                                          MergeStrategy.PreserveChanges);
 
 
            resultQuery.ExecuteAsync().Completed += (s, e) => { Load(startIndex, e.Results); };
        }

The only problem I have is that if I group before all the items are loaded nothing gets loaded anymore. In my example I load 20 lines from 100 total lines. If I scroll down after I grouped the items no ItemChanged is sent from the grid.

Another problem I found was that the grid seems to be a bit too "eager" when loading data. This means that if the user tries to scroll to the bottom - without any interrest in the data in the middle - the grid always calls the loading method instead of waiting for the user to finish.

BTW: does the grid create all empty lines on the start or is there some internal limit to this? It just looked to me if the grid creates as many empty lines as the number in VirtualItemCount.
Vlad
Telerik team
 answered on 11 Apr 2012
1 answer
85 views
hello all
1. When content with images is export to html, some of the images does not show up in ie7.
2. is there any option to export images as relative paths in html.

thanks
Deepak
Martin Ivanov
Telerik team
 answered on 11 Apr 2012
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
MultiColumnComboBox
SyntaxEditor
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
Bronze
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
Bronze
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?