Telerik Forums
UI for WPF Forum
11 answers
197 views
HI Telerik Team

                  i developed a component using Telerik SilverlightControl 

used components are

Rad docking panel
GridView
Drag and Drop
TreeView

Then we  are planned to develop the same component in WPF
as far as i understood XAML  is same for both wpf and silverlight  but in this scenario bothe diff assemblies
i can not able to migrate  to wpf , so i took corresponding dll (WPF ) and did
in my future plan is need to all the controls WPF and Silverlight   is it possible ?
then only we can buy Telerik Controls . because my product is huge  .
depends on the client we are changing WPF and Silverlight  so need support .
already i seen forum in future release planning to support both in one DLL
when can i except that release
please let me know  because  i need to talk to the management after your Replay

Thanks and Regards
Murugan




Valentin.Stoychev
Telerik team
 answered on 30 May 2009
1 answer
132 views
Hi

Given the code below, when the Grid is rendered, there is no filter icon on the column. Can you tell me what else I need to do to get the filter icon (therefore enabling filtering) to appear on a dynamic column.

 Dim UDFCellStyle As Windows.Style = Me.FindResource("UDFCellViewStyle")  
 
        For Each UDFItem In Me.CMXEvent.UDFItems  
            Dim UDFColumn As New Telerik.Windows.Controls.GridViewDataColumn  
            UDFColumn.CellStyle = UDFCellStyle  
            UDFColumn.HeaderText = UDFItem.UDF.Name  
            UDFColumn.IsFilterable = True 
            UDFColumn.DataContext = UDFItem  
            Me.grdMembers.Columns.Add(UDFColumn)  
 
        Next 


Thanks


P
Stefan Dobrev
Telerik team
 answered on 30 May 2009
1 answer
119 views
Hi,
    I am using "radcarousel".
    its working fine when i am using "forward/backward" arrow key and also working fine if using "Pageup/Pagedown" key.
    But its throwing Exception when I am using "Home /End" Key.
    Even Try/Catch block also unable to handle this exception.

    Exception Detail as mentioned:

    System.Overflow Exception
    Value was either too large or too small for an Int32.

    Please help me to resolve this exception.

Thanks & Regards,
Durgesh Tripathi.
Vlad
Telerik team
 answered on 29 May 2009
1 answer
496 views

I am trying to place to buttons in the expander header but I want them to be aligned to the right side of the expander header. However, the contents of the header do not take up the entire size of the header, they only take up the minimum space necessary to draw the controls in the header.
Here is what I have:

 

 

 

 

<telerik:RadExpander>

 

 

 

 

<telerik:RadExpander.Header>

 

 

 

 

<Grid Margin="5">

 

 

 

 

<Grid.ColumnDefinitions>

 

 

 

 

<ColumnDefinition Width="5*"/>

 

 

 

 

<ColumnDefinition Width="5*"/>

 

 

 

 

</Grid.ColumnDefinitions>

 

 

 

 

<Button HorizontalAlignment="Left" Content="Click Me" />

 

 

 

 

<Button Grid.Column="1" HorizontalAlignment="Right" Content="Click Me" />

 

 

 

 

</Grid>

 

 

 

 

</telerik:RadExpander.Header>

 

 

 

 

<TextBlock Text="This is a test of the telerik expander control." />

 

 

 

 

</telerik:RadExpander>

 

 

 

 

So I get
\/ Click Me Click Me                                        
This is a test of the telerik expander control

And I want this
\/ Click Me                                         Click Me
This is a test of the telerik expander control


I can get it to work with the following hack but I was hoping this would not be necessary.

 

 

 

<Grid>

 

 

 

<TextBox Margin="30,0,0,0" Height="1" Name="_hiddenWidthControl" />

 

 

 

<telerik:RadExpander IsExpanded="True">

 

 

 

<telerik:RadExpander.Header>

 

 

 

<StackPanel Width="{Binding ElementName=_hiddenWidthControl, Path=ActualWidth}">

 

 

 

<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">

 

 

 

<Button HorizontalAlignment="Right" Content="Click Me" />

 

 

 

<Button Grid.Column="1" HorizontalAlignment="Right" Content="Click Me" />

 

 

 

</StackPanel>

 

 

 

</StackPanel>

 

 

 

</telerik:RadExpander.Header>

 

 

 

