Telerik Forums
UI for WPF Forum
0 answers
118 views
hi,
          i want to create two columns and three rows in wpf datagridview.

first column should be label(namings  are name,standard,save).

second column in first row textbox,
"                 "      in second row combobox.
"                  "     in third row Button.

all are in table format.

how to create it.



any one help me pls pls urgent.
sivakanth
Top achievements
Rank 1
 asked on 01 Dec 2010
5 answers
274 views
Hi,

I'm pretty new in WPF and Telerik RadScheduleView.

When I try to get RadScheduleView XAML for customization in Expressiion Blend via  Edit Template -> Edit Copy command I get a error

"Child with name 'HeaderColumn' not found in VisualTree"

It seems the issue is here

<ControlTemplate.Triggers>
            <Trigger Property="EffectiveOrientation" Value="Vertical">
                <Setter Property="ColumnDefinition.Width" TargetName="HeaderColumn" Value="Auto"/>
          ...

The same error appears at run-time when I try to set template to a control.

Thanks,
Anatoly
Pana
Telerik team
 answered on 01 Dec 2010
1 answer
138 views
Hello,

In the DayViewDefinition I'd like to add a layer that contains a single line starting from the ruler that follows the current time.
How would I add such a layer?

Thanks
Pana
Telerik team
 answered on 01 Dec 2010
1 answer
55 views
Hi,

I have created one RadGridView and I am looking for the functionality for floating help control. Whenever a user rolls over the mouse in the column header of a Radgridview this floating help control will popup with some pre-defined description about that header. As soon as mouse pointer is no more in the header, this floating control will disappear. Any other suggestions to implement this are most welcome. I am using WPF for my application.

Thanks,
Mark
Vlad
Telerik team
 answered on 01 Dec 2010
1 answer
61 views
I'm so trying to understand why there is 2 setup types of WPF 35 and 40?
I installed 35 and now while i try to install 40 it says its installed.

Can you mention the differences and what to install?
Milan
Telerik team
 answered on 01 Dec 2010
3 answers
42 views
Hi,

We are looking at your calculated columns to allow users to define a custom calculation on a grid. ie " x column * Y column + 45 " where a user cna change any part of the calculation.

Is there an editor supplied to allow a user to change the calculation implemented? Your WPF grid control is much better than the competitions but we really need the "unbound expression editor" functionality you see elsewhere.

Can you help point us at a solution you provide for this at all?
Vlad
Telerik team
 answered on 01 Dec 2010
0 answers
117 views
I have  a wpf RichTextBox . I want to insert a hyperlink in the richtextbox.I want that hyperlink to trigger only on a click. ( NOT ON CLICK WITH CONTROL KEY HOLDING )
I also tried with mouseleftbuttondown event, But it didnot work. I got  error message like - mouseleftbuttondown event handler cannot take Uri.

<RichTextBox Margin="22,38,108,124" Name="richTextBox1" IsDocumentEnabled="True" >
            <FlowDocument>
                <Paragraph>
                    <Bold>Hi</Bold> Welcome to Semanticspace
                    <Hyperlink NavigateUri="http://www.semanticspace.com" RequestNavigate="Hyperlink_RequestNavigate" >Semanticspace
                    </Hyperlink>
                </Paragraph>
            </FlowDocument>
        </RichTextBox>

private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e)
        {
            System.Diagnostics.Process.Start("IExplore.exe", e.Uri.ToString());
        }

        {
            System.Diagnostics.Process.Start("IExplore.exe", e.Uri.ToString());
        }
private void Hyperlink_RequestNavigate(object sender, 
Asish
Top achievements
Rank 1
 asked on 01 Dec 2010
1 answer
71 views
Is it possible to wrap items in the PanelBar control? We have the following scenario. We want to display three (or more) items on a single line, instead of just one, as is the default. In other words we want to stack the items horizontally. Is this possible?
Petar Mladenov
Telerik team
 answered on 30 Nov 2010
2 answers
75 views
As of the new Q3 release, one of my grids is virtually unusable because of a style change.  I have a grid that has CanUserSelect set to false and IsReadOnly set to true--that way, a user cannot interact with the grid--and it's been perfect.  However, in Q3, setting CanUserSelect to false now causes the grid to turn grey and go to a gradient 50% opacity (that's my guess).  In any case, my user can barely see the grid now!

Why would you make this change?  And if the change was necessary, what can I set to undo it?
Roger
Top achievements
Rank 1
 answered on 30 Nov 2010
1 answer
105 views
Hi!

I´m trying to bind a collection of custom objects to a RadTreeListView. The object represents a `User`, who have a collection of different  rights and a collection of log entries.

How can i define the section "Rights/Log Entries" within a HierarchicalDataTemplate? I´ve tried it based on your tutorial on binding collections.

My Version of Telrik WPF is the current public release.

The structure i would like to achieve should look like this:

User 1
  Rights
     Right 1
     Right 2
   Log Entries
      Entry 1
      Entry 2
User 2
   Rights
      Right 1
   Log Entries
...

public sealed class User
{
    public string Firstname
    {
        get;
        set;
    }
 
    public string Lastname
    {
        get;
        set;
    }
 
    public ObservableCollection<Right> Rights
    {
        get;
        set;
    }
 
    public ObservableCollection<LogEntry> LogEntries
    {
        get;
        set;
    }
 
    public User(string firstname, string lastname)
    {
        this.Firstname = firstname;
        this.Lastname = lastname;
        this.Rights = new ObservableCollection<Right>();
        this.LogEntries = new ObservableCollection<LogEntry>();
    }
}
 
 
public sealed class RightsCollection
{
    public RightsCollection()
    {
        this.Name = "Rights";
        this.Rights = new ObservableCollection<Right>();
    }
     
    public string Name
    {
        get;
        set;
    }
     
    public ObservableCollection<Right> Rights
    {
        get;
        set;
    }
}
 
public sealed class Right
{
    public string Name
    {
        get;
        set;
    }
 
    public string Description
    {
        get;
        set;
    }
 
    public bool Value
    {
        get;
        set;
    }
 
    public Right(string name)
    {
        this.Name = name;
        this.Description = String.Empty;
        this.Value = true;
    }
 
    public Right(string name, string description)
        : this(name)
    {
        this.Description = description;
    }
 
    public Right(string name, string description, bool value)
        : this(name, description)
    {
        this.Value = value;
    }
}

XAML:

<UserControl.Resources>
    <local:Users x:Key="UserCollection" />      
     
    <HierarchicalDataTemplate x:Key="Right">
        <TextBlock Text="{Binding Name}" />           
    </HierarchicalDataTemplate>     
 
    <HierarchicalDataTemplate
        x:Key="Rights"
        ItemTemplate="{StaticResource Right}"
        ItemsSource="{Binding Rights}">
                     
        <TextBlock Text="{Binding Name}" />       
    </HierarchicalDataTemplate>
 
    <HierarchicalDataTemplate
        x:Key="Users"
        ItemTemplate="{StaticResource Rights}"
        ItemsSource="{Binding Rights}">
         
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="{Binding Lastname}" />
            <TextBlock Text=", " />
            <TextBlock Text="{Binding Firstname}" />
        </StackPanel>
    </HierarchicalDataTemplate>
     
</UserControl.Resources>
 
<telerik:RadTreeView
    IsLineEnabled="True"
    ItemsSource="{Binding Source={StaticResource UserCollection}}"
    ItemTemplate="{StaticResource Users}" />
Petar Mladenov
Telerik team
 answered on 30 Nov 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
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?