Telerik Forums
UI for WPF Forum
1 answer
154 views
How do I remove the yellow background from the selected item?  Below is the current control I am using
<telerik:RadCarousel x:Name="itemCarousel" HorizontalAlignment="Stretch" 
                VerticalAlignment="Stretch" Height="500" Width="834" HorizontalScrollBarVisibility ="Hidden"  Loaded="itemCarousel_Loaded" AutoGenerateDataPresenters="True"
                    <telerik:RadCarousel.Resources> 
                        <Style x:Key="bundlePanel" TargetType="{x:Type telerik:RadCarouselPanel}" > 
                            <EventSetter Event="TopContainerChanged" Handler="panel_TopContainerChanged"/> 
                            <Setter Property="ItemsPerPage" Value="3"/> 
                            <Setter Property="IsOpacityEnabled" Value="False"/> 
                            <Setter Property="PathPadding" Value="0,0,0,100"/> 
                        </Style> 
 
                    </telerik:RadCarousel.Resources> 
                </telerik:RadCarousel> 


Thanks
Milan
Telerik team
 answered on 23 Feb 2010
0 answers
101 views
Hi

 i need to create make my slider dynamic. so i need to change my maximum value for each 5 mins, so am trying to  bind my maximum and minimum value(DateTime) from database. here am facing problem,that i cannot bind the values in minimum,maximum and in the textblock, i cant even call the biniding function here, please tel me how to call and bind my values to the slider

<

 

telerik:RadSlider Minimum="{Binding {StaticResource MinValue}}" Maximum="{Binding {StaticResource MaxValue}}" TickFrequency="1" TickPlacement="BottomRight" IsSnapToTickEnabled="True" Margin="133,175,114,204">

 

 

 

 

 

 

<telerik:RadSlider.TickTemplate>

 

 

 

 

 

 

<DataTemplate>

 

 

 

 

 

 

<StackPanel>

 

 

 

<Ellipse Width="5" Height="5" Fill="Black" HorizontalAlignment="Center"/>

 

 

 

<TextBlock Text="{Binding}" FontSize="10"/>

 

 

 

</StackPanel>

 

 

 

 

 

 

</DataTemplate>

 

 

 

 

 

 

</telerik:RadSlider.TickTemplate>

 

 

 

 

 

 

</telerik:RadSlider>

 

 

dCODE
Top achievements
Rank 1
 asked on 23 Feb 2010
1 answer
84 views
With the new beta, setting the VerticalAlignment and/or HorizontalAlignment to Stretch no longer allows the control to fill inside the parent control.

<Telerik:RadPanelBar Orientation="Horizontal" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" ExpandMode="Single"  > 
                 

Tihomir Petkov
Telerik team
 answered on 22 Feb 2010
1 answer
145 views
I am running 2009.3.1322.35. I have a RadGridView in a StackPanel in a Popup. My problem is that the first time the popup appears the horizontal scrollbar for the RadGridView is either not visible or is visible but does not allow one to scroll and see all of the text. The scrollbar works properly the second time the popup is visible.

 

 

<Popup IsOpen="{Binding Path=ValidSoftwareIsOpen, Mode=OneWay}"

 

 

AllowsTransparency="True"

 

 

PopupAnimation="Slide"

 

 

Placement="Center"

 

 

Width="Auto"

 

 

Height="Auto"

 

 

PlacementTarget="{Binding ElementName=avionicsviewBorder }"

 

 

Name="validSoftware"

 

 

StaysOpen="True"

 

 

>

 

 

 

<Border BorderThickness="5" BorderBrush="Black" Opacity="1" Width="Auto"

 

 

Height="Auto" CornerRadius="5,5,5,5">

 

 

 

<StackPanel Width="Auto" Height="Auto" Background="{DynamicResource popupBackgroundBrush}" Margin="0" Opacity="1">

 

 

 

<Border Style="{DynamicResource propertiesPopupBorder}" Background="{DynamicResource titleBarBrush}">

 

 

 

<Label FontSize="16" Foreground="White" >

 

Valid Software

 

 

</Label>

 

 

 

</Border>

 

 

 

 

<telerik:RadGridView

 

 

Name="ValidSoftwareListView"

 

 

ItemsSource="{Binding Path=AircraftSoftwareValidCollection}"

 

 

CanUserInsertRows="False"

 

 

SnapsToDevicePixels="True"

 

 

HeaderRowStyle="{DynamicResource radGridViewHeaderStyle}"

 

 

AutoGenerateColumns="False"

 

 

IsReadOnly="True"

 

 

