Telerik Forums
UI for WPF Forum
2 answers
101 views
Hi,

as I noticed RadDataPager now supports "Unbound Mode".
This in Fact means that is initially bound to Telerik.Windows.Controls.RadDataPager.UnboundPagerSource

And this broke my app - before I checked if I have to bind via
if(rdpMyPager.Source == null) //needs to bind

But now the Source is never null. A check with
if(rdpMyPager.Source is Telerik.Windows.Controls.RadDataPager.UnboundPagerSource)
also fails - Protection level doesn't allow access.
I also found no property like "IsBound / IsUnbound".

I could (in this case) work around the problems since I know what it is bound to.
But this is not always possible.

So is there a way to check if the pager is bound in a way like i did before with ...Source==null?

Manfred
Rossen Hristov
Telerik team
 answered on 10 Sep 2010
2 answers
214 views
Hello,

I have a RadGridView for which the columns are generated dynamically at run-time.

I need to have the columns be as wide as they need to be for the cell's content but wrap on the column headers so the header text does not define the column width.

I have seen a similar post on these forums but the columns were defined in the Xaml, and the headers contained TextBlock.

In my case, the columns are created during the AutoGeneratingColumn event. As for the headers they are created this way:

private void dg_AutoGeneratingColumn(object sender, GridViewAutoGeneratingColumnEventArgs e)   
{
    e.Column.Header = GetHeaderName(e.Column.UniqueName); 
}

Where GetHeaderName returns a string.
Gilles
Top achievements
Rank 1
 answered on 09 Sep 2010
10 answers
550 views
Hi..
I'm trying to use the Transition Control with the RadPanel.. but I get this error

Specified element is already the logical child of another element. Disconnect it first.

Any ideas what I'm doing wrong?

thanks

 

 

 

<Grid VerticalAlignment="Stretch" Grid.Row="1" Margin="3,10,3,3">

 

 

 

 

 

<telerik:RadTransitionControl x:Name="TransitionControl"

 

 

 

Grid.RowSpan="2" Grid.ColumnSpan="2" Grid.Row="1" Grid.Column="0"

 

 

 

HorizontalAlignment="Stretch" VerticalAlignment="Stretch"

 

 

 

Content="{Binding SelectedItem, ElementName=radPanelBar}"

 

 

 

 

Duration="10">

 

 

 

 

</telerik:RadTransitionControl>

 

 

 

 

 

 

<Border BorderBrush="#000000" BorderThickness="1" Background="#d5d8dc" Margin="0 0 0 0">

 

 

 

 

 

<telerik:RadPanelBar VerticalAlignment="Stretch" x:Name="radPanelBar" telerikControls:StyleManager.Theme="Windows7" ExpandMode="Multiple">

 

 

 

 

<telerik:RadPanelBarItem IsExpanded="True" BorderBrush="#FF000019">

 

 

 

 

 

 

<telerik:RadPanelBarItem.Header>

 

 

 

 

<StackPanel Orientation="Horizontal" Margin="0 ,-3,0,0">

 

 

 

 

<Image Source="/CRM;component/Images/clipboard.png" Margin="0,2,0,0" Height="32" Width="32" />

 

 

 

 

<TextBlock Text="Training Sheet" FontFamily="Verdana" Foreground="Blue" FontSize="14" Margin="5 4 5 5" />

 

 

 

 

</StackPanel>

 

 

 

 

</telerik:RadPanelBarItem.Header>

 

Jon
Top achievements
Rank 1
 answered on 09 Sep 2010
1 answer
181 views
We are using a telerik radgrid and would like to be able to expand - and then load - the details for each row on demand. On the radgridView, we added a ToggleDetailsColum, like this:

        <telerik:RadGridView.Columns>
              <telerik:GridViewToggleRowDetailsColumn />

Then we try to capture the IsExpandedChanged Event on the gridviewRow. I.e. this event:
IsExpandedChanged (Occurs when GridViewRow changes its GridViewRow.IsExpanded state)


But what happens is that everytime we click on the rowdetailsexpander (+), the system throws an exception:
A first chance exception of type 'System.ArgumentException' occurred in Telerik.Windows.Data.dll
And the event never seems to occur.

Is this a bug in 2010.2.812.40?
Veselin Vasilev
Telerik team
 answered on 09 Sep 2010
3 answers
122 views

hi!,

I would like to know if it's possible to show a radWindow Dialog into page (xbap)? also is it possible to show window alert?

