Telerik Forums
UI for WPF Forum
1 answer
113 views
We're new to these controls and we are trying to figure out whether we can have controls within a tile.  For example, can I put buttons, combo-boxes in a tile?  Can I launch an overlay from within a tile?
Thanks!
Tina Stancheva
Telerik team
 answered on 23 Dec 2011
1 answer
195 views
HI 
we are trying to build wpf app it has dockable interface we are using Teleriks RadDockPane, In Document host we want the horizontal splitter like visual studio
for example: switch between XAML and Design, swapping two panels like same as visualstudio please see the attached image we want same like that control.
 to achieve this goal already Telerik have any set of controls or else  how can we acheive this please guide us...thanks
George
Telerik team
 answered on 23 Dec 2011
1 answer
253 views
I have a raddatetimepicker in my application. When I open the pop-up it will show the days of the months.. and the last days of the last month and the first days of the next month.

Lets say that the date already selected i 24th november 2011. When I open the pop-up, I can select the 2nd december without changing the month. That works.. but if I double-click on the 2nd december, it chooses 30th december, not 2nd.

I have implemented the mousedoubleclick event:

  void RadDateTimePicker_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
        {
            if (((RadDateTimePicker)sender).IsDropDownOpen)
                ((RadDateTimePicker)sender).IsDropDownOpen = false;
            else if (((RadDateTimePicker)sender).SelectedValue == null)
                ((RadDateTimePicker)sender).SelectedValue = DateTime.Now;
            e.Handled = true;
        }

The selected value is the 30th december, not the 2nd december in the mousedoubleclick-handler.

It there any way to make sure that a doubleclick selects the intended date (and closes the pop-up-dialog)?

This error only appears when the popup dialog shows a specific month and I click on the "grey-out" dates in the surounding months.

Yana
Telerik team
 answered on 23 Dec 2011
0 answers
85 views
The documentation on MSDN says about CancelEdit:

CancelEdit sets CurrentEditItem to null and causes the collection view to exit the edit state. If CanCancelEdit is true, CancelEdit also restores the original values of the edited object.

This means: first set CurrentEditItem to null, then if possible restore original values. The implementation in QueryableCollectionView.Editing.cs is slightly different because CurrentEditItem is only set to null if it is an IEditableObject otherwise it throws an exception. In my opinion this is not correct. Of course CancelEdit should only be called on the CurrentEditItem if it is an IEditableObject, but setting CurrentEditItem to null should always be called! So the corrected code must be:

if (this.CanCancelEdit)
{
   CancelEditItem(this.CurrentEditItem);
}
this.CurrentEditItem = null;

Heiko
Top achievements
Rank 1
Iron
Veteran
 asked on 23 Dec 2011
1 answer
159 views
Hi I'm trying to serialize the RadRichTextBox control but I get the following error: "ambiguous match found."
this is my code

Canvas
cvs = new Canvas();
RadRichTextBox rch = new RadRichTextBox();

rch.Width = 100;

rch.Height = 100;

cvs.Children.Add(rch);

string str = System.Windows.Markup.XamlWriter.Save(cvs);


regards
Nicola De Stefano
Iva Toteva
Telerik team
 answered on 23 Dec 2011
1 answer
156 views
Dear Support,

using the RadGridView inside a DataTemplate, the bound SelectedItem becomes null in the first VM
after changing the VM to a second, different, VM of the same type.

  <ContentPresenter Content="{Binding CurrentContentViewModel}">
            <ContentPresenter.Resources>
                <ResourceDictionary>
                    <DataTemplate DataType="{x:Type local:ContentViewModel}">
                        <telerik:RadGridView ItemsSource="{Binding Items}"
                                             SelectedItem="{Binding SelectedItem}" />
                        <!--<ListView ItemsSource="{Binding Items}"
                                  SelectedItem="{Binding SelectedItem}" />-->
                    </DataTemplate>
                </ResourceDictionary>
            </ContentPresenter.Resources>
        </ContentPresenter>

Alternatively i tried ListView, which behaves as expected.

Is this a bug or am I doing wrong?

Find here a solution that reproduces this behaviour.

TestRadGridViewSelectedItem.zip

Version is: 2011.3.1116.40 / Runtime is v4.0.30319

Thanks Martin
Nedyalko Nikolov
Telerik team
 answered on 23 Dec 2011
5 answers
1.3K+ views
Hi there

Could anyone please tell me how can I enable my RichTextBoxRibbonUI to insert an image using an absolute URL as the source.

Instead of the OpenFileDialog, I want to type http://www.host.com/images/image.jpg

I saw this post here:
http://www.telerik.com/community/forums/silverlight/richtextbox/inserting-an-image-in-the-radrichtextbox.aspx

But sitll have no idea how to implement it, on both xaml and .cs sides.

Thanks

Emerson de Mello
Iva Toteva
Telerik team
 answered on 22 Dec 2011
1 answer
112 views
Hi, I can´t set visibility appointments delete button to collapsed. How can i get it? thanks for your support.
Rosi
Telerik team
 answered on 22 Dec 2011
2 answers
164 views
In our Radmap we have an InformationLayer and a SpatialDataReader.
We display regions as polygons.
How can we use a TextBlock or a label to show the RegionName in the polygon.
We tried making a DataTemplate but it would not work...

<telerik:InformationLayer x:Name="MyLayer">
                    
   <telerik:InformationLayer.Reader>
        <telerik:SqlGeospatialDataReader x:Name="MyReader"  Source="{Binding}" 
                                         GeospatialPropertyName="RegionGeometry" ToolTipFormat="RegionName">
        </telerik:SqlGeospatialDataReader>
   </telerik:InformationLayer.Reader>
					
   <telerik:InformationLayer.ShapeFill>
					    <telerik:MapShapeFill Fill="#50CCFF66" Stroke="Orange" StrokeThickness="3" />
    </telerik:InformationLayer.ShapeFill>
				
</telerik:InformationLayer>
Rieni De Rijke
Top achievements
Rank 1
 answered on 22 Dec 2011
0 answers
101 views
Actually i ran into a problem like User should be able to type Dates in MMddyy format(100105).once the control is lost its focus i have to show it like 10/01/2005.but the problem i face here is the DatePicker shows the previous value if i try to key-in 100105(MMddyy). can u pls privide me a suggestion how i could complete this.
joseph
Top achievements
Rank 1
 asked on 22 Dec 2011
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?