Telerik Forums
UI for WPF Forum
1 answer
236 views
I am using RadTreeView to display a hierarchy of different objects. Each object in the tree may have an object specific context menu or no context menu at all. The problem is if I set a context menu on a node in the tree all of the children of that node in the treeview display the same context menu unless I explicitely set a different context menu for the child node. This works fine if the child node has a context menu, but if it does not I always get the parent node's context menu which generally does not apply to this node. Explicitly setting the child node's context menu to null does not help. So I can not have tree nodes with no context menu that are children of a tree node that has a context menu. Is there any way around this?
George
Telerik team
 answered on 04 Nov 2010
3 answers
137 views
Hi,

I use this code for setting a custom range for AxisY in my chart, but only last range apply in chart and other range clear by it.

radchart.DefaultView.ChartArea.AxisY.AutoRange = false;
radchart.DefaultView.ChartArea.AxisY.AddRange(0, 100000000, 100000000 / 4);
radchart.DefaultView.ChartArea.AxisY.AddRange(100000000, 1000000000, (1000000000 - 100000000)/4);
radchart.DefaultView.ChartArea.AxisY.AddRange(1000000000, max2, (max2 - 1000000000) / 2);
Evgenia
Telerik team
 answered on 04 Nov 2010
1 answer
96 views
How to change the image of Alert, prompt or cofirm? The image, no the icon
Thanks

PD: Sorry form my english
Konstantina
Telerik team
 answered on 04 Nov 2010
7 answers
177 views
I have some windows that I am creating programmatically.  I found the RadDocking.SetSerializationTag() method to set the tag, but when I open my windows from the radDocking.LoadLayout() the code loaded windows do not have controls on them.  If I do not call the layout function, then everything is loaded just fine.  Here is my code:
RadPane redlineBottomPane = new RadPane();
 
redlineBottomPane.Name = "rpnBottomRedline";
redlineBottomPane.Header = "Redline Sessions";
redlineBottomPane.Title = "Redline Sessions";
redlineBottomPane.CanUserClose = false;
redlineBottomPane.CanDockInDocumentHost = true;
redlineBottomPane.IsPinned = true;
 
Telerik.Windows.Controls.RadDocking.SetSerializationTag(redlineBottomPane, "RedlinePluginPane");

Please let me know what is wrong with this.  Thanks in advance.
George
Telerik team
 answered on 04 Nov 2010
12 answers
1.1K+ views
Hi all

We moved from the standard DataGridView to the RadGridView.

The DataGridView has an item property where you can set the column and row index yourself.

dgvGrid.CurrentCell = dgvGrid.Item(1, 15)

The 1 being the column position and 15 the row position.

What is the RadGridView equivalent?

Thank you

Chad
Top achievements
Rank 1
 answered on 04 Nov 2010
1 answer
137 views

We have an application that uses the Docking controls and we are using the LoadLayout and SaveLayout functionality to restore dock panel positions. Each of our dock panels is populated with a module using a Prism region.

The problem we're seeing is that after calling LoadLayout, the restored dock panel is empty. It's as though the view is not being injected into the region after restoring the layout. Is there some way I can do this programmatically after the layouts are restored?

Kevin
Top achievements
Rank 1
 answered on 03 Nov 2010
6 answers
279 views

Hi,
My Grid is loading its data by a user request. So when the Grid is loaded at the startup it is empty.
When the grid is loaded with data by a command that user selects I need to select the first row and set the focus to the first cell of that row. I am using RowLoaded event in this code to accomplish this:

private void SearchGrid_RowLoaded(object sender, RowLoadedEventArgs e)
{
    //Set the focus to first cell after the last row is loaded
    if (SearchGrid.ChildrenOfType<GridViewCell>().Count() > 0)
    {
        if (e.DataElement == SummaryList[SummaryList.Count() - 1])
        {
            SearchGrid.SelectedItem = SummaryList[0];
            SearchGrid.ChildrenOfType<GridViewCell>().First().Focus();
        }
    }
}

I am wondering if there is an event that tells me the Grid has finished its generating cells so I can set my focus at that time?

Thanks
Ramin
Top achievements
Rank 1
 answered on 03 Nov 2010
6 answers
135 views
Telerik has a DataSeriesCollection which I am using to add different line data series. Is there a way in which I could bind this series to the itemsmapping collection?
Because right now I am not using any binding and in my core behind I am using the DataSeries.AddRange method to add the data series collection.
Help would be much appreciated!
Thanks,
Farhan
Evgeni "Zammy" Petrov
Telerik team
 answered on 03 Nov 2010
1 answer
314 views
Hi,

I really like your transition control and want to extend it with futher transitions effect. Thus I am trying to adjust the WPF Pixel Shader Effect Library found at:

http://wpffx.codeplex.com/

The easiest way would be if you alrady had a binary version with support for Telerik (TransitionProvider). But I havn't managed to find such. Do you know of such?

First, let me say, that I have been able to follow the guide for custom transitions in your online manual, but there are quite a few transitions available so it would be convinient to just adjust the code of the project found at CodePlex (to support telerik transition model). But maybe it isn't posible. Let me try to explain what I have done, and which error I get when using the adjusted library. 

 

As a proof of concept I have tried to adjust the CircleRevealTransitionsEffect to support telerik doing as follows:

Changed the "CircleRevealTransitionEffect" to inherit from BaseTransitionEffect (I assume that this might be the problem)

public class CircleRevealTransitionEffect :  Telerik.Windows.Controls.TransitionEffects.BaseTransitionEffect

And the added a new class "CircleRevealTransitionProvider"

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Telerik.Windows.Controls.TransitionControl;
using System.Windows.Media.Effects;
  
namespace TransitionEffects.TelerikProviders
{
    public class CircleRevealTransitionProvider : TransitionProvider
    {
        protected override ShaderEffect CreateTransitionEffect()
        {
            CircleRevealTransitionEffect effect = new CircleRevealTransitionEffect();
            return effect;
        }
    }
}

 

 

 

 

 

 

Everything compiles nicely but using the transition gives an runtime error: "transitioncontrol/transitioneffects/effects/circlerevealtransitioneffect.ps". Do you have a clue to what can be the problem.

I know that my question will force you to install WPF Shader Effect library yourself, but if this is a problem I will try minimize the size of the library and attach my own version here. But I guess it is more simple for you to download the complete source from CodePlex. Remeber to install the "Shader Effect Build Task and Effects" to be able to compile it all. It's works smoothly.

http://wpf.codeplex.com/releases/view/14962#DownloadId=40167

Looking forward to hear from you.

 

 

 

 

Miroslav Nedyalkov
Telerik team
 answered on 03 Nov 2010
2 answers
93 views
Hi

I have implimented the export function to export to supported file types. Unfortunately only the first page of data (using RadDataPager) exports. Strangely, if you first group a column, then all the data is exported (though obviously not grouped).

Any ideas why?
Murray
Top achievements
Rank 2
 answered on 03 Nov 2010
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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?