thanks

Konstantina
Telerik team
 answered on 09 Sep 2010
2 answers
99 views
i need to set tooltip for radialrange in radialscale ...right now i am doing it by setting property like

 rs.Ranges.Add(New RadialRange With {.Background = Brushes.Blue, .Min = 0, .Max = 200, 
.StartWidth = 0.1, .EndWidth = 0.1, .TooltipFormat = "critical {0:F0}", .Tooltip = "critical"}})
but couldnt get to show tooltip with this..please help me out

Thanks,

Kapil Garg
Kapil
Top achievements
Rank 1
 answered on 09 Sep 2010
3 answers
108 views
Hello,
I want to have TabControl with two TabItems.
First TabItem will contain RadGridView (BROWSE TAB).
Second TabItem will contail UserControl with textboxes for currently selected/added/edited row (DETAIL TAB).
Detail textboxes will be editable only when row is in editable/append state, otherwise will be readonly.
Second TabItem (DETAIL) will contain toolbar with PREV, NEXT, EDIT, DELETE, ADD, COMMIT and CANCEL command, and buttons will be enabled only if needed (no rows - only ADD is enabled etc). Primary way how to change record will be by buttons on detail form ( not keys in the grid).
Result of all operations will be visible in grid (Grid can be read-only if needed). Primary source (ObservableCollection?, CollectionViewSource?) must be controlled by grid too (for example, source must be sorted when header in grid is clicked).

Does exist some example? Or some tip how to integrate RadGridView with this application logic?
Thank you very much.
Maya
Telerik team
 answered on 09 Sep 2010
6 answers
132 views
I'm trying to get a RadDropDownButton's Content to display a DataPager and a GridView. I have both displaying properly, and can bind to the current DataMember just fine. The pager's ItemSource binds find, and displays the proper number of pages.What I cannot do is bind the GridView's ItemSource to the DataPager's PagedSource. I have no way to specify the ItemSource binding on GridView. ElementName does not find it.

They are siblings, on the same level inside the DataTemplate.

Any ideas?
Rossen Hristov
Telerik team
 answered on 09 Sep 2010
3 answers
95 views
The WPF and Silverlight Gauges are pretty in the demos but I must say they are a real pain to get started with.  I have been using various gauge products in my applications for years and I think yours look great and operate great but to use them in your code really is a pain.

With great customizability comes great pain.  

I think you would do your clients a big favor if you provided a Gauge designer.  So that I can via a UI build out the XAML required for my Gauge.  Start out with a high level Linear, Radial..etc and allow me to tweak some (not all) of the properties to make it into a gauge that I want in my application.  Then allow me to cut and past the Gauge XAML into my code or do the paste for me.  I think that would make your tools a million times better.

Another comment, somewhat related.  Your demos have source code behind them so it is possible for a developer to take some of the code modeled in your demo and use it in their app.  However your demo's use custom classes (whilst the code is written very well) it obfuscates what is happening.  Because of this and your extremely limited documentation for WPF/Silverlight there is a great barrier to using your products.  Wizards like the one I explained would help out a lot.  Clearer documentation would also help greatly.  An example of a shortfall in your documentation is this:  I want to databind to a RadGridView but do not want to use AutoCreateColumns.  You have no documentation on it.  To me, AutoCreateColumns is not a real world feature but Custom Columns are.. there is documentation on the prior but not on the latter.  One more note on WPF documentation.  Create basic examples instead of massively complex examples.  For example, do not use Control Templates and Styles in your basic examples (unless you are giving an example of such).  This only confuses a WPF/XAML newbie and can turn them off of using your product.  Maybe in a year it will make sense to elevate past some of the XAML/WPF basics but at this stage of the game I think it is good to show straightforward examples and add on to them in more advanced examples.

Anyway, I have been a Telerik customer for many years (across many of my clients) and I love your products.  I just wanted to provide you some feedback in these areas that I consider deficiencies.

Thanks,
David Sandor

Giuseppe
Telerik team
 answered on 09 Sep 2010
1 answer
154 views
I have enabled cell validation in my gridview and I am using CellValidating events. I also have 2 buttons on my window. If I am inside a cell and click on my buttons it fires the cellvalidating events. Is there a way to not to fire the cellvalidating event when selecting a cancel button.
Milan
Telerik team
 answered on 09 Sep 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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
SplashScreen
Rating
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
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?