Telerik Forums
UI for WPF Forum
4 answers
316 views
Hi,

I am using RadScheduleView (WPF) for the touch screen application currently developing.Trying to implement the below styling changes to RadScheduleView

1. Increase the height of calendar View Definitions List / Ribbon (where the Day, Week, Month, etc. options are)
2. Increase the size of calendar navigation buttons (right side of calendar ribbon) 
3. Increase the height of scrollbar at the bottom of the calendar 
4. Open the Appointment Dialog for single click of an Appointment
5. Remove the delete button 'x' from the Appointment

Right clicked the properties -> AppointmentStyleSelector and selected Extract Value to Resource, below error is seen

"Could not create resource"
"Value cannot be null."
"Parameter name : PropertyKey"

I am using the Metro Theme (RadControls for WPF Q1 2012). Does not have Expression Blend.
I do not know if I will require the XAML markup for the ScheduleViewBase implementing the above changes.

Kindly suggest.

Please let me know for any clarifications.

Thank you & Regards,
Phani.

Phani Kumar
Top achievements
Rank 1
 answered on 19 Jul 2012
4 answers
399 views
I am having an issue with the scroll bar on some of my gridviews. I am binding the itemssource to an observable collection of business objects. The size it shows the scroll bar when the data is first loaded, is smaller than the size of the scroll bar after I scroll through the data. 

Is there some property I need to set so that it detects the number of rows in a collection before drawing the scroll bar?

I have a attached a screen shot showing the issue. The first gridview shows the scroll bar after the data is initially loaded. The second shows the scroll bar after scrolling through the data.
Vera
Telerik team
 answered on 19 Jul 2012
7 answers
579 views
All of the values in my Group Footers row show in the Group Headers row.  I would like to hide most of the values and show only 2.  How can I selectively show some values in the Group Header and hide others?

Thank you.
Dimitrina
Telerik team
 answered on 19 Jul 2012
2 answers
173 views
Hi,

I use the RadScheduleView from RadControls for WPF Q2 2012
If I do not define a TimerulerMajorTickStringFormat for a ViewDefinition I whould expect that the ShortTime Format of the  CurrentCulture is used to generate the time label. But If I use a current culture with a 24h display like german it only shows 12h.

See attachment.

It looks like a bug to me since it makes not much sense to show only 12h but no AM/PM like you can see on my screenshot.

To work around this I have Bind the StringFormat to a property that returns this:
Return "{0:" + CultureInfo.CurrentCulture.DateTimeFormat.ShortTimePattern + "}"

best regards,
David
Vladi
Telerik team
 answered on 19 Jul 2012
6 answers
230 views
Hi,

I use Telerik 2012.1.326.35 and I have a problem with the CurrentPosition property. Actually in our application we have a RadGridView with 12 items. I double-click on an item (ie: 4) in the grid, we popup a dialog with the RadGridView as reference. In the loaded event of the dialog we popup, the RadGridView.Items.CurrentPosition is always equal to 0. If we do an Indexof(SelectedItem), the call return the exact position of the selected item in the grid. Can you explain why the CurrentPosition position is always equal to 0 ???

Thank's
Dimitrina
Telerik team
 answered on 19 Jul 2012
2 answers
411 views
I think I'm missing something in the documentation.

I have a RadGridView, which is used to display the results of a search of a table in my database.  The table currently has 2.7 million rows in it.  I obviously don't want to retrieve all 2.7 million rows in one fell swoop, as that would be inefficient in time and memory.

My application is a WPF app and I don't want to use paging, either.  I'd rather tell the user how many rows match the search critieria they entered and show them the first N rows (where N is a number between 100 - 500; the exact number will be determined through testing).  Then I would like the user to be able to scroll, much like the "Client Binding to 1 million rows" example does.

I'm using Entity Framework to query the database, but my code is designed to obtain an Entity Context, retrieve the data, then close and dispose of the Entity Context.  My data uses Guids as the unique ID of the rows.  I've written a search function which retrieves the IDs of the rows that match the criteria in chunks of a fixed size.  it then tries to load the data for these rows, and this runs OK if the number of matching rows is less than 10,000.  If the number of matching rows is larger than 10,000, it can take a minute or longer to get the data, depending on the number of matches.

