Telerik Forums
UI for WPF Forum
0 answers
243 views
Hello,
I want to keep value before usercontrol unloaded event in WPF.

Thanks.
bluberry
Top achievements
Rank 1
 asked on 28 Dec 2010
1 answer
87 views
When setting e.Cancel = true on the event args of RadGridVoew.Sorting event, the grid nevertheless modifies the SortingState of columns.
Say the column was in Descending. In the event handler I set it to Ascending, and set e.Cancel = true.

I expect the final state to be Ascending, but the grid changes it to None, according to its internal logic.

Using Reflector, I can see that UpdateColumnSortStatesOnSort() is called in GridViewDataControl.Sort(), even if sortingArgs.Cancel == true. I believe that that call should be avoided.
Yavor Georgiev
Telerik team
 answered on 28 Dec 2010
1 answer
95 views
Hi,
I would like to display the date in the following format : "dd/MM/yyyy hh:mm:ss" instead of the default "dd/MM/yyyy hh:mm", or in other words, I want to add seconds.
I've tried the following :
CultureInfo cultureInfo = new CultureInfo("es-ES");
DateTimeFormatInfo dateInfo = new DateTimeFormatInfo();
dateInfo.ShortDatePattern = "dd/MM/yyyy hh:mm:ss";
cultureInfo.DateTimeFormat = dateInfo;
RadDateTimePicker newTime = new RadDateTimePicker();
newTime.Culture = cultureInfo;

But I encounter a strange problem. I get the following format : "dd/MM/yyyy hh:mm:ss hh:mm".
What am I doing wrong?

Thank you

Kaloyan
Telerik team
 answered on 28 Dec 2010
1 answer
251 views
Hi,

I'm trying to set the tooltip on the RadDatePicker when I get a validation error from my viewmodel.


<Trigger Property="Validation.HasError"Value="True">
<Setter Property="FrameworkElement.ToolTip"
                                 Value="{Binding RelativeSource={RelativeSource Self}, Path=(Validation.Errors).CurrentItem, Converter={StaticResource edenValidationErrorToolTipConverter}}"
                                    TargetName="PART_DateTimeInput" />
                        </Trigger>


No matter  what I try, I can't seem to update the tooltip.

Thanks,
Andy

Kaloyan
Telerik team
 answered on 28 Dec 2010
1 answer
164 views
Hello,

I wish to bind the GridView to a sql server datasource and I wish that when I update the table in the database, the GridView will automatically update the rows values. I want to achieve this without reloading the datasouce of the gridview.
Now I get the values from the datasource into a datatable and then set the datatable as the source of the GridView so there is no direct connection between the database and the GridView. Is there a way to give the GridView a "SELECT statement" and it will  autocheck for changes?

Thank you
Rossen Hristov
Telerik team
 answered on 28 Dec 2010
2 answers
75 views
It appears that child grid control references are kept in the parent row, even after the row has been collapsed.
Can I make the child grid get disposed?
Yaakov Davis
Top achievements
Rank 1
 answered on 28 Dec 2010
1 answer
126 views
Hi

I am using TreeListView control and loading child rows on demand.

I want to update the parent node again once child nodes will gets displayed.

In RadTreeListView1_RowLoaded event I am binding details of Child nodes.

Is there any other event after RadTreeListView1_RowLoaded where I can access the Parent nodes and update the cells ?

Actually I want to implemets below functionality
Director's Hours will get distributed in SubDirector A and SubDirector B
Further Subdirector's Hours can be distributed in Managers
Here only Manager's Hours can be editable.

If hours of any Manager gets updated I want to update the Hours of their Parent Rows

      Hours
Director 100
  SubDirector A 40
  Manager A1 10
  Manager A2 30
  SubDirector B 60
  Manager B1  25
    Manager B2 35

Is there any better approach I can achive this ?

Thanks
Vlad
Telerik team
 answered on 28 Dec 2010
3 answers
54 views
I have sample application (related to customised message box ) downloaded from following link  http://prajeeshprathap.codeplex.com/SourceControl/PatchList.aspx
This sample application makes my application stuck. due to which I am unable to debug by using breakpoints
Pleasae identify the issue and let mke know where you have made changes.
Asish
Top achievements
Rank 1
 answered on 28 Dec 2010
2 answers
96 views

Hi,
    I would like to data bind folder content to Carousel and show related icons in the  Carousel and open the document / picure when it is double clicked. Folder contents may be picture file,video files, excel documents, word documents and other documents
    Is this possible?

Please let me know

Thank you

Nick

Nick
Top achievements
Rank 1
 answered on 28 Dec 2010
1 answer
53 views
I have a raddatepicker with the SelectedDate bound to a date property on my model and the SelectableDateStart set to a value 30 days prior to the current date (DateTime.Now).  The date that SelectedDate it is bound to can be earlier than the SelectableDateStart and that is perfectly acceptable.  What I want is the control to display the bound date no matter what it is but only allow edits within the range set by SelectableDateStart and SelectableDateEnd.  Is this possible?
Kaloyan
Telerik team
 answered on 27 Dec 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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?