<TextBlock Text="This is a test of the telerik expander control." />

 

 

 

</telerik:RadExpander>

 

 

 

</Grid>

 

 

 

Thanks,

Billy Jacobs

Dimitrina
Telerik team
 answered on 29 May 2009
3 answers
243 views
Is there an easy way to return all the times in the treeview in one statement?  I have a treeview that I manually load through code that is 5-6 levels deep with checkboxes.  I then need to go through every item in the Treeview and check if it is checked or not and update the database.  It doesn't matter what order it goes in.  Right now, i am looping through each level then looping through the children and it is very slow.  Is there a more efficient way of looping through all items and getting the checkstate?

 

foreach (RadTreeViewItem item in treeColumns.Items)

 

{

 

DataAccess.ctx.ExecuteCommand("Update WorkFlow Set SortOrder=" + lOrder.ToString() + " Where ItemID='" + new Guid(item.Tag.ToString()) + "'");

 

RecursiveItems(item);

lOrder++;

}

 

private

 

void RecursiveItems(RadTreeViewItem treeitem)

 

{

 

int lOrder = 1;

 

 

foreach (RadTreeViewItem item in treeitem.Items)

 

{

 

DataAccess.ctx.ExecuteCommand("Update WorkFlow Set SortOrder=" + lOrder.ToString() + " Where ItemID='" + new Guid(item.Tag.ToString()) + "'");

 

 

if (item.Items.Count > 0)

 

{

RecursiveItems(item);

}

lOrder++;

}

 

DataAccess.ctx.SubmitChanges();

 

}

Miroslav
Telerik team
 answered on 29 May 2009
1 answer
43 views
Hi,

     i have used "telerik:RadCarousel".
     it will navigate forward or backword using arrow keys automatically.
     but when i press HOME or END key then it is throwing an exception(System.overflowexception).

      i am not even able to handle this error using try... catch.

Please help.

thanks,
Sachin M. Powar
    
Vlad
Telerik team
 answered on 29 May 2009
3 answers
176 views
Hello.

OK, so I'm a designer (don't all run away).  I work in Blend 98% of the time, VS very rarely.  I've downloaded the WPF demo and have been asked to trial it to see if it's worth having, I think the idea is if us designers can work it we'll all be ok.

So, basically, can the Rad Tools for WPF be used directly in Blend or is it a VS job after we've made the UI?  If you can use it directly in Blend, are there any tutorials?

Regards, A.
Kalin Milanov
Telerik team
 answered on 29 May 2009
3 answers
112 views
Hi

Do I need to convert my xml datasource to a collection before binding to the radpanelbar or can I bind direct to an xml file?
If I can bind directly please advise how.

Many thanks.
Dimitrina
Telerik team
 answered on 28 May 2009
2 answers
124 views
I have the following linq code...
var CVDOverviewData = from cvdo in pieData.CVDOverviews  
                                  select new  
                                  {  
                                    OverTwentyfive = cvdo.OverTwentyfive,  
                                    OverTwenty = cvdo.OverTwenty,  
                                    OverFifteen = cvdo.OverFifteen,  
                                    OverTen = cvdo.OverTen,  
                                    LessTen = cvdo.LessTen  
                                  }; 

the result is a sinlge row with a column for each range (over25, over20, over15 ...)

How so I get these values into a pie chart?

Sorry if this is a real newbie question.

Cheers in advance.

Ves
Telerik team
 answered on 28 May 2009
5 answers
130 views
Hi

I am unable to run your demo's online, with IE or with Firefox. So I modified the demo's app config (installed on my machine) to point to Northwind on SQL server 2005, so I can peruse the grid demo's. Putting a trace on SQL server it traces the following TSQL 

SELECT [t0].[EmployeeID], [t0].[LastName], [t0].[FirstName], [t0].[Title], [t0].[TitleOfCourtesy], [t0].[BirthDate], [t0].[HireDate], [t0].[Address], [t0].[City], [t0].[Region], [t0].[PostalCode], [t0].[Country], [t0].[HomePhone], [t0].[Extension], [t0].[Photo], [t0].[Notes], [t0].[ReportsTo]
FROM [dbo].[Employees] AS [t0]

Then the Demo dies, with no stack trace

What can I do (where can I go) to see the features of your grid

P





Hristo
Telerik team
 answered on 28 May 2009
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?