Telerik Forums
UI for WPF Forum
1 answer
106 views
When I put in NumericUpDown minimum value, and I click down button then value of binding variable becomes less then minimum, but control shows right value.
I used this code for initialize in xaml:
<telerik:RadNumericUpDown Name="TopNSpinner" IsEditable="True" Minimum="1" ValueFormat="Numeric"
Value="{Binding Result.TopNEventsCount, Mode=TwoWay}"/>

And this code for initializing in C#:

TopNSpinner.NumberFormatInfo = new NumberFormatInfo() { NumberDecimalDigits = 0 };

So, if I have value is 1 in control, then i can get 0 in variable, but control will show 1.
Please help.
Rosi
Telerik team
 answered on 01 Mar 2012
2 answers
206 views
Dear Telerik Team,

i have a little quest.

I Have a RadScheduleView Control, with an AppointmentDatasource, which get's the Appointments from
a Webservice.

My Problem is, that the Appointments will be loaded by to Webservice calls

Step 1. FreeBusyAppointments
Step 2. ExchangeAppointment Details

Step 1 work very well and very fast, but Step 2. needs a lot of time, because the Backendservers are very slow while fetching the data.

So my solutions ist, that i turn on a busy indicator, loading Step 1 from the Webservice, put the Appointments into the RadschedulerView,
then turn off the busy inidcator and start a backgroundworker which loads the ExchangeAppointment details. When Step 2 is finished
the Appointments will be added to the Rad Scheduleview.

This should give users the possibility to see and user the radscheduleview before all appointment details are loaded.

That's the plan.

The Problem is, that after i turn of the busy indicator and starting the backgroundworker,
i see the freebusy appointments in the radscheduleview, but the busy indicator is also stil shown,
but it hangs up (including the InternetExplorer) until all Appointments from step 2 are loaded and filled into the radscheduleview.

I can easily reproduce this with filling some static Appointments in the RadScheduleview while blocking the Backgroundworker process with a 

System.Threading.Thread.Sleep(xxxx);


Is there any Solution about such a scenario - because the Step 2. can take up to 30 seconds, and the control is unusable during this period

thanks for your help

kind regards
Rudi
Rudolf
Top achievements
Rank 1
 answered on 01 Mar 2012
4 answers
167 views
Hi,

I have problems to use print-method in RadRichTextBox control. E.g when I dynamically load RadRichTextBox to the visual tree and then set the document. This throws an null exception when I call the Print-method.

RadRichTextBox textBox = new RadRichTextBox();
grid.Children.Add(textBox);
textBox.ApplyTemplate();
textBox.UpdateEditorLayout();
textBox.Document = this.CreateDocument();
textBox.Print("MyDoc", PrintMode.Native);  // It crash in here!

CreateDocument returns a valid document, I have tested it by loading it to radRichtextbox without printing.

Hopefully you can see directly what is wrong in my code... if you can provide sample project, that would also help.

 I'm using WPF version of Telerik controls (ver. 2011.2.712.40)

Regards,
Auvo



Iva Toteva
Telerik team
 answered on 01 Mar 2012
1 answer
174 views
Hi,

We want to remove certain words from the dictionary (any words that would be embarrassing for customers...  including some that may be proper anatomy words, but wouldn't be used in our application).  Is the best way to do this to download the dictionary from  http://www.telerik.com/community/forums/aspnet-ajax/spell/147971-radspell-dictionaries.aspx#576503, and edit the dictionary?  If not, what is the best way to go about that?

If we are going to edit the dictionary, can we add our own custom words directly to it rather than creating an IWordCustomDictionary?  If that's okay, what do the last two items on a line in a TDF file represent?  For example, what do the JNNL and KNNL represent in the following line:

genuinely:JNNL:KNNL

Thanks!
Ivailo Karamanolev
Telerik team
 answered on 01 Mar 2012
5 answers
162 views
I'm following the GridView demo called "Search as you type". I am using the exact code from the example (CustomFilterBehavior.cs and CustomFilterDescriptor.cs). I have found that the filter does not work if your data has a column of doubles all with a value of 0. If the doubles are given values > 0 then suddenly the filtering works but at 0 no filtering is applied. Very odd.

Can you verify this problem and suggest a work around, possibly a change to CustomFilterDescriptor.cs?

thanks.
Maya
Telerik team
 answered on 01 Mar 2012
4 answers
238 views
Hi,

We are using WPF RadGridview control inside the RadExpander. We like to know how to display the RadGridview's selected (only one) row  in the header section of the RadExpander while collpsing it.

Please refer the attached image for clear understanding of our need.

It would be great if you could provide us the sample project in WPF.

Thanks.
Maya
Telerik team
 answered on 01 Mar 2012
3 answers
107 views
I'm working with a gridview that has a CellTemplate with a CheckBox column and I'm able to set the IsEnabled value using the following code.

    IList<CheckBox> cbks = myGridView.ChildrenOfType<CheckBox>().ToList<CheckBox>();
    MyObject selectedProject = myGridView.SelectedItem as MyObject;
    int SelectedIndex = myGridView.Items.IndexOf(selectedProject);
    cbks[SelectedIndex].IsEnabled = True;
 

This works great, but except ChildrenOfType<>() only provides the rows for visible rows. I can not set EnableRowVirtualization to False.



How do I get the index of the visible row that is within the List of checkboxes (chks)?


Thanks in advance.
Maya
Telerik team
 answered on 01 Mar 2012
3 answers
202 views
For the sake of the others, please update your custom sorting guide to include IsCustomSortingEnabled on the columns. I spent almost a day figuring out why the sorting didn't work anymore (It sorts once but the NewSortingState property doesn't stick). This is very frustrating and is nowhere mentioned as a requirement.
Vlad
Telerik team
 answered on 01 Mar 2012
2 answers
130 views

Hello,

We are using the search as you type feature described in your blog:

http://blogs.telerik.com/stefandobrev/posts/10-01-18/highlighting-inline-search-for-radgridview-for-silverlight.aspx 

However, we noticed that once the HighlightingTextBlock was applied to the cell, the TextWrapping attribute was lost.  Can you please provide an example of the correct way to support TextWrapping with the search feature?  Thanks for any help.
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
 answered on 29 Feb 2012
1 answer
87 views

I have a chart with 11 series: 9 range series that together make topo map of standard deviations from the mean; 1 scatter series above the topo map of their standard deviations from the mean; 1 annotation series with MarkedZones in gray for every X axis value (sequential integers) that has been parameterized (have manually adjusted variance used in estimation) and with a red CustomLine to mark each X axis value with a 0 trend estimation.  My problem is that I would like to have the annotations (MarkedZones and CustomLines) display with transparency over the 9 range series but under the scatter series.  By default, everything overlays the annotations and so I have to make my 9 range series transparent to see the annotations.  This makes the range series appear washed out.  I can't seem to find a way to set a level of the annotations to display at the 10th level rather than the 1st.   All eamples and forum entries show annotations as alway in the background of the chart area with all series over them, so I am dreaming in technicolor here.  Do any of you generous and more experience folks have any suggestions.

Note I also observed that my scatter series is at the right level, but if I try to set the CollectionIndex it does not appear.  I guess I am lucky it is were I need it.

Regards

 

Sia
Telerik team
 answered on 29 Feb 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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?