Telerik Forums
UI for WPF Forum
7 answers
348 views
Hi.. again...
How do I enable AutoComplete on an ItemTemplate.... for example I want to enable autocomplete in the demos
on DealerCombox..   you have AutoComplete working on the  other samples.... Models, Country....
thanks again!!!!!!!!!!!!!!!!!!!!!
Mariusz
Top achievements
Rank 1
 answered on 26 Jul 2012
1 answer
97 views
Hello,

i have the following szenario:

On the left side of the screen I have a list of Employees. On the right side is a GridView with a variable number of rows (lets say 10 to 100).

When I select an employee in the list, the GridView shows employee specific data in the GridView. When I select a different employee the following happens:
  1. The ItemsSource list of the GridView is cleared
  2. The ItemsSource list is filled with new data specific to the now selected employee

The problem: To switch from one employee to another takes to long time because the creation of the GridRows etc. takes to long. With long I mean for 50 Rows about 500ms on an high end machine.

My assumption is when 1. happens all GridRow instances are destroyed and recreated again in 2.

So here are my questions:

1. Is my assumption correct?
2. If assumption not correct: what else could be the problem?
3. If assumption correct: do you have a suggestion, how i could solve that issue? Is there an easy way to prevent the GridRow instances from disposure? An easy way to cache that instances?

Thanks for your help,

Eugen

Eugen Wiens
Top achievements
Rank 1
 answered on 26 Jul 2012
1 answer
217 views
Hi,
I have been given a task to implement font resizing in the grid and scale the grid correctly as font resizes. I've played with this for a while but could not get the grid to do this for me, so I ended up implementing a temporary hack to get around (only until I figure out a better way to do this).  Basically what I am trying to do is provide a slider for user to adjust a font of the data in the grid. As user changes the font size, the data in the grid is adjusted. What I am noticing (default behavior) is that if I increase the font size, the text is increased and grid scales the cells correctly (expanding them), but if I decrease the font size, the text is decreased but the cells stay as they were. I am attaching an example that works as follows: when you run it, you should see a grid with some data. Move mouse over the area with 5 dots below the grid and the options area will pop up. The options area has only a single option - font size. Moving that slider to increase the font and then to decrease it will demonstrate the problem (I guess it may not be a problem for others but it is for me).  You can use the toggle button at the top (Display Fixed) to demonstrate how I would like the grid to behave - just press the button and then use the same font size option to increase and then decrease font. What I am looking for a way to resize grid columns to fit the text. The solution I implemented is not very efficient or reusable and is tied to the bound data (I figure out the size of each column differently based on the bound data). 

Thanks for the help

PS. Apparently I cannot attach zip files, so here is a link to the project (zipped up) that demonstrates the problem - gridresizeproblem.zip
Vlad
Telerik team
 answered on 26 Jul 2012
2 answers
118 views
Hello,

If I have 3 restored tiles and then Maximise one of the tiles, the Maximised tile takes the combined height of the remaining two Minimised tiles which go to the right of my screen. Ideally I want to specify the height of the Maximised tile myself and then the Minimised tiles just scroll on the right hand side and do not dictate the height of the Maximised tile.

How is this achieved?

Thanks,

Alex
Zarko
Telerik team
 answered on 26 Jul 2012
1 answer
91 views
Hello,

I have the following szenario:

A hierarchical GridView, which has a couple of rows with children. The most rows have no children, but could get some at runtime.
Each row of the GridView is showing the + sign, even when the children count is zero. So here is my question:

Is it possible to hide/show the + sign depending on the children count of the top hierarchy level?

If yes, how can achieve that?

Thanks for help,

Eugen
Vlad
Telerik team
 answered on 26 Jul 2012
0 answers
85 views
Hi,

There is a way to convert the format of a column to a hyperlink?

Thanks....
Romell
Top achievements
Rank 1
 asked on 25 Jul 2012
0 answers
77 views
hi,

