Telerik Forums
UI for WPF Forum
9 answers
306 views
Hi,

I tried to solve a (I guess) very common task today - and checked the help for this.
I found - almost nothing :(

I compare this to my "Telerik Gateway Drug" .ASP.NET Controls :(
Looking at the ASP.NET Grid there I find "Functional Overview" - "Getting Started" and so on.
With WPF I find -- a number of "overview topics" - nothing more.

Back to my task - I have a grid which shall display 3 Columns of data.
Lets say - ProductName, Price, Tax
Since Price and Tax would no become very large I fix there width to 100.
What I tried to approach was to set the width of the name column to be "Stretching".
First approach Width="*" -- fails with an exception.
So I decided to leave out the Width attribute.

Since the Documentation gave me no information I tried it with the samples.
By luck I found that there is a property called CollumnsWidthMode.
Anyhow - whatever I set it gave me "strange" results.

How can I do what I want - First Column "filling" the widht of the grid, the other 2 columns with a fixed width?

I'm a customer over years.
More and more it looks as if you build functionality after functionality - and stop documenting the things.
You build great examples - and if (by luck) one fills the needs we have a good starting point for a solution.
If not - bad luck :(
And - it is extremely time consuming to browse numbers of sample files just to pick up a snippet there and an other snippet somewhere else.

My idea -- you (your developer team) started up with "beeing new" - and therefore you also knew how hard it is to solve problems.
And you documented it - making it very easy for your customers to use the controls.

Now you have a lot of expiriences - and have no problems to solve even complex tasks. And by this you forgot that your customer (at least a lot of them) do not have your skill and get stuck with this minmalistic documentation.

I did the work and counted the entries about a comming task (for me) -- hirarchical data binding.
In ASP Grid I find 12 Topis about this and EXTRA 8 "how to" Topics.

In WPF Grid I find exactly ONE entry about this - containin a extreme simple solution.
The so called documentation about this topic has less than 20 Lines of explanation.

I had the same problems with Gauge in Silverlight (where the documentation is completely missing).
And by this I learned an other thing about your new products -- they became extremely complex in the last years.
Of course they do much more and are therefore more complex -- BUT a competitor of you showed me that it does not have to be like this.

They also have a gauge - and they provide a PDF file "Getting Started" -- and with two lines of XAML you get a working Gauge.
It's simple, It's proper documented -- and it also allows complex scenarios and great looking results.

From another competitor I downloaded a free (not trial - really free) Grid Control.
It also provides very good help -- and with it I could solve my "Grid Problem" in about 10 Minutes.

CONCLUSION:
Why do I buy a control suite?
-My work is to solve customers problems, to design an write software.
-With I control suite I expect to save a lot of time.
What WAS my relation with Telerik?
I found you years ago on the web. I gave your navigation suite (for ASP) a try and learned three things:
a.) Great functionality and intuitive use
b.) Very good support - the reaction time was great - and all my problems got solved.
c.) Your controls did what the "orginals" (MS included) controls did - but better, easier and more stable.
What IS my current situation?
I get a bunch of new controls.
From release to release there is more functionality.
The documentation becomes worser with every new product (feature).
Take it and use it is over - there is (almost) no "out of the box" functionality.
Problems do not get solved over months.
---Example WinForms Tab Control.
----The MS Control begins to scroll if I add more elements than displayable.
----Your control does not scroll at designtime -- it is almost impossible to build a solution with a "buch of tabs"
----This problem is known -- and there was a promise "....will fix this with the next release...."
----Not fixed till today!!!!

In a view words:
I tried to solve a common task with your grid.
I could not find anything in the documentation.
Even to give the grid "a bit of the wanted look" took me hours browsing your samples.
--Taking a free grid made me solve the problem in about 10 Minutes.

You remember: I (and I guess most of your customers) buy a control suite to develope FASTER and to be able to concentrate on "my part of the job".

Regards

Manfred
PS: please excuse my english - I'm from Austria :)
Hristo Deshev
Telerik team
 answered on 23 Dec 2008
3 answers
155 views
Hello,

I am wondering if the following scenario is possible and how I would implement it.  Basically what I want to do is bind the list of items in a GridViewComboBoxEditor to a property of the data record for that row.

