Telerik Forums
UI for WPF Forum
3 answers
161 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
179 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
368 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
196 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
123 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
228 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
365 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
260 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
0 answers
135 views
Hi,
 We need to set the width of the columns in RadGridview from a xml file. It is working fine in WPF datagrid. And also it is working fine in RadGridview in visual studio design mode but in run time the widths are not taken from the xml file. Find the code below

--data1.xml
<?xml version="1.0" encoding="utf-8" ?>  
<DatagridColumns xmlns="">
    <DatagridColumn Case_ColumnWidth="150" />
    <DatagridColumn Order_ColumnWidth="100" />
    <DatagridColumn IPName_ColumnWidth="150" />
</DatagridColumns>

--RAdGridview code (Main window)
<Window x:Class="TelerikGridviewColumnWidth.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Grid.Resources>
            <XmlDataProvider x:Key="xmlProvider" Source="XML/data1.xml" XPath="/DatagridColumns/DatagridColumn"/>
        </Grid.Resources>
 
        <telerik:RadGridView AutoGenerateColumns="False" >
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header="Case" Width="{Binding Source={StaticResource xmlProvider}, XPath=//@Case_ColumnWidth}" />
                <telerik:GridViewDataColumn Header="Order" Width="{Binding Source={StaticResource xmlProvider}, XPath=//@Order_ColumnWidth}" />
                <telerik:GridViewDataColumn Header="IpName" Width="{Binding Source={StaticResource xmlProvider}, XPath=//@IPName_ColumnWidth}"/>
                </telerik:RadGridView.Columns>
 
        </telerik:RadGridView>
    </Grid>
</Window>

Let us know how to configure the column widths from xml file

Thanks,
Parthasarathy  K.
Parthasarathy
Top achievements
Rank 1
 asked on 01 Apr 2013
2 answers
184 views
Hi Telerik!

I have successfully implemented the RadDiagram into my application and I am dynamically loading data to populate the Shapes and Connections via my GraphSource. This works perfectly! The only issue I have left is that when I load the application, each Shape is now stacked on top of each other. I can move them around individually and all of the Connections are correct and it looks great once they have been moved manually. I was wondering if you have run into this problem before. I believe it has something to do with the TreeLayoutSettings but after inspecting them in the code behind it looks like the default settings have been loaded but I could be wrong. I have also tried initializing a different TreeLayoutSettings object and tried to set my "Root/Parent Node" via the Shapes[0] index and this still shows unexpected results (all shapes stacked on top of each other). This is the last hurdle I have to complete this application, and any help would be appreciated. Thank you! :)

Jacob
Jacob
Top achievements
Rank 1
 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
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?