Telerik Forums
UI for WPF Forum
3 answers
304 views
Hello!
I use the ASP.NET telerik controls and love them...

However in a new development project at my company, it has been decided to use WPF as both a desktop solution (great! Meant for that!) but also as a "web product". It will be accessible via a public site but also sold for intranet use. It is a HUGE RMS system for the fire industry. Are there any case studies using WPF application run in this way? Over the internet via browser? What are the limitations? I have not been able to find ANY information really on using WPF as a web application.

I know ASP.NET is used for web apps, but in this case, management wants to use WPF. Mainly for the single code base (Desktop/web). However, it does not appear to have been meant for web deployment based on the literature... THoughts?

Thanks
Harold
Vlad
Telerik team
 answered on 17 Mar 2009
1 answer
137 views
I installed RadControls for WPF Q1 2009.  I can't get any tools to post to the Toolbox.  I select RadCarouselPanel on the WPF tab, click OK, but nothing gets added.  I've added Telerik.Windows.Controls as a reference.
Added 3/15.  VS2008SP1 now restarts anytime I try to add a tool.  This seems to be a VS problem.  I've tried "devenv /reset and /safemode w/o success.  I see where this was a problem before SP1.  Any help appreciated; it makes it hard to use RadControls!
Added 3/17.  Toolbox now working see - Can't add items to toolbox in Visual Studio 2008
Hristo Deshev
Telerik team
 answered on 17 Mar 2009
2 answers
168 views
Hi Telerik,

In Q1 2009 when I drop down the list for the StyleManager.Theme in the IDE (Blend AND VS2008) a strange gradiant (purple to blue with a black line under) list appears for the list of themes.

I can get you a screenshot if you need it.

~Mike
Hristo
Telerik team
 answered on 16 Mar 2009
1 answer
325 views
I download and installed the latest 2009 Q1 release and the included demo examples contains a lot of errors:

XmlRepository.cs(119,11): error CS1502: The best overloaded method match for 'System.Collections.ObjectModel.ObservableCollection<Telerik.Windows.Examples.Employee>.ObservableCollection(System.Collections.Generic.List<Telerik.Windows.Examples.Employee>)' has some invalid arguments
XmlRepository.cs(121,5): error CS1503: Argument '1': cannot convert from 'System.Collections.Generic.IEnumerable<Telerik.Windows.Examples.Employee>' to 'System.Collections.Generic.List<Telerik.Windows.Examples.Employee>'
XmlRepository.cs(220,14): error CS1502: The best overloaded method match for 'System.Collections.ObjectModel.ObservableCollection<Telerik.Windows.Examples.Order>.ObservableCollection(System.Collections.Generic.List<Telerik.Windows.Examples.Order>)' has some invalid arguments
XmlRepository.cs(220,46): error CS1503: Argument '1': cannot convert from 'System.Collections.Generic.IEnumerable<Telerik.Windows.Examples.Order>' to 'System.Collections.Generic.List<Telerik.Windows.Examples.Order>'
Gauge\Gallery\CarDashboard\Example.xaml.cs(96,4): error CS1501: No overload for method 'Begin' takes '0' arguments
Gauge\Gallery\CarDashboard\Example.xaml.cs(104,4): error CS1501: No overload for method 'Stop' takes '0' arguments
Gauge\Gallery\CarDashboard\Example.xaml.cs(116,6): error CS1501: No overload for method 'Begin' takes '0' arguments
Gauge\Gallery\CarDashboard\Example.xaml.cs(133,6): error CS1501: No overload for method 'Begin' takes '0' arguments
Gauge\Gallery\WeatherStation\Example.xaml.cs(125,4): error CS1501: No overload for method 'Begin' takes '0' arguments
GridView\RowPreview\Example.xaml.cs(89,15): error CS0117: 'System.Windows.Media.Animation.Storyboard' does not contain a definition for 'SetTarget'
GridView\RowPreview\Example.xaml.cs(94,4): error CS1501: No overload for method 'Begin' takes '0' arguments
GridView\DataSources\Example.xaml.cs(180,11): error CS1502: The best overloaded method match for 'System.Collections.ObjectModel.ObservableCollection<Telerik.Windows.Examples.Customer>.ObservableCollection(System.Collections.Generic.List<Telerik.Windows.Examples.Customer>)' has some invalid arguments
GridView\DataSources\Example.xaml.cs(180,46): error CS1503: Argument '1': cannot convert from 'System.Collections.Generic.IEnumerable<Telerik.Windows.Examples.Customer>' to 'System.Collections.Generic.List<Telerik.Windows.Examples.Customer>'

my laptop is setup with:
VS2008, .Net 3.5 SP1, XP2Pro

Any solution? Tnx.


Hristo Deshev
Telerik team
 answered on 16 Mar 2009
3 answers
220 views
Is there currently a way to label the series on a pie chart from a data field ?
Giuseppe
Telerik team
 answered on 16 Mar 2009
6 answers
189 views

Hi,

I use VS and Blend to build a wpf application. When using Blend all of a sudden I get the following error message
The name <telerik control tab/grid> does not exist in the namespace "http://schemas.telerik.com/2008/xaml/presentation"'

I have tried Clean, re-referencing, re-build but to no avail. This error is only in design time in Blend.

any advise?


P

Mike
Top achievements
Rank 2
 answered on 13 Mar 2009
4 answers
122 views
Hi,

