Telerik Forums
UI for WPF Forum
4 answers
262 views

Hello All,
     Well, color me stupid or something, because I can figure this one out.  I'm using Visual Studio 2013 and I am trying to create a wizard for my WPF application.  I have created a RadWizard with a RadWiardPages collection in it, with multiple WizardPage (six to be exact) objects in the collection.  However, I can ONLY see ONE of the pages in the Designer.  I CANNOT switch between the pages like I can on another window where I have a standard TabControl.  I would like to know how I can design subsequent pages in a wizard when I can only see one page.  On the other window with a TabControl, when I select a different TabItem the designer shows that TabItem's contents.  Is there a way of doing this with the RadWizard control?????  It makes it very difficult to design any Wizard with multiple pages when you can't see the different pages in the designer!!!

 

Thanks in advance,

Kevin Orcutt
Senior Software Engineer

Wurth Electronics ICS, Inc.
7496 Webster St., Dayton, OH 45414
Tel: 937.415.7700 
Toll Free: 877.690.2207
Fax: 937.415.7710
Email: Kevin.Orcutt@we-ics.com
http://www.we-ics.com

 

 

live cooking demonstration
Top achievements
Rank 1
 answered on 31 May 2017
2 answers
128 views

I want to be able to switch the design view from wizardpage to wizardpage. Currently It will only display the first wizardpage entered in the xaml view.

Is this currently possible? If not I guess the alternative would be to make a new page.xaml for every telerik:wizardpage then override the default navigation somehow. I could use some help finding a solution.

<telerik:RadWizard x:Name="radWizard">         <telerik:RadWizard.WizardPages>             <telerik:WizardPage Name="DeployTargetPage">                 <telerik:WizardPage.Content>                   <Grid>                         <TextBlock Width="80" Height="20" Margin="35,51,387.4,207.4" >Deploy target</TextBlock>                         <ComboBox  Width="100" Height="20" Margin="35,76,367.4,182.4" >                             <ComboBoxItem Selected="LocalDeploySelected">Local host</ComboBoxItem>                             <ComboBoxItem Selected="AzureDeploySelected">Azure</ComboBoxItem>                         </ComboBox>                     </Grid>                 </telerik:WizardPage.Content>             </telerik:WizardPage>             <telerik:WizardPage Name="SetParametersPage">                 <telerik:WizardPage.Content>                     <Grid>                         <TextBlock Width="100" Height="20" >Site name</TextBlock>                         <ListBox Grid.Column="0" Height="20" />                         <TextBlock Width="100" Height="20" >Publish link</TextBlock>                         <ListBox Height="20" />                         <TextBlock Width="100" Height="20" >User name</TextBlock>                         <ListBox Height="20" />                         <TextBlock Width="100" Height="20" >Password</TextBlock>                         <ListBox Height="20" />                     </Grid>                 </telerik:WizardPage.Content>             </telerik:WizardPage>

live cooking demonstration
Top achievements
Rank 1
 answered on 31 May 2017
2 answers
162 views

Hi, like the OpenDiagramdemo.zip, i have a diagram, when startup, it add 500 shapes to this diagram. Then i click the "click me" in the left treeview to open a radpane, and the radpane show the diagram. The problem is that it takes too much time to opening the radpane. When opened, i move the view area in the thumbnail, its response is slow too. How to make fast?

Hope answers, thanks!

OpenDiagramdemo.zip download url:  http://www.filefactory.com/file/5cu3dseh6x8h/OpenDiagramdemo.zip

Jonathan
Top achievements
Rank 1
 answered on 31 May 2017
8 answers
588 views
I am trying and failing to show the group totals aligned with column headers. by setting the following properties ShowGroupHeaderColumnAggregates and ShowHeaderAggregates.

This the XAML I am using - am I doing something wrong or does it just not work? The property setters seem to have no effect.

<Window x:Class="GridViewTest.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow" Height="350" Width="525"
    xmlns:t="http://schemas.telerik.com/2008/xaml/presentation">
    <Window.Resources>
        <Style TargetType="t:GroupHeaderRow">
            <Setter Property="ShowGroupHeaderColumnAggregates" Value="True" />
            <Setter Property="ShowHeaderAggregates" Value="False" />
        </Style>
    </Window.Resources>
    <Grid>
         <t:RadGridView ItemsSource="{Binding Path=Records}" SelectionMode="Extended">
         <t:RadGridView.GroupDescriptors>
             <t:GroupDescriptor Member="Column1" SortDirection="Ascending">
                 <t:GroupDescriptor.AggregateFunctions>
                     <t:CountFunction Caption="Entries count: " />
                     <t:FirstFunction Caption="First entry: " />
                 </t:GroupDescriptor.AggregateFunctions>
          </t:GroupDescriptor>
       </t:RadGridView.GroupDescriptors>
</t:RadGridView>
</Grid>
Ivan Ivanov
Telerik team
 answered on 30 May 2017
1 answer
137 views

Hi,

I have this code and I need to set the value of one column based on the SelectedItem (SelectedItemMyRecord) binded in the grid. The value will be set after clicking a button. Can someone help me on this?

 

<telerik:RadGridView Grid.Row="1"                                   
                                     Height="300"                                 
                                     ItemsSource="{Binding MyRecords, Mode=TwoWay}"                                       
                                     SelectionMode="Single"                                    
                                     Name="radGridViewMyList"
                                     telerikGridViewHeaderMenu:GridViewHeaderMenu.IsEnabled="True"
                                     FontSize="{Binding GridFontSize}"
                                     IsReadOnly="False"
                                     SelectedItem="{Binding SelectedItemMyRecord, Mode=TwoWay}"                                     
                                     RowIndicatorVisibility ="Visible"                                                                     
                                     RowDetailsVisibilityMode="VisibleWhenSelected"

