Telerik Forums
UI for WPF Forum
7 answers
172 views
Hi...

How to set the FilterControlWidth as the grid column width.

The below code is not working for me.

 

protected void approvedGrid_ItemDataBound(object sender, GridItemEventArgs e)

 

{

 

if (e.Item is GridFilteringItem)

 

{

 

 

 

GridFilteringItem filteringItem = e.Item as GridFilteringItem;

 

 

TextBox box = filteringItem["mandatory"].Controls[0] as TextBox;

 

box.Width = approvedGrid.MasterTableView.Columns[2].ItemStyle.Width;

 

//approvedGrid.MasterTableView.Columns[2].FilterControlWidth = approvedGrid.MasterTableView.Columns[2].HeaderStyle.Width;

 

 

}

}

Vlad
Telerik team
 answered on 04 Jan 2011
2 answers
161 views
Sample screen shot attached. Is this possible to be done with RadCarousel? Any help would be appreciated.
Baliga
Top achievements
Rank 1
 answered on 04 Jan 2011
1 answer
52 views
Hi ,

I am using Telerik Radgrid in my WPF project and want to know that can i apply dependent sorting on three columns of my RadGrid ??
For eg : If i have 3 columns : CustomerName , CustomerId and CustomerCity.
Like the functionality we get in sql when we write ORDER BY (CustomerName , CustomerId and CustomerCity ) .

Thanks in advance !!!!!!!!
Veselin Vasilev
Telerik team
 answered on 04 Jan 2011
1 answer
127 views
Hi,

I am having problems with RadCombobox inside a RadWindow. The dropdownlist goes behind the window.  I am using the 11/10/2010 release of the wpf controls.

Here is the code.

Window1.xaml
<Window
   x:Class="Window1" x:Name="Window1"
   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
   xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
   xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
   xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Width="300" Height="200" WindowStartupLocation="CenterScreen">
   <Grid>
      <Button Name="btn" Content="Press the Button" Margin="30"/>
   </Grid>
</Window>

Window.xaml.vb
Imports Telerik.Windows.Controls

Class Window1
   Public Sub New()

      ' This call is required by the Windows Form Designer.
      InitializeComponent()

   End Sub

   Private Sub btn_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles btn.Click
      Dim wnd As New Window2


      wnd.ShowDialog()
   End Sub
End Class


Window2.xaml
<telerik:RadWindow
   x:Class="Window2" x:Name="Window2"
   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
   xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
   xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
   xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" WindowStartupLocation="CenterOwner">
   <Grid>
      <StackPanel>
         <telerik:RadComboBox Name="com1"/>
         <telerik:RadComboBox Name="com2"/>
         <telerik:RadComboBox Name="com3"/>
      </StackPanel>
   </Grid>
</telerik:RadWindow>

Window2.xaml.vb
Class Window2
   Public Sub New()

      ' This call is required by the Windows Form Designer.
      InitializeComponent()

      ' Add any initialization after the InitializeComponent() call.
      com1.Items.Add("pppp")
      com1.Items.Add("QQQQ")
      com1.Items.Add("TTTTT")
      com1.SelectedIndex = 0

      com2.Items.Add("aaaaa")
      com2.Items.Add("bbbbb")
      com2.Items.Add("ccccc")
      com2.SelectedIndex = 0

      com3.Items.Add("11111")
      com3.Items.Add("22222")
      com3.Items.Add("33333")
      com3.SelectedIndex = 0
   End Sub
End Class



Thanks,
Konstantina
Telerik team
 answered on 04 Jan 2011
3 answers
190 views
Hi,
Is it possible to apply a cusotm context menu to RadTreeListview like RadTreeView? I am trying this in WPF + MVVM.
Can you share a sample project of the same?
Vlad
Telerik team
 answered on 04 Jan 2011
3 answers
137 views
Hi,
Is it possible to apply a cusotm header to radtreeListview?
Can you share a sample project of the same?
Vanya Pavlova
Telerik team
 answered on 04 Jan 2011
3 answers
80 views

I have a deadline on the 31st of December, and this is the last telerik-related thing I need to fix in my program in order to get it approved, I would soooooo appreciate a quick answer, you have no idea. :)

When I add around 10 DataSeries (with 15 points in each) to a Chart, the Chart resizes itself several times and the entire animation is very slow. I am sure there's something I need to do before or after calling the following line on my IEnumerable of charts, but I can't figure out what it is.

I'd would be really grateful for an answer. 

myChart.DefaultView.ChartArea.DataSeries.AddRange( ... )

Evgeni "Zammy" Petrov
Telerik team
 answered on 04 Jan 2011
1 answer
69 views
Hi,
I have a little problem, I need to use the scroll bar from code on the gridview. We have 20 columns and I need to be able to move from code the horizontal scroll, for example, move to column five or 10 depending of calculations. Also, I will like to move another horizontal scroll on a different grid depending of another one. I suppose I can do a WPF binding over one property but I dont no which one.
THanks in advance, we appreciate any help.
Francisco.
Vlad
Telerik team
 answered on 04 Jan 2011
2 answers
151 views
Good afternoon!

First of all, I want to wish you all @ Telerik a wonderful 2011: Filled with success.

Second, let me thank you for creating this amazing set of WPF & WinForms controls.

Now, to my issue... I am using the WPF 2010 Q3 radcarousel control as a menu for my app: using images to describe each of the 7 avalaible optios. Now, the problem is that I can not find any method like a "selectedIndex()" one, that would allow me to perform a determined action depending on the user's selection, (tho I have tried in several ways). Is there a way for doing so?

Thank you so much in advance and my best wishes to everybody!

WPF version: 2010 Q3.
OS: Windows 7 Pro.
Preferred programming language is C#

Federico
Top achievements
Rank 1
 answered on 03 Jan 2011
2 answers
663 views
Hello,

I am handling the DropDownOpened event by asking the user about saving changes if need be and setting the IsDropDownOpen property based upon the user feedback.  The problem is that when I set the IsDropDownOpen to false it seems to leave the ComboBox in a strange state.  The very next time that I click on the ComboBox, it highlights but does not dropdown.  In addition all other controls in the application do not respond to anything until I click the combobox again.  Then everything seems to work fine.  Please advise.

Thank,

Jason Munger
Jason
Top achievements
Rank 1
 answered on 03 Jan 2011
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
DataPager
PersistenceFramework
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?