Telerik Forums
UI for WPF Forum
4 answers
406 views
Hi,

I am using RadGridView in my application. I have 4 GridViewDataColumns in my grid. I want one of column  to hide ,So i set that column to IsVisible=false.

On Grid SelectionChanged event when i got the perticular GridViewRowItem., this row contain only 3 Columns (It does not contain the hidden column).

 So can you Please help to get the hidden Column Value.


Thanks & Regards,
Anita.
Vlad
Telerik team
 answered on 08 Apr 2011
7 answers
239 views
Hello Telerik ,
                                    I have two clarification in Telerik controls.
First one is,I want to set Telerik themes into my all UI controls including my standard TextBox. I am using in code behind 

StyleManager

 

 

.ApplicationTheme = new TransparentTheme();

 

it was working fine for all telerik controls..But the themes not applying for my standard TxtBox.I have many TextBox in My User interface.I want to set the same theme globally.How is possible?  give me more details....

Second one is, in my one UI contains Four Controls and one radGridView.The control tabindexes are 1 to 4 respectively.
also radgridview tabindex is 5. Here my problem is when using tab its goes correctly first four only.then its goes radgrid not radgrid first row.i want here tab goes radgridView first row.after if i again press tab it will go to second row.
How to set it? if u give sample it will more helpful for me....
 
                      <Label Content="Company" Height="24" Margin="6,12,0,0" Name="label1" VerticalAlignment="Top" FontSize="11" HorizontalAlignment="Left" Width="98" />
                <telerik:RadComboBox Margin="115,12,29,0" Text="{Binding Path=CompanyName,Mode=TwoWay,UpdateSourceTrigger=LostFocus, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" Name="rcboCompany" VerticalAlignment="Top" Height="24" FontSize="11" TabIndex="1" LostFocus="rcboCompany_LostFocus" />
                <Label Content="Ledger Code Number" Height="24" Margin="9,12,0,0" Name="label2" VerticalAlignment="Top" FontSize="11" Grid.Column="1" HorizontalAlignment="Left" Width="122" />
                <TextBox Height="24" Text="{Binding Path=LedgerCodeNumber,Mode=TwoWay,UpdateSourceTrigger=LostFocus, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" Margin="129,12,96,0" Name="txtLedgerCodeNumber" VerticalAlignment="Top" TabIndex="2" FontSize="11" Grid.Column="1" MaxLength="5" />
                <Label Content="Ledger Name" Height="24" Margin="6,48,0,0" Name="label3" VerticalAlignment="Top" FontSize="11" HorizontalAlignment="Left" Width="98" />
                <TextBox Height="24" Margin="115,48,29,0" Name="txtLedgerName" Text="{Binding Path=LedgerName,Mode=TwoWay,UpdateSourceTrigger=LostFocus, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" VerticalAlignment="Top" TabIndex="3" MaxLength="100" FontSize="11" />
                <Label Content="Group Name" Height="24" Margin="9,46,0,0" Name="label4" VerticalAlignment="Top" FontSize="11" Grid.Column="1" HorizontalAlignment="Left" Width="113" />
                <telerik:RadComboBox Margin="129,48,15,0" Text="{Binding Path=GroupName,Mode=TwoWay,UpdateSourceTrigger=LostFocus, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" Name="rcboGroup" VerticalAlignment="Top" Height="24" FontSize="11" IsEditable="True" TabIndex="4" Grid.Column="1"/>
  
<telerik:RadGridView Margin="12,163,21,22" Name="rgrdLedgerView" AutoGenerateColumns="False" CanUserFreezeColumns="False" CanUserReorderColumns="False" CanUserResizeColumns="False" CanUserSortColumns="False" ShowGroupPanel="False" MouseDoubleClick="rgrdLedgerView_MouseDoubleClick" RowDetailsVisibilityMode="Visible" IsReadOnly="True" IsFilteringAllowed="False" TabIndex="5" IsSynchronizedWithCurrentItem="False">
            <telerik:RadGridView.Columns>
             
                <telerik:GridViewDataColumn DataMemberBinding="{Binding CompanyName}" Header="Company Name" Width="130"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding LedgerCodeNumber}" Header="Ledger Code Number" Width="100"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding LedgerName}" Header="Ledger Name" Width="140"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding GroupName}" Header="Group Name" Width="130"/>

</telerik:RadGridView.Columns>
</telerik:RadGridView>
Thank you,,,
sundhar
Top achievements
Rank 1
 answered on 08 Apr 2011
2 answers
209 views

Hi Telerik Team,
          Currently I've installed RadControls_for_WPF35_2011_1_0315_Dev.msi (Version : 2011.1.315.35) and I'm not able to use the following lines in my design, it shows error in design itself.

 

<telerik:RadTileView x:Name="tileEmployer" MinimizedItemsPosition="Right" MinimizedColumnWidth="300" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" >

 

<telerik:RadTileViewItem Header="Employer" TileState="Maximized" >

 

<Grid Name="tileEmpMain" Margin="5" />

 

 

</telerik:RadTileViewItem>

 

 

 

<telerik:RadTileViewItem Header ="Contract" >

 

<Grid Name="tileContractLink" Margin ="5" />  

