Telerik Forums
UI for WPF Forum
1 answer
308 views
Hi all,
I have two questions:

I have in a WPF form a RadMap control.
1) The only way I know to see the pushpin tooltip is moving the mouse over it.
If in a map I added 10 pushpin is it possible to see simultaneally all the tooltip after the map is loaded?

2) Is it possible to open a new form clicking on the tooltip?



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);


Thanks in advance...

Andrey
Telerik team
 answered on 19 Jul 2011
1 answer
101 views
The QAT Customize dropdown menu dropdown menu loses Show Above/Below Ribbon menu item after first change in position.  This can be seen in the Demos and apparently occurs for all themes.  RadRibbonBar has the same problem.

Thanks in advanced,
Steve
Petar Mladenov
Telerik team
 answered on 19 Jul 2011
1 answer
196 views
Hello,

I am using the NumericUpDown with a binding to a nullable short property on my ViewModel. The NumericUpDown is declared as follows

<telerik:RadNumericUpDown Value="{Binding Path=CurrentOEMOriginalQuantity, ValidatesOnDataErrors=True}" Grid.Row="1" Grid.Column="2" Margin="0,0,2,0"
                                                              NumberDecimalDigits="0" UpdateValueEvent="PropertyChanged" ShowButtons="False" NullValue=""/>

And the ViewModel property is defined as

public short? CurrentOEMOriginalQuantity
    {
      get
      {
        if (adapter == null || adapter.CurrentOEMOriginalCost == null)
          return null;
        else
          return adapter.CurrentOEMOriginalCost.QuantityOnHand;
      }
      set
      {
        if (adapter == null || adapter.CurrentOEMOriginalCost == null)
          return;
 
        adapter.CurrentOEMOriginalCost.QuantityOnHand = value;
        RaisePropertyChanged(() => this.CurrentOEMOriginalQuantity);
      }
    }

However, the value that is displayed on load is a 0.  I put a breakpoint in the getter of the property and it is indeed returning null.

What am I missing here?

Thanks.
Valeri Hristov
Telerik team
 answered on 19 Jul 2011
1 answer
114 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
119 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
124 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
159 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
270 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
108 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
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
Security
VirtualKeyboard
HighlightTextBlock
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?