Telerik Forums
UI for WPF Forum
1 answer
123 views
Hi Telerik,

I have added a BusyIndicator to my main form and have it incapsulating my RadDocking, menu etc.

I works like a charm.

However ;-) - if the user undocks a window before running a 'busy-ecapsulated' function, the undocked window will still be accessible during the long-running function.

Is there a recommended way of handling this situation?

Thanks,

Anders, Denmark
Yana
Telerik team
 answered on 24 Aug 2011
1 answer
117 views
Hi, i add mappinpoins via codebehind from datatable. I need add information from ReverseGeocodeRequest. How loop all mappinpoints from my radmap control?

Thanks
Andrey
Telerik team
 answered on 24 Aug 2011
8 answers
436 views
There is a RadDocking.PaneStateChanged event, but it does not carry information about the old and new states. I need to detect a condition when a Pane becomes a floating pane. How can it be done?
Also, perhaps there is a preview event to cancel the change?
Thanks
 
Frank
Top achievements
Rank 1
 answered on 24 Aug 2011
1 answer
113 views
I have a situation where I have a RadcarouselPanel set as the itemPanelTemplate of a RadCarousel.  Is there a way to wrap the RadCarouselPanel in a scrollviewer when it is used this way?  I'd still like to use a traditional scroll bar as the navigation method as opposed to the buttons supplied with the RadCarousel.  I also want to use the scrollviewer's scroll event so I can determine when the items have been moved. Is this possible?
Dimitrina
Telerik team
 answered on 24 Aug 2011
3 answers
126 views
If the RadRibbonGroup is Collapsed the AcessText does not display. This can been seen in the demo supplied with the product, but setting the Variant priority to 0 for Collapsed in the tabs of the "Telerik Word". Using the AccessKey to select the Tab, shows the AccessText for all the menu option on RadRibbonGroups that are expanded, but not for the groups that are collapsed.

Is there something special that should be done to get this to work correctly?

Thanks
Kendrew
Petar Mladenov
Telerik team
 answered on 24 Aug 2011
