Telerik Forums
UI for WPF Forum
1 answer
150 views
Is there a way to tell when the process of selecting a date range is complete with RadCalendar (SelectionMode Extended)? Right now, the SelectionChanged event is firing whenever dates are added or removed from SelectedDates as the user moves the mouse over the calendar, but I would like to do a time intensive process on the selected date range and it would not be appropriate to do so when the user is not finished selecting dates.

I could put some kind of timer on it that would run after a set number of milliseconds, but if the user is still dragging on the calendar this would not work well. I am hoping there is a better solution, maybe I am missing something really obvious. Thanks.

BP

Vladi
Telerik team
 answered on 21 Sep 2012
1 answer
273 views
Hi,

We are using the code below to adjust Header Row and Group Panel height.

<Grid.Resources>

 

 

 

 

<Style TargetType="telerik:GridViewHeaderRow">

 

 

 

 

<Setter Property="MinHeight" Value="25"/>

 

 

 

 

<Setter Property="Height" Value="25" />

 

 

 

 

</Style>

 

 

 

 

<Style TargetType="telerik:GridViewGroupPanel">

 

 

 

 

<Setter Property="MinHeight" Value="25" />

 

 

 

 

<Setter Property="Height" Value="25" />

 

 

 

 

</Style>

 

 

 

 

</Grid.Resources>

 

 

 

 

After upgrading to the latest control version to get the Group Panel height working, the Header Row height started to behave differently then the previous version.

In the previousl version, the Header Row height is redueced by reducing the padding space around the header text.

In the latest verison, the Header Row height is reduced by reducing the padding space only from the bottom of the header text.

Did I miss any thing?

Thanks

 

 

 

Vera
Telerik team
 answered on 21 Sep 2012
2 answers
505 views
Hello,

Why don't you let the SizeToContent property of the RadWindow work even when the Width and Height are set?

You have made the SizeToContent property a bool, but it would've been good if it could use the SizeToContent enumerations, that way even if the window was set to a specified width and height, the window would still auto-resize until the user would manually resize the window by dragging its margins.
The problem with this now is that the user has to specify MinWidth and MinHeight to explicit values instead of using MinWidth=Width and MinHeight=Height when the application loads, so the design-time sizes can't be used any more. Also, MinWidth=Width/MinHeight=Height cause the application to crash if trying to set the minimum value to size that is set to auto.

Also, auto-resize stops working as soon as the MaxWidth and MaxHeight are reached. The Window doesn't contract back any more after content gets smaller.

Are there any fixes to this, or easy alternative solutions?
Greg
Top achievements
Rank 1
 answered on 21 Sep 2012
7 answers
185 views
Dear Telerik Support Team!

In one of our applictions we use your Telerik RadTimeBar. It is necessary that the labels in the time bar (e. g. Quarter 1) are shown in German.
We tried to set the localization information to "de" with all methods we could find in your online documentation but no one of this methods brought the wanted result.

Only the designations of the months are shown in German, but even if we do not do any localization settings.

Please help!

Kind regards,
Andreas Krassnig - AUSTRIA
Tsvetie
Telerik team
 answered on 21 Sep 2012
2 answers
175 views
I have a radgridview with a nested radgridview in the RowDetails.
I would like to bind a column width in the nested gridview to a
column ActualWidth in the parent gridview. I tried using a simple 
elementName binding and giving the column a name, but that doesn't 
seem to work. Is there a better way to do this, or another way to
reference the grids column that I am missing.

Cheers,
James

<
DataTemplate x:Key="DetailGrid">
    <telerik:RadGridView>      
        <telerik:RadGridView.Columns>
            <telerik:GridViewDataColumn
                Width="{Binding ActualWidth, ElementName=MainGridFirstColumn}" />          
        </telerik:RadGridView.Columns>
    </telerik:RadGridView>
</DataTemplate>
 
<telerik:RadGridView Name="MainGrid" RowDetailsTemplate="{DynamicResource DetailGrid}">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn
                                Name="MainGridFirstColumn"
                    Width="*"/>
            </telerik:RadGridView.Columns>
</telerik:RadGridView>
James
Top achievements
Rank 1
 answered on 21 Sep 2012
1 answer
132 views
Hello Everyone,

I have a gridview, which I use to drag items from. I can generate the drag cue and get it to show up, but it looks like it starts from the first column wherever I choose to start dragging.

I attached a picture to explain a bit better, in this case I started dragging from description column, whereas drag cue showed up around the first column.

Can someone shed a bit light on this? How can I solve this?

Thanks.
Ahmet
Top achievements
Rank 1
 answered on 20 Sep 2012
1 answer
462 views
I use a RadButton in a GridView and its content is set to a strings, that contain an underscore ('_'), e.g. 'CT_SRV_ERROR_700'.
Instead of the given string the content of the button is shown without the first underscore, in the example as 'CTSRV_ERROR_700'.
Pressing 'Alt' the first underscore appears as a shortcut key, that means the 'S' is underlined.

I would like to have the content as is, that means with the first '_' shown. Shortcut keys are not necessary and not desired.
Could you please help me?

Thanks.

Thomas
Stefan
Telerik team
 answered on 20 Sep 2012
0 answers
104 views
Hello,

I noticed that RadControls doesn't have classic radio buttons and check boxes, instead there are controls with the same functionality but which look like regular buttons. I know I could just use common radio buttons and check boxes, but then they wouldn't inherit Telerik themes, so it would be nice if you'd create classical looking radio buttons and check boxes, but the Telerik style, so they can be skinned/themed along with the other beautiful controls you provide.

In case they already exist, pardon my ignorance and tell me where can I find them, but if they really don't exist, please consider adding them.

Also, If I may ask, is there a way to implement Telerik themes into custom controls? Or how would I have to prepare a custom control so it can support a Telerik theme?
Greg
Top achievements
Rank 1
 asked on 20 Sep 2012
1 answer
128 views
Hi Telerik,

I found there is an error when try to get document Resource stream (PDF File).

When debug this code:

this.documentStream = App.GetResourceStream(new Uri("/sNotes.Client.Windows.Shell;component/SampleData/avanza.pdf", UriKind.Relative)).Stream;

An Error found:
System.Windows.Markup.XamlParseException was unhandled
  Message='The invocation of the constructor on type 'sNotes.Client.Windows.Shell.BookBrowsing2' that matches the specified binding constraints threw an exception.' Line number '9' and line position '9'.

Please download this sample version at below:
BookandPDFIntegration

Thanks,
John

Lancelot
Top achievements
Rank 1
 answered on 20 Sep 2012
0 answers
64 views
Hello,

I couldn't find the bugs section in the WPF board, so I'm reporting here what seems to be a potential bug.

When using the Expression_DarkTheme on a RadMenu, the helper keys are disabled and the Alt shortcuts do not work any more.
In other words, if I set a RadMenuItems header to _File it means that I can open that menu by pressing Alt+F and that is consistent in all themes, except the Expression_DarkTheme. When using that theme, the header of a RadMenuItem actually displays the underline and the shortcut doesn't work.
Greg
Top achievements
Rank 1
 asked on 20 Sep 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?