Dilyan Traykov
Telerik team
 answered on 30 May 2017
1 answer
272 views

hi,

I'm using telerik rad map in my project with png and tiff Images,

this wired thing happens to me, every few times I run my code I get system invalidoperationexception in mscorlib dll,

it is definitely related to maps Images because when I remove the png and tiff (using the map without image) it is not happening.

please note that most of the time code runs correctly with the images.

do you have any Idea why some time I get this exception?

 

Petar Mladenov
Telerik team
 answered on 30 May 2017
1 answer
242 views

I am creating a collection of columns in the viewmodel and successfully adding the columns to the TreeListView from the code behind in an event in the viewmodel.

CodeBehind

private void Vm_OnCompletedEvent(object sender, EventArgs e)
    {
        try
        {
            tvData.Columns.Clear();
            foreach (GridViewDataColumn oCol in vm.ColumnList)
            {
                this.tvData.Columns.Add(oCol);
            }
            tvData.Rebind();
        }
        catch (Exception ex)
        {
            MessageBox.Show(ex.Message);
        }
    }

The XAML in the View

<telerik:RadTreeListView x:Name="tvData"
                                                             Margin="1"
                                                             ItemsSource="{Binding TreeNodeDEList}"
                                                             SelectedItem="{Binding SelectedTreeNodeDE,Mode=TwoWay}"
                                                             AutoGenerateColumns="False"
                                                             AutoExpandItems="True"
                                                             IsFilteringAllowed="False"
                                                             IsReadOnly="True"
                                                             HierarchyIndent="8"
                                                             FrozenColumnCount="1"                                                                                                                  
                                                             RowStyleSelector="{StaticResource deRowSelector}"
                                                             RowIndicatorVisibility="Collapsed">
                <telerik:RadTreeListView.ChildTableDefinitions>
                    <telerik:TreeListViewTableDefinition ItemsSource="{Binding ChildNodes}" />
                </telerik:RadTreeListView.ChildTableDefinitions>
            </telerik:RadTreeListView>

The ViewModel code to create the columns

private void CreateColumns()
{
    try
    {
        string sUniqueName, sValuefield;
        GridViewDataColumn oCol;
        ColumnList = new List<GridViewDataColumn>();
 
        oCol = new GridViewDataColumn();
        oCol.HeaderCellStyle = HeaderStyle();
        oCol.Width = 250;
        oCol.Header = "Category/Line Item";
        oCol.UniqueName = "Rootcol";
        oCol.DataMemberBinding = new System.Windows.Data.Binding("NodeLabel");
        oCol.HeaderTextAlignment = TextAlignment.Left;
        oCol.TextAlignment = TextAlignment.Left;               
        ColumnList.Add(oCol);
        int i = 1;
        foreach (WeekNoDB oWk in lWeekNo)
        {
            sUniqueName = string.Format("CellLabel{0}", i.ToString().PadLeft(2, '0'));
            sValuefield = string.Format("CellLabel{0}", i.ToString().PadLeft(2, '0'));
            oCol = new GridViewDataColumn();
            oCol.HeaderCellStyle = HeaderStyle();
            oCol.Width = 40;
            oCol.Header = string.Format("{0}/{1}", oWk.ToDate.DateTimeFromNull().Day, oWk.ToDate.DateTimeFromNull().Month);
            oCol.UniqueName = sUniqueName;
            oCol.DataMemberBinding = new System.Windows.Data.Binding(sValuefield);
            oCol.HeaderTextAlignment = TextAlignment.Center;
            oCol.TextAlignment = TextAlignment.Right;                  
            ColumnList.Add(oCol);
            i++;
        }
        if (this.OnCompletedEvent != null)
        {
            this.OnCompletedEvent(this, new EventArgs());
        }
    }
    catch (Exception exc)
    {
        gUI.PopError(string.Format("{0}.{1}", this.GetType().Name, System.Reflection.MethodBase.GetCurrentMethod().Name), exc);
    }
}

 

This works perfectly - ONCE

The second time i get the error

 

An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in Telerik.Windows.Controls.GridView.dll

Additional information: DataGrid_DisplayIndexOutOfRange

Astonishingly there is little response from Google, or my foo is not working. Any ideas how to fix this problem. 

Dilyan Traykov
Telerik team
 answered on 30 May 2017
1 answer
152 views

Hi,

If I want to convert a location point to an address I have to call the ReverseGeocodeAsync() method of the BingGeocodeProvider and pass a ReverseGeocodeRequest to it. However in R2 2017 this classes are deleted.  And I didn’t find this classes in BingRestMapRouting.

Could you please tell me how to implement that ReverseGeocode logic in new version of telerik(R2 2017).

This is blocking us and need immediate help.

 

Thanx

Dinko | Tech Support Engineer
Telerik team
 answered on 29 May 2017
1 answer
166 views
Hello, 

I've noticed that the alert "freezes" when hovering the mouse on it, so that it doesn't disappear, and its duration time is reset and start counting again after the mouse stops hover on it.

Can this behavior be controlled or cancelled?
Dinko | Tech Support Engineer
Telerik team
 answered on 29 May 2017
2 answers
294 views
Consider Internet Explorer 9.0 (and possibly other browsers too). When you start dragging a tab you get the possibility to detach it from the main window and move/drop it into what becomes a new main window.

Can this be done using RadTabControl?
steven
Top achievements
Rank 1
 answered on 29 May 2017
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?