Executing following code recieved strange NullReferenceException:

        private void IterateRows(IList<Record> records)
        {
            foreach (Record record in records)
            {

                if (record is ExpandableDataRecord)
                {
                    ExpandableDataRecord expandableRecord = (ExpandableDataRecord)record;
                    expandableRecord.IsExpanded = true;

                    IterateRows(expandableRecord.ChildRecordManagers[0].Records);
                }
            }
        }

        private void Expand_Click(object sender, RoutedEventArgs e)
        {
            this.IterateRows(this.radGridView1.Records);
        }


System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="Telerik.Windows.Controls.GridView"
  StackTrace:
       at Telerik.Windows.Controls.GridView.GridViewItemsControl.ExpandToAvailableSpace() in r:\WPF_Scrum\WPF_Team\Sources\Development\WPF\GridView\GridView\GridViewItemsControl.cs:line 1329
       at Telerik.Windows.Controls.GridView.GridViewItemsControl.GridViewItemsControl_Loaded(Object sender, RoutedEventArgs e) in r:\WPF_Scrum\WPF_Team\Sources\Development\WPF\GridView\GridView\GridViewItemsControl.cs:line 852
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
       at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
       at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
       at MS.Internal.LoadedOrUnloadedOperation.DoWork()

Any thoughts?
Just to mention that I don't have r:\WPF_Scrum\WPF_Team\Sources\Development\WPF\GridView\GridView\GridViewItemsControl.cs on my computer ;)

Greg
Greg
Top achievements
Rank 1
 answered on 13 Mar 2009
3 answers
127 views
Hello,

i am working with the radtreeview, i want that the default styling on the mouseover should be removed.
Please suggest with code snippet.
Thanks and regards
Tihomir Petkov
Telerik team
 answered on 13 Mar 2009
1 answer
77 views
If the height of the RadChart is not specified in xaml the radchart starts to grow vetically(a lot)  in the designer mode.
this slows down the system. But when the project is run all shows normally.
In the Q1 2009 is going to be ok???
Dwight
Telerik team
 answered on 13 Mar 2009
6 answers
238 views
Hi,

I have sucessfully bounfd my collection the the grid.

After editing the contents in the Grid's Cell the application crashes, with a bizarre result: A File Dialog box pops open looking for :-
r:\WPF_Scrum\WPF_Team\Sources\Development\WPF\GridView\GridView\Cells\GridViewCell.cs.

What on earth!!!!


I cancel the box and and I get TargetInvocationException was unhandled exception

System.Reflection.TargetInvocationException was unhandled
  Message="Exception has been thrown by the target of an invocation."
  Source="mscorlib"
  StackTrace:
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Delegate.DynamicInvokeImpl(Object[] args)
       at System.Windows.RoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
       at Telerik.Windows.Controls.GridView.GridViewCell.RaiseEventEditEnded() in r:\WPF_Scrum\WPF_Team\Sources\Development\WPF\GridView\GridView\Cells\GridViewCell.cs:line 1103
       at Telerik.Windows.Controls.GridView.GridViewCell.CommitEdit() in r:\WPF_Scrum\WPF_Team\Sources\Development\WPF\GridView\GridView\Cells\GridViewCell.cs:line 710
       at Telerik.Windows.Controls.GridView.GridViewCell.HandleCellKeyCommand(CellAction cellAction) in r:\WPF_Scrum\WPF_Team\Sources\Development\WPF\GridView\GridView\Cells\GridViewCell.cs:line 911
       at Telerik.Windows.Controls.GridView.GridViewCell.GridViewCell_KeyUp(Object sender, KeyEventArgs e) in r:\WPF_Scrum\WPF_Team\Sources\Development\WPF\GridView\GridView\Cells\GridViewCell.cs:line 546
       at System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
       at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
       at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
       at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
       at System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(MSG& msg, Boolean& handled)
       at System.Windows.Interop.HwndSource.WeakEventPreprocessMessage.OnPreprocessMessage(MSG& msg, Boolean& handled)
       at System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.Run()
       at System.Windows.Application.RunDispatcher(Object ignore)
       at System.Windows.Application.RunInternal(Window window)
       at System.Windows.Application.Run(Window window)
       at System.Windows.Application.Run()
       at FTS.CMX.WPFApplication.Application.Main() in C:\Projects\CMX\FTS.CMX.WPFApplication\obj\Debug\Application.g.vb:line 75
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: System.Reflection.TargetInvocationException
       Message="Exception has been thrown by the target of an invocation."
       Source="mscorlib"
       StackTrace:
            at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
            at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
            at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
            at System.Delegate.DynamicInvokeImpl(Object[] args)
            at System.Windows.RoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
            at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
            at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
            at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
            at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
            at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
            at Telerik.Windows.Controls.GridView.GridViewRow.HandleValueChangedAfterEdit(RadRoutedEventArgs editEventArgs, RecordsChangeListener changeListener) in r:\WPF_Scrum\WPF_Team\Sources\Development\WPF\GridView\GridView\Rows\GridViewRow.cs:line 534
            at Telerik.Windows.Controls.GridView.GridViewRow.Cell_EditCommitted(Object sender, CellRoutedEventArgs e) in r:\WPF_Scrum\WPF_Team\Sources\Development\WPF\GridView\GridView\Rows\GridViewRow.cs:line 554
       InnerException: System.ArgumentNullException
            Message="Value cannot be null.\r\nParameter name: fieldName"
            Source="Telerik.Windows.Controls.GridView"
            ParamName="fieldName"
            StackTrace:
                 at Telerik.Windows.Controls.GridView.GridViewDataControl.DataError(Object sender, DataErrorEventArgs args) in r:\WPF_Scrum\WPF_Team\Sources\Development\WPF\GridView\GridView\GridViewDataControl.cs:line 929
            InnerException:



P

Vlad
Telerik team
 answered on 12 Mar 2009
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?