This is a migrated thread and some comments may be shown as answers.

TileView Refresh/Min/Max,Close button

3 Answers 87 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Laxman
Top achievements
Rank 1
Laxman asked on 29 Jul 2011, 06:47 AM
Hi Friends,
I have two pages
1) UserControl.xaml
2) ContentControl.xaml.
My UserControl.xaml page haveing TileView only.
and
ContentControl.xaml. page  contains TileViewItem ie. Silverlight childcontrol
I am Calling ContentControl.xaml page by creating object from user UserControl page
Now, I want Refresh,Min/Max,Close button to tile view 
please help me.

3 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 01 Aug 2011, 12:17 PM
Hello Laxman,

I am not sure that I understand completely you scenario. Could you please provide us with more details. Also if you could send us a sample project that would be great. This way we will be better able to assist you.

Kind regards,
Kiril Stanoev
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Laxman
Top achievements
Rank 1
answered on 03 Aug 2011, 02:43 PM

Hi Friend ,

My Tileview in MainPage.xaml and TileviewItem in ContentCtrlView.xaml Now i want  Refresh/Min/Max,Close button on TileView
How i can achive that.


Code On MainPage.xaml
<UserControl x:Class="TitanDemoProject.MainPage"
    xmlns:telerikTheme="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
              xmlns:System="clr-namespace:System;assembly=mscorlib"   
               
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400"  xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">
  
    <Grid x:Name="LayoutRoot" Background="White">
        
        <telerik:RadTileView x:Name="radTileView" MinimizedColumnWidth="250">
             
        </telerik:RadTileView>
        
         
    </Grid>
</UserControl>
  
  
//// ***********Code For  ********************//
MainPage.xaml.cs
  
  
  
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Telerik.Windows.Controls;
using System.Xml.Linq;
using System.Xml.XPath;
using System.Collections.ObjectModel;
using TitanDemoProject.TitanSearchService;
using System.ServiceModel;
using System.Windows.Printing;
using System.Xml;
using Microsoft.SharePoint.Client;
using System.ServiceModel.DomainServices.Client.ApplicationServices;
using System.ServiceModel.Security;
using HISUserDashboard;
  
namespace TitanDemoProject
{
    public partial class MainPage : UserControl
    {
        /// <summary>
        /// constructor of Userboard
        /// </summary>
        //public UserDashboard()
        public MainPage()
        {
            InitializeComponent();
            ContentCtrlView contentControlView = new ContentCtrlView();
            contentControlView.GetPanels();
            radTileView.Items.Add(contentControlView);
        }
        
        
        
    }
}
  
  
//Code for   ContentCtrlView.xaml
  
<telerik:RadTileViewItem  xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"  x:Class="HISUserDashboard.ContentCtrlView"
    xmlns:System="clr-namespace:System;assembly=mscorlib"                    
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"             
    xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit" 
    xmlns:tileview="clr-namespace:Telerik.Windows.Controls.TileView;assembly=Telerik.Windows.Controls.Navigation"
    xmlns:chartingToolkit="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"
    mc:Ignorable="d"
    xmlns:telerikTheme="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
    d:DesignHeight="300" d:DesignWidth="400" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">
    <Grid x:Name="LayoutRoot"  >
        <telerik:RadFluidContentControl x:Name="radFluidControl" ContentChangeMode="Manual" State="Large"  Height="Auto" >
            <telerik:RadFluidContentControl.SmallContent>
                <TextBlock Text="Small content"></TextBlock>
            </telerik:RadFluidContentControl.SmallContent>
            <telerik:RadFluidContentControl.Content>
                <TextBlock Text="Normal content"></TextBlock>
            </telerik:RadFluidContentControl.Content>
            <telerik:RadFluidContentControl.LargeContent>
  
                <Grid x:Name="GridInside"  VerticalAlignment="Top">
  
                    <telerik:RadGridView x:Name="radGrdView"       ShowGroupPanel="False" RowIndicatorVisibility="Collapsed" Grid.Row="2" VerticalAlignment="Top"   Margin="0,15,0,0" telerikTheme:Theming.Theme="Windows7" BorderThickness="1" BorderBrush="LightBlue">
                    </telerik:RadGridView>
                    <chartingToolkit:Chart x:Name="chart"  Height="550"  >
                        <chartingToolkit:Chart.Series>
                            <toolkit:ColumnSeries IsSelectionEnabled="True"  AnimationSequence="FirstToLast"  />
                        </chartingToolkit:Chart.Series>
                    </chartingToolkit:Chart>
                </Grid>
            </telerik:RadFluidContentControl.LargeContent>
        </telerik:RadFluidContentControl>
    </Grid>
</telerik:RadTileViewItem >
     
  
//Code for  ContentCtrlView.xaml.cs
  
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Telerik.Windows.Controls;
using System.Xml.Linq;
using System.Xml.XPath;
using System.Windows.Controls.DataVisualization.Charting.Compatible;
using System.Windows.Controls.DataVisualization.Charting;
using System.Windows.Controls.DataVisualization;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
using System.Collections;
using System.Xml;
using System.IO;
using TitanDemoProject.TitanSearchService;
using System.ServiceModel;
using Telerik.Windows.Data;
using Telerik.Windows.Controls.Data.DataPager;
using System.Windows.Data;
using System.Windows.Printing;
using System.Text.RegularExpressions;
using HISUserDashboard;
  
  
namespace TitanDemoProject
{
  
  
    public partial class ContentCtrlView : UserControl 
    {
        public ContentCtrlView()
        {
             
        }
          
        public void GetPanels()
        {
            //Data coming in this method by WCF Service. and bind to RadGridView
        }
    }
}
0
Tina Stancheva
Telerik team
answered on 08 Aug 2011, 04:30 PM
Hi Laxman,

Does the solution I attached here helped fixing this issue as well or am I missing something?

Greetings,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
TileView
Asked by
Laxman
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Laxman
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or