Telerik Forums
UI for WPF Forum
1 answer
128 views
Hi,

In my application I need to scroll the current time into view, and I therefore call the ScrollIntoview-method with a DateTime-object as parameter. In the Q1 release this was working fine, but in the Q2 release it seems this is no longer supported. (I get an InvalidCastException that says "Unable to cast object of type 'System.DateTime' to type 'Telerik.Windows.Controls.ScheduleView.IDateSpan'.")

Is this an intended change? If so, how can I to scroll a specified DateTime (or TimeSpan) into view in the Q2-release?


Thanks,
Kristian
Rosi
Telerik team
 answered on 19 Jul 2011
1 answer
129 views
Hello

I want to know how can i get the Header text while clicking on that header. I just want to get the header value. No sorting nothng i want to preform on the grid.

Calvin
Top achievements
Rank 2
 answered on 18 Jul 2011
1 answer
131 views
Is there a setting which will allow me to place duplicate entries into a RadTreeView?  I am dragging from a GridView into a TreeView, and sometimes I need to allow the user to place the same object more than once.  I need to create the following tree:

Bird
--Cardinal
--Cardinal
--BlueJay
--BlueJay

I also see the following issue.  When I have this tree:

--Bird

I can drop Cardinal to get:

--Bird
--Cardinal

If I Try to add another Cardinal, I need to "Drop After" Bird, because I can't "Drop Before" or "Drop After" Cardinal, since it has the same object properties, I get the DropImpossible icon everywhere overtop of Cardinal.  This is a problem because everyone wants to drop at the end of the list, which is considered over Cardinal.

Finally, if I create a tree with duplicate entries anyway, the tree gets re-ordered, and the selected items act very strangely also.

I will try to create:

--Bird
----Cardinal
----BlueJay
----Cardinal

and when I drag and drop them in that order, it will be re-ordered to:

--Bird
----Cardinal
----Cardinal
----BlueJay

If I select the Child item Cardinal, it might select the other Cardinal item instead.

Thanks for your help,
Scott
Petar Mladenov
Telerik team
 answered on 18 Jul 2011
0 answers
173 views

Hi, i've a RadGridview which populates its datasource from a dataset.
i just need to get selected item's 2nd row's value.

 

(guess need to write in MyGrid_SelectionChanged event.)

 

How can i achieve this ?
Thanks for ur help
Best regards..

Kenz
Top achievements
Rank 1
 asked on 18 Jul 2011
1 answer
1.1K+ views
Hi all,
I have in a WPF form a RadMap control. Normally for show the tooltip information I have to click on every pushpin.
Is it possible to open automatically all the pushpin's tooltip?

Another question...
Is it possible to click inside the tooltip for open another form?

thanks in advance!!!

var pin = new Pushpin { Background = new SolidColorBrush(colore) };
var tip = new ToolTip { Content = tool };
ToolTipService.SetToolTip(pin, tip);
var loc = new Location { Latitude = lat, Longitude = lon };
MapLayer.SetLocation(pin, loc);
informationLayer.Items.Add(pin);
Andrey
Telerik team
 answered on 18 Jul 2011
6 answers
286 views
I have looked all over and I cannot find a single example of how to databind an ObservableCollect to a RadChart. I would like to be able to create 3 series and bind each one of them to a different ObservableCollection. Binding through XAML would work best in my case because my application is written using the MVVM.

Does anyone have an example they can point me to?
Dan
Top achievements
Rank 2
 answered on 18 Jul 2011
2 answers
114 views

I'm using the radGridView and it's hierarchy feature. Because of large amount of data, I fetch data first to the upper/first layer of radGridView with empty sub data object to provide +-mark of beginning of each row (identify that there are sub data available). I'm using the Radgridview.ItemsSource property to add data to the grid.

But now I have problem when expanding one of the row and dynamically add the dataobject to the selected childgrids.itemssource, it's not showing. I'm using following code to add data to the selected childgrid

 

private void alarmsTbl_DataLoading(object sender, Telerik.Windows.Controls.GridView.GridViewDataLoadingEventArgs e)
{
        GridViewDataControl dataControl = (GridViewDataControl)sender;
        if (dataControl.ParentRow != null)
        {
            AlarmsServiceReference.AlarmDetails[] groupDetails = alarmsClient.GetAlarmGroupDetails(alarmsTableDef.DBType, alarmsTableDef.ConnectionString, sql);
            dataControl.ItemsSource = groupDetails;
        }
}

 

 


How I can dynamically add dataobject to the expanded childgrid?


 

Auvo
Top achievements
Rank 1
 answered on 18 Jul 2011
1 answer
104 views
Hi,

I am displaying a line chart on the screen. It looks great but after exporting to a PNG file, the exported chart does not look anything like the one on the screen. I am disabling the animation as well. Is there anything else I need to be doing to get an exact match?

btw, I was not able to attach the images to show you the differences.

Thanks
Yavor
Telerik team
 answered on 18 Jul 2011
3 answers
109 views
I'm considering the purchase of Q2 2011 specifically for this control as I'm hoping it will take some of the time and effort out of working with hand-coded ObservableCollections to interact with our WCF service.  

I downloaded the trial and it installed fine (other than not installing any of the controls in the VS tool box like it's supposed to).  After dragging the control into the window and trying to do a test build I get "The tag 'RadDataServiceDataSource' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'.".

I'm hoping there is a solution to this problem so I can move on to the next challenge of finding any sort of documentation for this new control.  I'm not looking for generic northwind examples with 10 lines of code-- I'm looking for documentation.

Thanks!

Rossen Hristov
Telerik team
 answered on 18 Jul 2011
1 answer
226 views
Are you able to post an example of how to use LookupPropertyDefinition?


Craig
Maya
Telerik team
 answered on 18 Jul 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
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?