1 answer
117 views
I am trying to set a date format for my definitions. I get an exception. What is the problem? Is this a bug?
private void SetTimeFormat(ViewDefinitionBase baseView)
        {
            if (baseView.GetType() == typeof(WeekViewDefinition))
            {
                //((WeekViewDefinition)(baseView)).GroupHeaderDateStringFormat = "{}{0:dddd(MM/dd/yyyy)}";
                //((WeekViewDefinition)(baseView)).TimerulerMajorTickStringFormat = "{}{0:h tt}:{0:mm} ";
                //((WeekViewDefinition)(baseView)).TimerulerMinorTickStringFormat = ":{0:mm}";
            }
            else if (baseView.GetType() == typeof(DayViewDefinition))
            {
                //((DayViewDefinition)(baseView)).GroupHeaderDateStringFormat = "{}{0:dddd(MM/dd/yyyy)}";
                //((DayViewDefinition)(baseView)).TimerulerMajorTickStringFormat = "{}{0:h tt}:{0:mm} ";
                //((DayViewDefinition)(baseView)).TimerulerMinorTickStringFormat = ":{0:mm}";
            }
            else if (baseView.GetType() == typeof(TimelineViewDefinition))
            {
                ((TimelineViewDefinition)(baseView)).GroupHeaderDateStringFormat = "{}{0:dddd(MM/dd/yyyy)}";
                ((TimelineViewDefinition)(baseView)).TimerulerGroupStringFormat = "";
                ((TimelineViewDefinition)(baseView)).TimerulerMajorTickStringFormat = "{}{0:h tt}:{0:mm} ";
                ((TimelineViewDefinition)(baseView)).TimerulerMinorTickStringFormat = ":{0:mm}";
            }
            else if (baseView.GetType() == typeof(MonthViewDefinition))
            {
                //((MonthViewDefinition)(baseView)).GroupHeaderDateStringFormat = "{}{0:dddd(MM/dd/yyyy)}";
                //((MonthViewDefinition)(baseView)).TimerulerGroupStringFormat = ":{0:mm}";
                //((MonthViewDefinition)(baseView)).TimerulerMajorTickStringFormat = "{}{0:h tt}:{0:mm} ";
            }

System.FormatException: Input string was not in a correct format.
   at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
   at System.String.Format(IFormatProvider provider, String format, Object[] args)
   at Telerik.Windows.Controls.ViewDefinitionBase.FormatTimerulerTickContent(IFormatProvider formatInfo, TickData tick)
   at Telerik.Windows.Controls.MultidayViewDefinition.FormatTimerulerTickContent(IFormatProvider formatInfo, TickData tick)
   at Telerik.Windows.Controls.ViewDefinitionBase.FormatTimerulerItemContent(IFormatProvider formatInfo, ITimeRange data)
   at Telerik.Windows.Controls.ScheduleView.TimerRulerItemProxy.UpdateData(IFormatProvider formatInfo, ViewDefinitionBase tickFormatProvider)
   at Telerik.Windows.Controls.TimeRulerPanel.PrepareItem(TimeRulerItemBase item)
   at Telerik.Windows.Controls.RecycleHelper`1.PrepareItem(Int32 index)
   at Telerik.Windows.Controls.RecycleHelper`1.PrepareItems(IValuesContainer indexTree, DateTime startDate, DateTime endDate)
   at Telerik.Windows.Controls.TimeRulerPanel.PrepareItems()
   at Telerik.Windows.Controls.TimeRulerPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at Telerik.Windows.Controls.TransitionControl.TransitionPresenter.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at Telerik.Windows.Controls.ScheduleViewBase.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.StackPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.StackPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ScrollContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.ScrollViewer.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run()
   at Metrix.UI.App.Main() in C:\Users\rodneyy\Documents\MetrixDevelopment\MetrixDevelopment\Client\Metrix.UI\obj\Debug\App.g.cs:line 0
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Yana
Telerik team
 answered on 24 Aug 2011
1 answer
148 views
Hi Team,

You rock.

Please help me too....
I  have a string property which has data in below format 

<MyData xmlns=http://schemas.microsoft.com/win/2004/>
<Tournament>
<Venue Name='Delhi' id='{123-345-567}' 
Duration='15 Days'/>
<SportID Participants='16384'>1111</SportID>
<Title>Football</Title>
<Level>Semifinal</Level>
<RedCards>0</RedCards>
<YellowCard>0</YellowCard>
<GreenCard>5</GreenCard>
<Duration SystemTime='2011-08-02'/>
<Sponser/>
<Refree Name='Karlos' Experience='2 Years'/>
<Security/>
</Tournament>


<TournamentData>
<Data Name='param1'>200 Teams</Data>
<Data Name='param2'>running</Data>
<XYZ>57</XYZ>
</TournamentData>


</MyData>

I want to display this data in radtreeview with proper parent child relation ship.

Please note that i am using MVVM pattern.

Any help would be highly appreciated.

Thanks in advance.



Petar Mladenov
Telerik team
 answered on 24 Aug 2011
1 answer
222 views
I try to write a sql editor with the RichTextBox control binding to a sql source. I have write my own TxtFormatProvider to colorize the keyword. It's work fine when the document is import but I don't understand how to invoke the FormatProvider when the text change but user input. I think i need to process all the content of the sql editor to have the right token color.
Mike
Telerik team
 answered on 24 Aug 2011
3 answers
219 views
I'm using a RadCarousel control bound to a collection of custom objects.  What I want to do is have a textblock's text property bound to one of the current top most item's string properties.  So, as the carousel is moved, the text block will automatically update and show the appropriate string value.  If I bind to the RadCarousel's selectedItem property it only shows me the string value when I click on a panel object.  Is there a way to bind to the object that is topmost?
Maya
Telerik team
 answered on 24 Aug 2011
0 answers
91 views
Hi, How do I enable "SelectAll" by default in my grid columns? My scenario is much like Excel and I want all the elements to be "Checked". Please let me know.

Thanks,
Fahad
Fahad
Top achievements
Rank 1
 asked on 24 Aug 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
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?