Telerik Forums
UI for WPF Forum
1 answer
315 views

How can I disable cell selection or remove selected cell border in GridView.

Vanya Pavlova
Telerik team
 answered on 10 Aug 2012
1 answer
106 views
Hello,

I have a RadGridView with a GridViewDataColumn which has a DateTime type in UTC time. In the filter I changed the DateTime picker to show time also. However, the filter times are off by a few hours since the filter works on local time while the displayed times are in UTC.

Is there any way I can tell the filter to change the filter critrion to UTC time ?

Thanks,
Chait
Vlad
Telerik team
 answered on 10 Aug 2012
4 answers
274 views
Hello,

I was wondering if the Timeline control is good for using as an video editor. I need a line that cross verticaly the component, which I can use to seek for the current crossed files (displayed as events). I can find the corretly position by using the start_time of the event and the current position of that line and display exactly the part of the file that i need, but.I can't figure out how do I insert that crossed line into the component.

Another solution might be using the TimeBar component instead, but with that component I can't browse more than one stream in the same time, or I did't find an way of doing that.

Thanks!

Eng. Marcelo



Marcelo
Top achievements
Rank 1
 answered on 10 Aug 2012
2 answers
233 views
Hi,
I have a combobox witch has one or more items declared like this ->
<telerik:RadComboBox Grid.Column="1" Grid.Row="5" Margin="5" Height="25" Width="250" Name="cmbDynamicDim" HorizontalAlignment="Left" DisplayMemberPath="Name"
                            ItemsSource="{Binding DynamicDims}" SelectedItem="{Binding SelectedField,UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" >

But when I select an item there is no way of un-choosing the comboboxitem. Is there any property that creates an empty dummy row ? Or do I need to have an "empty" row in my collection  ?


Thanks and best regards
Kristján
Kristjan Einarsson
Top achievements
Rank 1
 answered on 10 Aug 2012
1 answer
87 views
Hi Team,
 I am using Red-book control for showing PDF file.  My project requirement is to display multiple file dynamically. But after display one file when I want to load another file in Radbook I am getting error:-
"Object reference not set to an instance of an object."
Error occurs at Telerik.Windows.Documents.UI.FixedDocumentSinglePagePresenter.LoadPageContent.AnonymousMethod__1()

Please help me to find out the solution.

Thanks,
Mandeep
Tina Stancheva
Telerik team
 answered on 10 Aug 2012
2 answers
109 views
Hi,

I have a GirdView that could reorder rows by drag and drop which also have a row number column. I got it all working by following the latest Demo.

However, after reordering rows, the row numbers are not updated properly (see attached image). Could anyone help me fix this? 

Thanks.
Mark
Top achievements
Rank 1
 answered on 10 Aug 2012
5 answers
154 views

I am using twoway binding to dynamically change the color of one of my user controls and to set the initial selected color. It's structured as the following (way simplified):

<RadGridView x:Name="T" ItemsSource="{Binding storage, Mode=OneWay}">
    <GridViewColumn>
        <GridViewColumn.Template>
            <ColorPicker SelectedColor="{Binding Color, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
        </...>
    </...>
</...>

And the associated C# code:

void func(object sender) {
    this.DataContext = sender;
}

I am getting a nullpointer exception when I try to change the DataContext of the GridView IF AND ONLY IF the GridView has elements in it. Is there a way to get around changing the source of a gridview that has twoway bindings?

Best, Jin

Vlad
Telerik team
 answered on 10 Aug 2012
1 answer
181 views
Currently I am doing the ColumnGroups from the code behind like this.

grid.ColumnGroups.Add(new GridViewColumnGroup
                                                      {
                                                          Name = groupName,
                                                          Header = groupName
                                                      });
gridColumn = new GridViewDataColumn();
gridColumn.ColumnGroupName = groupName;    
grid.Columns.Add(gridColumn);

But I want to do the same thing using MVVM way. Do you guys have an example project that does this using MVVM?

Any help is greatly appreciated. 

Vlad
Telerik team
 answered on 10 Aug 2012
1 answer
80 views
I'm working with a somewhat older version of the Telerik controls (2011 Q3), but I would think this would still work.  I have the control setup to use DatePicker for the InputMode.  If I click on the calendar and navigate to some date and click on it, then the calendar disappears, but the date I selected isn't in the control.  Checking the control's SelectedValue, it is null, so it didn't accept the date I clicked upon, either.

I'm guessing that I'm doing something wrong, have left out something in the XAML, or something.  Here's the relevant XAML:

<telerik:RadDateTimePicker Grid.Column="1" Grid.Row="4" DateTimeWatermarkContent="Enter DOB" HorizontalAlignment="Center" Margin="0" Name="radDOB"
                                                     VerticalAlignment="Center" GotFocus="radDOB_GotFocus" SelectionChanged="radDOB_SelectionChanged" InputMode="DatePicker"
                                                     MinWidth="80"/>

Rod
Top achievements
Rank 1
 answered on 09 Aug 2012
3 answers
295 views
My ChartView has series which are created dynamically (programmatically). Each of these series need to be a colour that is also only known at runtime. How do I go about doing this?
Lancelot
Top achievements
Rank 1
 answered on 09 Aug 2012
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
PersistenceFramework
DataPager
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?