I have an object model that looks similar to this:

public class SomeObject
{ 
    public Field SelectedField { get; set; }
    public string SelectedString { get; set; }
} 
 
public class Field
{ 
    public string[] ListOfAllowedItems; 
} 

I have a grid that displays a list of SomeObject items, each of which contains a Field.  Depending on the Field the user selected, the list of items in another column needs to change according to a list defined on the Field object.

Any help would be greatly appreciated.

Thanks,
Joel
Hristo Deshev
Telerik team
 answered on 23 Dec 2008
4 answers
138 views
Hi..
Does the Carousel support displaying and data binding of multiple tables , lIke a Customer and Products relationship?

I can bind a DataTable to the Carousel but how do I Bind at DataSet and the individual tables ?
My radCarousel doesn't have a DataMember property..?  What am I missing?  Thanks again for your help!

 

Jon
Top achievements
Rank 1
 answered on 22 Dec 2008
5 answers
140 views
My understanding is that what is available in RadControls for Silverlight should be also available in RadControls for WPF. Is it correct?
Valentin.Stoychev
Telerik team
 answered on 20 Dec 2008
3 answers
227 views
How do you modify the path at design-time in visual studio?
thanks
Rosi
Telerik team
 answered on 19 Dec 2008
2 answers
153 views
Hi..
How do I return my row values from the DataRecord object ?    Thanks Again!!

I'm using a converter class - as you suggested to conditionally format data...

public

 

object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)

 

{

 

 

// If the Lastname field in my datarow  begins with "A" - then display an A ICON......      


 

 

 

if (((Telerik.Windows.Data.DataRecord)value).Data.ToString()=="A")

 

{

 

return "A.jpg";

 

}

 

return String.Format("{0}.jpg", ((Telerik.Windows.Data.DataRecord)value).Data);

 

}

Rosi
Telerik team
 answered on 19 Dec 2008
8 answers
363 views
How i can select row in RadGridView in SelectionChanged event (i want to cancel selection)? I set SelectedItem and CurrentItem, but grid not display that this item is selected.

May be i can make necessary inspections before call SelectionChanged (but i can find method, which call before)?

Could you help me?!


Rosi
Telerik team
 answered on 18 Dec 2008
2 answers
143 views
Hi..
How can I add conditional formatting to the stackpanel in the Carousel Panel?

For Example if the Person's Lastname starts with 'A'  - I'd like to show an a graphic.... 'A.jpg'
If Lastname starts with 'B" - 'B.jpg'... thanks in advance


 

 

<StackPanel Grid.Row="0" Orientation="Horizontal" VerticalAlignment="Center" >

 

 

 

<Label Content="{Binding Path=Data.FirstName}" Foreground="#ff8FB3FF" FontSize="12" />

 

 

 

<Label Content="{Binding Path=Data.LastName}" Foreground="#ff8FB3FF" FontSize="12" />

 

 

 

</StackPanel>

 

 

Jon
Top achievements
Rank 1
 answered on 18 Dec 2008
1 answer
196 views
Hi,

using GridView I noticed a strange behavior.
As a coder I work most of the time in XAML Source.
By the way - also if I make these changes through the Property Pane it get the same result.

No I define a GridViewColumn like this:

<

 

telerik:GridViewDataColumn Width="40" HeaderText="Level" UniqueName="Level" DataType="{x:Null}" />

 

When I change the HeaderText nothing happens in Designer View.
After a rebuild I see what I have changed.

Using the builtin Controls (WPF controls) every change is reflected at the very moment.
This is very handy when it comes to "does it still fit" things.
For an example I think "Level of the Member" would be a good idea for the HeaderText.
I type it in - and there is still the old text "Level".
So before I can switch to the next column I have to run a build to see the changes in designer.
I find out -- that "Level ot the Member" is to much - I try "Memberlevel" - and again run a build...

Is this behaviour by desing, or is it some kind of a bug?

Manfred
Rosi
Telerik team
 answered on 18 Dec 2008
2 answers
111 views
I don't want the reordering of columns in my grid, how can I achieve this?
akjoshi
Top achievements
Rank 1
 answered on 18 Dec 2008
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
InlineAIAssistant
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?