This is all too slow and too memory intensive.  I need a better way to get the data, load only what the user is interested in and make it seem like all of it was loaded incredibly fast.  How do I get this to work?

Tony
Tony
Top achievements
Rank 1
 answered on 19 Jul 2012
1 answer
185 views
Hello,

I have implemented my own double click behavior with the time bar, but every time I double click, the selection gets changed as well.  Is there a way to disable this selection change on double click?

Eric
Tsvetie
Telerik team
 answered on 19 Jul 2012
7 answers
261 views
Hello,

We are using Telerik RadControls for WPF Q2 2011 SP1. We're attempting to create a chart having two data series (viz. history and forecast) using two spline series. The data history series starts with values and ends with a series of nulls. The forecast starts with nulls (where the history has values) and ends with values (where history has nulls).

Now, the history series starts at the left and renders correctly. The problem is the forecast series that only starts further to the right. The initial line starts at a totally inappropriate angle and tends to do some looping effect. The further right, the worse it is. I guess this has to do with the spline initial control points, but as far as I can see I can't control those...

Below is a very simple example that should illustrate the problem. Also see the example images attached.

I have tried setting the EndPointBehaviour but it doesn't fix the problem (and we cannot use Zero since the data doesn't start from zero).

Any assistance would be greatly appreciated.
thanks

public MainWindow()
{
    InitializeComponent();
 
    var data = new DataTable();
    data.Columns.Add(new DataColumn { ColumnName = "X", DataType = typeof(int) });
    data.Columns.Add(new DataColumn { ColumnName = "Y", DataType = typeof(double) });
    var rnd = new Random();
    for (var i = 0; i < 40; i++)
    {
        var row = data.NewRow();
        row[0] = i;
        row[1] = (i < 30) ? (object)DBNull.Value : (double)rnd.Next(500);
        data.Rows.Add(row);
    }
    chart.ItemsSource = data;
 
    var seriesDefinition = new SplineSeriesDefinition();
    seriesDefinition.ShowPointMarks = false;
    seriesDefinition.ShowItemLabels = false;
    seriesDefinition.EmptyPointBehavior = EmptyPointBehavior.Gap;   // Gap, Drop, Zero
 
    var mapping = new SeriesMapping();
    mapping.SeriesDefinition = seriesDefinition;
    mapping.SeriesDefinition.Appearance.Stroke = new SolidColorBrush(Colors.Red);
    mapping.ItemMappings.Add(new ItemMapping(data.Columns[0].ColumnName, DataPointMember.XCategory) { FieldType = data.Columns[0].DataType });
    mapping.ItemMappings.Add(new ItemMapping(data.Columns[1].ColumnName, DataPointMember.YValue) { FieldType = data.Columns[1].DataType });
    chart.SeriesMappings.Add(mapping);
}
Martin
Top achievements
Rank 1
 answered on 19 Jul 2012
3 answers
149 views
Hi,

I have written 'TelerikSelectedItemsSynchronizerBehavior' behavior to "synchronize" the SelectedItems property of a Telerik
grid to a Selected Items property of view model. SelectedItems property in view model contains only one row and that is scrolled and shown  as selected in the grid correctly. but the problem is Row Indicator Arrow is not shown in front of selected row in some of the grids while in some grids it is displayed.

I'am using the same behavior for synchronization in all grids and all grids have same properties set. WHy this Row Indicator Arrow  is shown in some grids and not all...????
Dimitrina
Telerik team
 answered on 19 Jul 2012
2 answers
114 views
Hello,

When I mouse over the selector, the inside of it changes color.  How can I make the selector change to a color of my choice from codebehind (not just when the mouse is over it)?  This will be used to indicate that the selector is actually being used as opposed to just being there and not used.

Thanks,
Eric
Tsvetie
Telerik team
 answered on 19 Jul 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
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?