Telerik Forums
UI for WPF Forum
1 answer
169 views
I have enabled cell validation in my gridview and I am using CellValidating events. I also have 2 buttons on my window. If I am inside a cell and click on my buttons it fires the cellvalidating events. Is there a way to not to fire the cellvalidating event when selecting a cancel button.
Milan
Telerik team
 answered on 09 Sep 2010
2 answers
961 views

Hi!

I know setting DataContext = DataTable.DefaultView named MODULES at class scope for a page is enough to bind every component via {Binding ColumnName}. But I note that radGridView is not filled in this way:

public class MyClass

{

public MyClass()
{
   this.InitializeComponent();

}

public void Page_Loaded(object sender, System.Windows.RoutedEventArgs e)

{

DataTable dtbDatos = new DataTable();
GlobalDataBaseManager.ComandoSQL(CommandType.Text, vsSQL, ref dtbDatos);
  dtbDatos.TableName = "MODULES";
   DataContext = dtbDatos.DefaultView;

}

...

<Grid x:Name="pnlConsulta" Height="322">
  <telerik:RadGridView x:Name="grdGridConsulta" ItemsSource="{Binding MODULES}" Margin="19,20.675,23,8" ShowGroupPanel="False" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" AutoGenerateColumns="False" ColumnWidth="Auto">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Header="[lblCodigo]" DataMemberBinding="{Binding CA001}" UniqueName="CA001"/>
<telerik:GridViewDataColumn Header="[lblTitulo]" DataMemberBinding="{Binding CA002}" UniqueName="CA002"/>
<telerik:GridViewDataColumn Header="[lblEjecutable]" DataMemberBinding="{Binding CA003}" UniqueName="CA003"/>
<telerik:GridViewDataColumn Header="[lblID]" DataMemberBinding="{Binding CA004}" UniqueName="CA004"/>
<telerik:GridViewCheckBoxColumn Header="[chkInactivo]" DataMemberBinding="{Binding CA005, Converter={StaticResource ValueConverter}}" UniqueName="CA005"/>
<telerik:GridViewDataColumn>
<telerik:GridViewDataColumn.Header>
<StackPanel Orientation="Horizontal">
<Image Height="20" Stretch="UniformToFill" Source="/App_LocalResources/Imagenes/usuarios.png" />
<TextBlock Text="Columna Prueba" TextWrapping="Wrap"/>
</StackPanel>
</telerik:GridViewDataColumn.Header>
</telerik:GridViewDataColumn>
</telerik:RadGridView.Columns>
</telerik:RadGridView>
</Grid>

It is not enough to Bind to class DataContext??

thanks

ENTERPRISE INTERNATIONAL SAS
Top achievements
Rank 1
 answered on 08 Sep 2010
1 answer
143 views
Hello,

I have a couple questions about the Minimized Width/Height properties.

When the TileView is populated from a Data Source, and the minimized dock is in any position(Left,Right,Bottom, Etc).
The Minimized Height or the width doesn't function depending on the Dock properties.

If I dock the Minimized panels on the bottom the Width doesn't work but the Height Does. If Dock it to the right the 
Minimized panel width works but not the height.


Its sizing itself to the container size. I have the scrollbar visible.

If the TileView is not populated from a DataSource it works fine

Any Thoughts

Regards,
Rick Mueller
Tina Stancheva
Telerik team
 answered on 08 Sep 2010
1 answer
132 views
Hi guys,

Is there any way of creating a variable width column chart in telerik controls, something like detailed on this website: http://peltiertech.com/Excel/ChartsHowTo/VariableWidthColumns.html

We are wanting to create a chart which steps up, with the width of the column being based upon a date e.g. 1st september to 31st september.

Thanks,

JD
Velin
Telerik team
 answered on 08 Sep 2010
2 answers
185 views
The following exception occurs when we execute our application on a non development pc:

Beim Festlegen der Eigenschaft "Telerik.Windows.Controls.StyleManager.Theme" wurde eine Ausnahme ausgelöst.  

(roughly: When setting property "Telerik.Windows.Controls.StyleManager.Theme" an exception occurred.)

bei System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)

   bei System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory,

   Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)

   bei System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties,

   Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)

   bei System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)

   bei System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)

   bei dcits.rmx.NETConnector.UI.Views.SelectContactWinterSportsServiceItemView.InitializeComponent()

   bei dcits.rmx.NETConnector.UI.Views.SelectContactWinterSportsServiceItemView..ctor(

   SelectContactWinterSportsServiceItemViewModel viewModel)

   bei dcits.rmx.NETConnector.UI.Controllers.SelectContactWinterSportsServiceItemController..ctor(

   ObservableCollection`1 serviceItems, DNCUIEasyKeyboards keyboard)

   bei dcits.rmx.NETConnector.DNCUIController.SelectContactWinterSportsServiceItemReferringToReceiptShowDialog(

   DNCArrayList serviceItems, DNCUIEasyKeyboards keyboard, DNCUIDialogResults& dialogResult,

   DNCContactWinterSportsServiceItem& selectedServiceItem)


I think this has to do with the setting

telerik:StyleManager.Theme="Windows7"

in the XAML file.

Note that this error does not occur on a development pc (Windows 7) but on pcs with Windows XP. Do we need special DLLs for this theme to work under a non Win7 environment?
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 08 Sep 2010
2 answers
114 views
Hello!
I have a chart with axis X being a time axis.
As in your "Flexible API" demo, I set the Time Format something like "HH:mm:ss" etc which works ok, but if i need to show the AM/PM designator, by changing the time format to "hh:mm:ss tt" there is no AM/PM shown, but only the time ( e.g. "10:05:30" )
How can be possible to have the day time displayed?

Thank you!
Roxana
RoxanaC
Top achievements
Rank 1
 answered on 08 Sep 2010
1 answer
120 views
Hello, I'm wondering if there's a way that we could move the items in specific intervals when the user moves the items around with page down, page up, home, end, the mouse wheel and even dragging the scrollview bar. The thing is that we don't want to should cropped items on the top edge for the treeview (we don't care about the bottom edge) like this:

Picture

We want to always show the whole item like this:

Picture

Let me know. Thank you.
Hristo
Telerik team
 answered on 08 Sep 2010
1 answer
174 views
We are having Rad Grid View control with "GridViewHyperlinkColumn" column.
When we click on hyperlink available in grid view cell, either cell is not activated or row is not selected.

We have set following properties for rad grid view control

IsSynchronizedWithCurrentItem="True"
SelectionMode="Single"

Can anyone help or provide solution?
Milan
Telerik team
 answered on 08 Sep 2010
1 answer
113 views
Hi,
I have updated all the new referneces and lost date picker, and string formatters. Also there is an issue in Rad Girdview . Should I revert back to previous version?
Kaloyan
Telerik team
 answered on 08 Sep 2010
1 answer
145 views
When i put a datetimepicker on my window,
I see following error appearing in my output window :

System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=PART_DropDownButton'. BindingExpression:Path=IsMouseOver; DataItem=null; target element is 'ButtonChrome' (Name='ButtonChrome'); target property is 'RenderMouseOver' (type 'Boolean')



once for every raddatetimepicker I use, this appears to be an telerik - interal error, since i didnt do any binding on the control yet.

I am using Telerik build 2010.2.714.40
 
Kaloyan
Telerik team
 answered on 08 Sep 2010
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?