Telerik Forums
UI for WPF Forum
8 answers
867 views

Hi Guys,

 

In our WPF application, we need to show the empty rows in the grid based on the grid size before loading the data from the database. Currently it is not showing the empty rows in the grid. We used component one grid in our previous application. By default that control show the empty rows before loading the data. How can we achieve this showing empty row in the telerik grid without data?

 

I would appreciate your help. Thanks in advance

Raja

Dimitrina
Telerik team
 answered on 03 Apr 2013
1 answer
141 views
Hello,

I'm having such an issue i've been struggling for hours.
First of all, I'm using data template to show some custom data from my custom appointment.
The first thing that is occuring is that after an update on any existing appointment, the data template don't refresh.

I tried many things but none worked. I may totally be missing something, but i can't see it... ):

Anyway, another issue occurs in this case:
- i have two or three appointments, one followed by the other, something like that:

- Appointment 1 starts at 11:00 ~ ends 12:00
- Appointment 2 starts at 12:00 ~ ends 13:00
- Appointment 3 starts at 13:00 ~ ends 14:00

- I created a custom appointment and i made some custom resources. If i change the custom resource in Appointment 2, for example, and save it, OK, it saves (and that's when the first issue occurs - the scheduleView doesn't change)

- If I select Appointment 1 and open it, the custom resource i saved in Appointment 2 is set to Appointment 1. (and well, it was not suposed to be the same). I could not find a pattern for this issue, it's kind of randomly

I checked my database to see if there's any ambiguity or anything else, but everything is ok, all relations and stuff are ok

I'm using Q1 2012.

I'd like some help with this. I don't know where to try anything else.
Thanks

Ivo
Telerik team
 answered on 03 Apr 2013
3 answers
148 views
I'm working with the RadScheduleView and I have implemented styling my special slots per the Special and ReadOnly slots documentation. My issue is I would like to still have the lines for the times still visible. If you look at the attached image, I have my special slot in red, but I want the time lines in the yellow section to be visible in the red section. Any thoughts or suggestions?
Thomas
Top achievements
Rank 1
 answered on 03 Apr 2013
1 answer
164 views
Hello Team,
I am Working on WPF Prism 4,1 Application using Telerik Controls and i have injected  RadRibbonView in one region and  injected RadRichTextbox in ContentRegion Region. Now I am not sure how to set the data context between these 2 user controls injected into shell.

I would like to have the word processor functionalities offered by RibbonView on rich textbox. Any Examples similar to this or valuable suggestion would be deeply appreciated.

I am using wpf 4.5, Prism 4,1 and Telerik 2013 Q1 Trial.

Regards
Suresh
Petya
Telerik team
 answered on 02 Apr 2013
6 answers
352 views
Attached is one of the sample gridviews from the Demos, but I was wondering how you can remove or edit (change the color) of these gridlines that appear after you group items.

Which template do I need to edit if I can edit them.



Thanks
Bartley
Top achievements
Rank 1
 answered on 02 Apr 2013
2 answers
179 views
Maybe I'm missing it or just being lazy, sorry.  I want to use the TlieList control but I have a requirement to show an updated total on one of the Tiles. (It's a "Pending" tile that will show a number).  How would I go about doing that with this?

I'm guessing/trying the following, add a Textblock to one of my Tile's and Bind it to my ViewModel....am I on the right track or is there a simpler way built in?

Thanks
Patrick
Top achievements
Rank 2
 answered on 02 Apr 2013
1 answer
112 views
Hi,

How to set the RadWindow icon from code behind?

Thank You,
Ben Gallard.
Shinu
Top achievements
Rank 2
 answered on 02 Apr 2013
5 answers
213 views
Hi everyone,
I have a radgridview with 2 comboboxcolumn, (product and package )when the user add new ítem and select ítem from the first combobox(product) should fill the second combobox with records associated with the first combobox selected ítem.

i working with mvvm pattern i was try with itemsourcebinding but doesn't work because in the itemsource's grid is empty
thanks in advance
Willy
Maya
Telerik team
 answered on 02 Apr 2013
4 answers
349 views
I am using RadTiles in my project, and as a requirement I need to implement enable/disable of tiles (means visible/hidden respectively), But I am getting strange exception in My TileViewPanel.cs. "Sequence contains no elements", when I set visibility of all tiles to false. I have tried with latest assemblies of Telerik i.e. Q1 2013. but no difference.

private void Button_Click(object sender, RoutedEventArgs e)
        {
            
try
            {
                
for (int i = 0; i < 3;i++ )
                    ((RadTileViewItem)firstTileView.Items[i]).Visibility = System.Windows.Visibility.Hidden;
            }
            
catch (Exception ex)
            {
                
throw ex;
            }
           
        }

When I press the Hide 1 button as in screen shot, I get the following exception.

   at System.Linq.Enumerable.Average(IEnumerable`1 source)
   at System.Linq.Enumerable.Average[TSource](IEnumerable`1 source, Func`2 selector)
   at Telerik.Windows.Controls.TileViewPanel.TryToRecalculatePositonsAndOffsets() in c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TileView\TileViewPanel.cs:line 1120
   at Telerik.Windows.Controls.TileViewPanel.MeasureRestoredChildren(Boolean isVirtualized, Int32 row) in c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TileView\TileViewPanel.cs:line 1087
   at Telerik.Windows.Controls.TileViewPanel.MeasureItems() in c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TileView\TileViewPanel.cs:line 979
   at Telerik.Windows.Controls.TileViewPanel.MeasureOverride(Size availableSize) in c:\TB\135\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TileView\TileViewPanel.cs:line 398
   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.InvokeOnRenderCallback.DoWork()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(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.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   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.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.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 TileViewDnD.App.Main() in C:\Users\m.iqbal\Desktop\362970_TileViewDnD\362970_TileViewDnD\362970_TileViewDnD\TileViewDnD\TileViewDnD\obj\x86\Debug\App.g.cs:line 0
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly 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, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()


Please help me out?
Muhammad Ummar
Top achievements
Rank 1
 answered on 02 Apr 2013
3 answers
243 views
Hi,

How can I use a RadDiagramContainerShape with a mvvm datababing in a RadDiagram

Regards

Laurent
Pavel R. Pavlov
Telerik team
 answered on 01 Apr 2013
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?