Telerik Forums
UI for WPF Forum
1 answer
74 views
Book not available in PITS as a WPF control when Sugest new dialog is presented/There is no book or radbook in the Area dropdown list if WPF is selected.
Petar Mladenov
Telerik team
 answered on 05 Jul 2012
1 answer
175 views
What is the correct way to change tab strip placement in ToolWindow?  And how to add icon on ToolWindow?
Thanks.
Masha
Telerik team
 answered on 04 Jul 2012
3 answers
94 views
Hi,
I have the same problem that this thread http://www.telerik.com/community/forums/wpf/gridview/columngroups-do-not-display-when-set-by-code.aspx

How can i get the latest internal build 2011 Q3?

Thanks, for your support
Hristo
Telerik team
 answered on 04 Jul 2012
2 answers
161 views
Hi for all,

I have some problem with FilteringControl and RadGridView. I should implement this behavior: for example, when user press key 'Enter' on RadGridView's selected row I show message for him. But if user press 'Enter' in FilteringControl I should not do anything. Now it is not so (user press 'Enter' in FiletringControl's TextBox and then he will see message"Enter pressed"). I can not get access to events of FilteringControl to write "e.Handled = true;".
<telerik:RadGridView HorizontalAlignment="Left"
                     Name="radGridView"
                     AutoGenerateColumns="False"
                     PreviewKeyDown="radGridView_PreviewKeyDown"
                     VerticalAlignment="Top" Height="311" Width="503" >
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn Header="Name" DataMemberBinding="{Binding Path=Name, Mode=TwoWay}" />
    </telerik:RadGridView.Columns>
</telerik:RadGridView>
private void radGridView_PreviewKeyDown(object sender, KeyEventArgs e)
{
    if (e.Key == Key.Enter)
    {
        MessageBox.Show("Enter pressed");
    }
}
Peter
Top achievements
Rank 1
 answered on 04 Jul 2012
4 answers
330 views
Hi,
I export the RadGridView via the Democode to a RadDocument.
The table in the RadDocument is could be quiet big. 
I want on every page the the TableHeader printed again.
Also i want some basic header and footer (I already could add pagenumber / logo ..)

But i have no chance to make the repeatable TableHeader, and if there are too many columns that it continues on the next page. 

Is this even possible with RadDocument or do I have to use Reporting for this?

kind regards
felix
Iva Toteva
Telerik team
 answered on 04 Jul 2012
1 answer
220 views
Hi,

I need include a custom control (WPF Web Application) at runtime into a RadPane....but....the method item or similar do not exits....

So....can you help me with this issue......??

Thanks....
Romell
Top achievements
Rank 1
 answered on 04 Jul 2012
1 answer
159 views
Hi,

It seems that a bug has slipped into the ToggleChildrenVisibilityRecursively method.
Indeed, this method doesn't take into account the property AreChildrenVisible value of the connection target. So even if a shape is declared as collapsed, when a shape parent is expanded, this child shape is also expanded. Unfortunately, the togglebutton doesn't indicate this state.

Below, a proposed solution :

private void ToggleChildrenVisibilityRecursively(Visibility nextVisibility, IShape shape)
{
    foreach (var connection in this.ParentDiagram.GetOutgoingConnectionsForShape(shape))
    {
        connection.Visibility = nextVisibility;
        if (!shape.Equals(connection.Target) && connection.Target != null)
        {
            connection.Target.Visibility = nextVisibility;
            var l_mindshapeTarget = connection.Target as MindmapShapeBase;
            if (nextVisibility == System.Windows.Visibility.Visible && l_mindshapeTarget != null && !l_mindshapeTarget.AreChildrenVisible)
            {
                continue;
            }
            this.ToggleChildrenVisibilityRecursively(nextVisibility, connection.Target);
        }
    }
}

Keep up the good work
Robert
Zarko
Telerik team
 answered on 04 Jul 2012
1 answer
162 views
Hi!

I'm not sure if it is bug, or I'm doing something wrong.

I have a RadDocument-object. When I try to add a picture in the back und export it to a PDF the property RelativeFrom of VerticalPosition doesn't work as expected when it is set to VerticalRelativeFrom.Page. 



private void Pic2PDF()
{
    var doc = new Telerik.Windows.Documents.Model.RadDocument();
    var stream = new FileStream("C:\\temp\\test.pdf", FileMode.Create);
    var pdfExp = new Telerik.Windows.Documents.FormatProviders.Pdf.PdfFormatProvider();
    var pic = new FileStream("C:\\temp\\picture.jpg", FileMode.Open);
 
    var image = new Telerik.Windows.Documents.Model.FloatingImageBlock(pic, new Size(150, 150), "jpg");
    image.AllowOverlap = true;
    image.WrappingStyle = Telerik.Windows.Documents.Model.WrappingStyle.BehindText;
    image.HorizontalPosition = new Telerik.Windows.Documents.Model.FloatingBlockHorizontalPosition(Telerik.Windows.Documents.Model.FloatingBlocks.HorizontalRelativeFrom.Page, 250);
    image.VerticalPosition = new Telerik.Windows.Documents.Model.FloatingBlockVerticalPosition(Telerik.Windows.Documents.Model.FloatingBlocks.VerticalRelativeFrom.Page, 250);
    // if I uncomment the next line it works
    //image.VerticalPosition.RelativeFrom = Telerik.Windows.Documents.Model.FloatingBlocks.VerticalRelativeFrom.Paragraph;
 
    doc.InsertInline(image);
 
    pdfExp.Export(doc, stream);
 
}
Iva Toteva
Telerik team
 answered on 04 Jul 2012
1 answer
112 views
First, I have to say it's the best book for C# I've seen. Great product. Amazing features. But I have some wishes...and to see if they are valid and if can be done. Are about how the book looks.
1. First and most important i wish there is a shadow on the inside of the flipped page made by the flipped corner. I belive that this shadow should be in diagonal, parallel to the "bended" end of the page and it should move with it (from diagonal to the center of the page).  I attached an example of where and how the shadows would like to be.
2. Light reflexion on the page durring flip (some white at he end of the gradient)?
3. Also, why is there only one, I mean on one side-page, inner shadow once the book is opened? Plus, i wish we could control all these shadows (if they are applied or not) from some hooks/events in the program...
4. A question: is the book using hardware acceleration durring flip?
5. Durring the hard-page flip, text is flickering a lot. Why is that?
Zarko
Telerik team
 answered on 04 Jul 2012
1 answer
83 views
I have found in this post that the positions can be populated from the code-behind. But I'm wondering whether there is a databind solution for this? To make it more friendly for MVVM?
Andrey
Telerik team
 answered on 04 Jul 2012
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
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?