i want to implement grid management feature using RadGridView  in wpf using mvvm and c#. here i wanted to show an edit button (like we show in radgrid in aspx page ) but did not find any way to display the edit button .according to the requirement first we have to display the edit button on the grid.
when a user clicks on the edit button then at the  bottom only the fields which are to be edited(not all the columns are editable) should be displayed in the bottom of the window. we have impmented the same in aspx by using (GridEditableItem editItem = (GridEditableItem)e.Item;) the same want to implement in wpf how to achive this. 
thanks in advance. 
regards
satish
Satish
Top achievements
Rank 1
 asked on 25 Jul 2012
2 answers
197 views
I am trying to used an attached behavior on my RadDocking control to hook into a RadPane drag event. I am having a hard time getting the Drag Event to be fired when the pane is floating and being dragged. Is this functionality possible?

Here is my behavior that is not working:

public class PaneDragBehavior : Behavior<RadPane>
    {
        protected override void OnAttached()
        {
 
            AssociatedObject.PreviewDragEnter += (o, e) =>
                {
                    //do something
                };
         }
    }

<telerik:RadDocking AllowUnsafeMode="True" Name="RadDocking" Close="RadDockingClose" PaneStateChange="RadDocking_PaneStateChange" telerik:AnimationManager.AnimationSelector="{x:Null}" telerik:AnimationManager.IsAnimationEnabled="False">
        <telerik:RadDocking.DocumentHost>
            <telerik:RadSplitContainer Name="EncounterDetailsSplitContainer">
                <telerik:RadPaneGroup Name="EncounterDetailsPaneGroup">
                    <telerik:RadPaneGroup.Items>
                        <telerik:RadPane Header="Patient Claim"  CanUserClose="False" ContextMenuTemplate="{x:Null}" Name="PatientClaimPane" telerik:RadDocking.SerializationTag="PatientClaimPane" >
                            <telerik:RadPane.Content>
                                <Views:PatientClaimView x:Name="PatientClaimView"/>
                            </telerik:RadPane.Content>
                            <i:Interaction.Behaviors>
                                <behaviors:PaneDragBehavior />
                            </i:Interaction.Behaviors>
                        </telerik:RadPane>
                        <telerik:RadPane Header="Billing Activity" CanUserClose="False" ContextMenuTemplate="{x:Null}" Name="BillingActivityPane" telerik:RadDocking.SerializationTag="BillingActivityPane">
                            <Views:BillingActivityView x:Name="BillingActivityView"/>
                        </telerik:RadPane>
                        <telerik:RadPane Header="Provider Detail" CanUserClose="False" ContextMenuTemplate="{x:Null}" Name="ProviderDetailPane" telerik:RadDocking.SerializationTag="ProviderDetailPane">
                            <Views:ProviderDetailsView x:Name="ProviderDetailView" />
                        </telerik:RadPane>
                        <telerik:RadPane Header="Comments" CanUserClose="False" ContextMenuTemplate="{x:Null}" Name="CommentsPane" telerik:RadDocking.SerializationTag="CommentsPane">
                            <Views:CommentsView x:Name="CommentsView"/>
                        </telerik:RadPane>
                        <telerik:RadDocumentPane Header="Document Images" CanUserClose="False" ContextMenuTemplate="{x:Null}" Name="DocumentImagePane" telerik:RadDocking.SerializationTag="DocumentImagePane">
                            <Views:DocumentImageView x:Name="DocumentImageView" />
                        </telerik:RadDocumentPane>
                    </telerik:RadPaneGroup.Items>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
        </telerik:RadDocking.DocumentHost>
         
    </telerik:RadDocking>

Thanks.
aborg
Top achievements
Rank 1
 answered on 25 Jul 2012
2 answers
147 views
Hy,

Is there any solution for to handle a Double Click Event on a single Task Item?

Greetings

Alfred
SPARE GmbH
Top achievements
Rank 2
 answered on 25 Jul 2012
2 answers
129 views
Hy,

Is it Possible to Hide the Task Dependency? Or do i have to write my Custom List?

Kind Regards

Alfred
SPARE GmbH
Top achievements
Rank 2
 answered on 25 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?