Width="300"

 

 

ColumnsWidthMode="Auto"

 

 

telerik:StyleManager.Theme="Office_Black"

 

 

FontSize="12"

 

 

>

 

 

 

<telerik:RadGridView.Columns>

 

 

 

<telerik:GridViewDataColumn Header="Name" UniqueName="SoftwareName" DataMemberBinding="{Binding Path=Name}" Width="Auto"/>

 

 

 

<telerik:GridViewDataColumn Header="CSCI" UniqueName="SoftwareCsci" DataMemberBinding="{Binding Path=Csci}" Width="Auto"/>

 

 

 

<telerik:GridViewDataColumn Header="Current" UniqueName="SoftwareCurrent" DataMemberBinding="{Binding Path=Current}" Width="Auto"/>

 

 

 

<telerik:GridViewDataColumn Header="Replacement" UniqueName="SoftwareReplacement" DataMemberBinding="{Binding Path=Replacement}" Width="Auto"/>

 

 

 

</telerik:RadGridView.Columns>

 

 

 

</telerik:RadGridView>

 

 

 

<Button Template="{DynamicResource GlassButton}" Content="Ok" HorizontalAlignment="Right"

 

 

VerticalAlignment="Center"

 

 

Command="{Binding Path=OkCommand}" Style="{DynamicResource bottomButtonStyle}"/>

 

 

 

</StackPanel>

 

 

 

</Border>

 

 

 

</Popup>

I tried replacing the StackPanel with a grid with no sucess.

Another issue I have is that if my application window is full screen and I have my popup centered in the window and I click on a filter the filter popup does not show all the fields. This is not a problem when the application window is not full screen. 

Donald

 

Rossen Hristov
Telerik team
 answered on 22 Feb 2010
1 answer
395 views
I created some filter rows in the header using a custom HeaderCellStyle.

 

 

How can I write some text in the row indicator column of header rows?
See picture attached.

I want to show the text "or" in front of the second and third filter rows.

Kalin Milanov
Telerik team
 answered on 22 Feb 2010
2 answers
262 views
Hello To Everybody:

How Can I get the index of a row and a colum in the gridview???

Please Help me
Oscar Zapata
Top achievements
Rank 1
 answered on 22 Feb 2010
0 answers
70 views
flood
nimiaj ejoker
Top achievements
Rank 1
 asked on 19 Feb 2010
3 answers
103 views
if I use the ScrollIntoView method at some random point when resetting the ItemsSource I will get a null reference exception.  See attach screen shot.  I am using the latest internal build of q3.  It makes no difference if I use a generic List object or an

ObservableCollection as I've seen suggested to be used in another post.



This is my Code

Document 

 

currentRec = (Document)gvMainWorkQueue.SelectedItem;

 

 

 

 

gvMainWorkQueue.ItemsSource = Progressive.Document.

DataLayer.GetUnprocessedDocuments(userDepartment, userRole);

 

 

 

 

 

 

try

 

{

 

     

if (currentRec != null)

 

     {

         

for (int x = 0; x < gvMainWorkQueue.Items.Count; x++)

 

         {

             

if ((gvMainWorkQueue.Items[x] as Document).DocumentId == currentRec.DocumentId)

 

             {

                gvMainWorkQueue.SelectedItem = gvMainWorkQueue.Items[x];

                 

if (gvMainWorkQueue.SelectedItem != null)

 

                 {

                        gvMainWorkQueue.ScrollIntoView(gvMainWorkQueue.SelectedItem);

                 }

                 

break;

 

 

             }

        }

    }

 

}

 

catch (System.Exception ex)

 

 

{

 

}

 

 

 

Vlad
Telerik team
 answered on 19 Feb 2010
9 answers
113 views
For some reason I am loosing the ability to select rows in a GridView once I create a custom RowStyle (which changes the control template for the row).
What do I do wrong?
Nick Polyak
Top achievements
Rank 1
 answered on 19 Feb 2010
2 answers
71 views
Hi,

I'm adding additional title bar buttons to the RadPane using the example in your documentation.   In order to get events when the buttons are clicked I am using the routed events mechanism as described in the same section. 

This is working well, when a button is pressed the event is fired in the application.      The hard part solved I guess, what I can't seem to figure out is quite how to identify the RadPane control which the button was fired on?

My RadPanes are all dynamically created along with the RadDocking control.

I was looking for events to be fired when a RadPane becomes selected but I couldn't get this to work either.   Any suggestions would be welcomed.

Kind regards
Neil
Neil
Top achievements
Rank 1
 answered on 19 Feb 2010
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?