Telerik Forums
UI for WPF Forum
0 answers
79 views
Hi,

i'm quite new to WPF. I have this problem.

I have an image in a pane, an the image automatically changes its size. but i don't want that. i want to enlarge the pane, so you can see the complete image (even if it doesn't fit in the pane, i will use scrool bars for horizontal and vertical ..)..

My code looks like this:

<telerik:RadDocking.DocumentHost>
                <telerik:RadSplitContainer Margin="0" telerik:DockingPanel.InitialSize="8,2">
                <telerik:RadPaneGroup Name="paneGrpDocuments" TabStripPlacement="Top">
                <telerik:RadDocumentPane Header="StartDokument" Name="Start">
                            <Image HorizontalAlignment="Left" VerticalAlignment="Top"  RenderOptions.EdgeMode="Aliased" Source= "/Images/StartImage_stretched2.png"></Image>
                </telerik:RadDocumentPane>
                        <telerik:RadDocumentPane Header="Doc 1" Name="doc1" />
                        <telerik:RadDocumentPane Header="Doc 2" Name="doc2" />
                </telerik:RadPaneGroup>
        </telerik:RadSplitContainer>
        </telerik:RadDocking.DocumentHost>
Tobias
Top achievements
Rank 1
 asked on 19 Apr 2012
0 answers
83 views
Hi,

i know you can double click the ScheduleView and show the add/edit appointment dialog!
How can i save all the Values in this dialog? 

Recurrence pattern:
- Daily, Weekly, Monthly, Yearly, Revur every ...

Range of recurrence:
No end date, End after, .....

On AppointmentEdited i just get the body, Subject, Start, End,...

Appointment appointment_obj = e.Appointment as Appointment;
string body_s = appointment_obj.body;

Thanks a lot
Rene
ITA
Top achievements
Rank 1
 asked on 19 Apr 2012
1 answer
57 views
Hi,

I have a calendar showing 3 months:
JAN - FEB - MARCH

if I click a date in March the calendar changes and displays March as the first month..
My calendar now look like this
MARCH - APRIL - MAY

I guess this is caused by the fix in 2012.1 SP1 ("When the SelectedDate changes through code the DisplayDate is not updated")
Any changes to SelectedDate will now update DisplayDate...

I would like the calendar to behave as it did prior to this fix -> clicking a date should not update DisplayDate
(if user wants to navigate back and forth he can do so using the left/right arrows on the top of the calendar)
I want the 3 displayed months to be JAN-FEB-MAR

How can I achieve this?
Ivo
Telerik team
 answered on 19 Apr 2012
1 answer
64 views
I have a RadDropDownButton containing several controls. One of the controls is a RadRating button. When I click the RadRating button, the RadDropDownButton closes. This is the only control in the RadDropDownButton that exhibits this behavior and I am able to use the Rating control from the Toolkit with no issues, but would prefer to use the RadRating control.

Thanks, Paul
Viktor Tsvetkov
Telerik team
 answered on 19 Apr 2012
1 answer
186 views
When bitmap image is displayed in WPF it may look blurry. This may happen because WPF can use fractional values of width\height or position. Some vendors provide workarounds for this problem:

PixelSnapper from DevExpress
PixelSnapper from Actipro

Does Telerik has similar component? If yes then how is it named?
Vlad
Telerik team
 answered on 19 Apr 2012
1 answer
120 views
Is there any way to make the enter key work like tab for masked input?  Our users are used to a 10-key entry so letting them hit enter to save and navigate to the next textbox on the control would be great.

Petar Mladenov
Telerik team
 answered on 19 Apr 2012
4 answers
136 views
Hi,

My RadGridView correctly calculates the column widths, but (and this could just be because of my computer speed) there is a quarter-second lapse where the RGV is displayed with the columns all bunched up. It's cosmetic, but I'm hoping to get rid of that. I'm assuming the lapse is while the RGV calculates the column widths thus unavoidable, so is there a way to hide the view until it is done?

Thanks
Peter
Top achievements
Rank 1
 answered on 19 Apr 2012
2 answers
304 views
I have used the winForms gridview and it has a property called mastergridviewtemplate.autosizecolumnsmode. By setting this to Fill it will stretch the column widths so they fill the width of the gridview. As you make the gridview width smaller the column widths gets smaller. 

I am just starting to use the WPF gridview and was wondering if there is anything similar to this in the WPF version.

Dev
Top achievements
Rank 1
 answered on 18 Apr 2012
35 answers
1.0K+ views
Hello!

I am having some problems with the GridViewComboBoxColumn that is databound. In the grid I am displaying postal codes. And each postal code belongs to a country. The country column is a GridViewComboboxCOlumn (Item source is a list of countries from the DB - Linq2SQL). Now I have 2 problems.
The fist is that the column Country is empty until I start scrolling (am I missing something?).

The second is that the scrolling is very slow. If I don't use the combobox the grid is fast again.Is there any way to make it faster?

I would also like to filter this column, but it only offers me ContryID's.  But if you use Contry.Name as DataMemberBinding, the Grid
updates all the Countries with the same name..


XAML:
<Window x:Class="WPF_LinQ.Forms.Glavno" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Title="Glavno" Height="800" Width="600" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" 
    xmlns:System="clr-namespace:System;assembly=mscorlib" 
        > 
    <Grid> 
        <telerik:RadGridView Margin="5" Name="radGridView1" AutoGenerateColumns="False" CanUserReorderColumns="False" ColumnsWidthMode="Fill"
            <telerik:RadGridView.Columns> 
                <telerik:GridViewDataColumn HeaderText="Code" UniqueName="ID" /> 
                <telerik:GridViewDataColumn HeaderText="City" UniqueName="Name" /> 
                <telerik:GridViewComboBoxColumn  
                    ItemsSource="{Binding}"  
                    DataMemberBinding="{Binding Path=CountryID}"   
                    DisplayMemberPath="Name"  
                    SelectedValueMemberPath="ID"  
                    HeaderText="Country"  
                    UniqueName="CountryID" />             
            </telerik:RadGridView.Columns> 
        </telerik:RadGridView> 
    </Grid> 
</Window> 
 

CS:
 public partial class Glavno : Window 
    { 
        private DB.TMSDataContext m_DC; 
        public Glavno() 
        { 
            InitializeComponent(); 
            Init();  
        } 
      
 
        public void Init() 
        { 
            m_DC = new DB.TMSDataContext(); 
            radGridView1.Columns[2].DataContext = m_DC.Countries; 
            radGridView1.ItemsSource = m_DC.PostalCodes.OrderBy(e=>e.Name); 
            //radGridView1.Columns[3].DataContext = m_DC.PostalCodes.OrderBy(p => p.Name).ToArray(); 
            //radGridView1.Columns[2].DataContext = GetCountries(); 
                            
        } 
    } 


Thanks!

p.s. Yes I have looked at the demos example and it didn't help :-/
Pavel Pavlov
Telerik team
 answered on 18 Apr 2012
1 answer
77 views
Hi,
we want to buy the new version of telerik controls because we are interested in RichTextEditor and PdfViewer for WPF.
We have some question before decide:
Is it possible to :
- convert review of text selection in highlight text when the document is converted in pdf?
- decide witch part of document is editable? We need to define some read only region in document.
- insert existing document as attachment of principal document? We need to embed other pdf documents. We know that in pdf is possible and we have do with iTextSharp. If is not allowed, is it possible to insert custom xaml tag to intercept the pdf generation and manage with our procedure?

Thanks
Iva Toteva
Telerik team
 answered on 18 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?