</telerik:RadTileViewItem >

 

</

 

 

telerik:RadTileView>

The following is the error it says:
Layout measurement override of element 'Telerik.Windows.Controls.TileViewPanel' should not return PositiveInfinity as its DesiredSize, even if Infinity is passed in as available size.

Please don't confuse here I'm using the Grid named tileEmpMain and tileContractLink. The content of the Grid will be set as the Children of someother Grid in my application. Thats why I just given that. I didn't face any problems while i was using the version 2010.3.1304.40. Hope the problem is in <telerik:RadTileViewItem>. Since, if I remove it I don't get errors. Please let me know how to overcome the issue.

Thanks and Regards,
Azharshah H
Software Developer

azhar
Top achievements
Rank 1
 answered on 08 Apr 2011
2 answers
62 views
Hello,

I need to create a window, there is a RadGridview that binding to a dataTable.  This DataTable contains Area and DriverID columns.
Area binding to GridViewDataColumn, DriverID binding to GridViewComboBoxColumn. The logic is some drivers belong to particular
area. When the gridview loaded, the drivers user can selected in GridViewComboBoxColumn is decided by current row's Area.

My question is how to filter this Driver comboBoxColumn according to Area, I found there is a RadGridView1_CellEditorInitialized event in WinForm, but WPF not,  Which event I should use to filter driver comboBoxColumn's itemsSource?

Thanks in advance!

cx
Top achievements
Rank 1
 answered on 08 Apr 2011
2 answers
135 views
Dear,

After experimenting some time with the rad controls I find them quite cool and capable of doing a lot of work for me. Thank you for creating this handy suite!

Nevertheless I found some difficulty in implementing my specific drag/drop scenario. I've attached my demo project. It consists of three UI components.

rad_wpf_demo1.zip

RadTreeview, green (tvA)
RadTreeListView, white (tlv)
RadTreeview, pink (tvB)

The goal is to edit the data in the tlv by just dragging/dropping from both treeviews.
The left treeview (tvA) is used for making structural changes to the treelistview by adding nodes to the tree.
The right treeview (tvB) is used for changing values to the treelistview by changing properties.

Question 1:
When items from tvB are dragged over tvB or tvA, the row highlights.
There is no row-highlighting when dragged over the treelistview. How can this be enabled ?

Question 2:
It is a requirement that items dragged from tvB (pink) can only be dropped ON a row in the tlv, and not in between.
Nodes dragged from tvA can be dropped before, on and after a row.
How can it be achieved to 'disable' the drop-preview-line for a single drag-source, whilst being enabled when dragging from another source ?

Question 3:
Items dragged from tvB (pink) are only allowed to be dropped on certain rows in the tlv. (Currently implemented as a bool property 'CanDrop'.)
How can it be achieved (visually) in the tooltip/dragqueue that dropping is (not)allowed based on data in the row ?

Thank you in advance,

-Joost
joost
Top achievements
Rank 1
 answered on 07 Apr 2011
6 answers
307 views
Some radcontrols have the possibility to change the language which is used in dialogs, labels and on buttons. RadGridView is a good example. You can make/copy your own language-resource-file (from the localization folder).
Is there a way to change the language used in the RichTextBox-dialogs?
Rieni De Rijke
Top achievements
Rank 1
 answered on 07 Apr 2011
4 answers
626 views
Hi,

I am using a RadGridView in a WPF C# application. The grid is created in the xaml thusly:

<Controls:RadGridView x:Name="theBOMEntryGrid">

The grid has several columns:
--Mark
--Quantity
--Designation

Each of those columns has a UniqueName set; for example:
 <Controls:GridViewDataColumn Header="Mark"
                                         TextAlignment="Left"
                                         UniqueName="Mark"                                       
                                         >
In the code-behind of this screen I need to simply populate some C# properties with the values that are input in each of those cells but I am having trouble finding or figuring out how to do this.

Thank you in advance.
Sean Wright
Top achievements
Rank 1
 answered on 07 Apr 2011
1 answer
150 views
I have a little problem with selection unit. I need selection unit as a cell (selection mode extended). But I want delete row by key Delete. Unfortunately, I can delete row only if selection unit is full row. How can I delete full row with selection unit cell?
Maya
Telerik team
 answered on 07 Apr 2011
1 answer
179 views
Hi ,
I am trying to display items in the radcarousel but I don't want them overlapped. I want a certain padding or margin between individual items . Also for large number of items I want the carousel to have a horizontal scrollbar , so the user can scroll to see the items and select the desired one.

Many thanks for your help.
Thanks,
Subarna
Maya
Telerik team
 answered on 07 Apr 2011
1 answer
122 views
I am trying to use the carousel control to try and create a fish eye effect. I want all the items to be of the same size and at the same horizontal level and the selected item / item in focus to be slightly larger.
With the current default control, the item sizes vary defending on thier proximity to the selected item.
Also I don't want various levels of opacity . I want all items to have opacity = 1.

Finally, my carousel will potentially have lots of items, so I want a data pager with page size of 1 associated with it to show which item is being currently displayed. Is that possible ?
Say in a carousel of 1000 items, how does the user navigate to the 500th item, without navigating though the whole lot ?
Maya
Telerik team
 answered on 07 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?