Telerik Forums
UI for WPF Forum
4 answers
153 views
Hello @all,

all me entities are using the same base class EntityBase.

Is it possible to create my own Appointment class which inherits from EntityBase, instead of youse the Appointment class of telerik?
I chouldn't find an Interface of Appointment, only a abstract base class.

In other words:
I like to use the RadScheduler with my own Appoinment class.

Thank you,
Manuel
Vladi
Telerik team
 answered on 26 Jun 2012
1 answer
145 views
Hello,

I have created a custom provider with my own tiles. 
Now,I´d like to create three map modes with different tiles. (Roal, Aerial.. as Bing or Google)
I want to show my modes on the toolbar so the user could change view easily.
How can I do that? I have no idea where I have to indicate the different modes. I have my TilesProvides created like that
Public Sub New(ByVal tileLocation As String, ByVal tileUri As String)
        MyBase.New()
 
        Dim source As New NavteqMapSource(tileLocation, tileUri)
 
        Me.MapSources.Add(source.UniqueId, source)
 
 
    End Sub

But I need three different Uris for each MapMode. Do I have to create three different providers? 
If so, How can I add this providers to the toolBar?
Thank you very much,

Esther



Andrey
Telerik team
 answered on 26 Jun 2012
7 answers
153 views
It seems that I can supply a {Binding} for the QueryName of a RadDataServiceDataSource, but if I do, it changes the way the data source gets queried. Using the "hard-coded" approach, the query honors the page size specified by the data source ($top=n), but binding to a property of a ViewModel that contains the QueryName causes the query to request ALL items.

What I'm trying to craft is a simple UI that lists the tables (queries) in the data source in a ListBox, and causes the RadGridView/RadGridPager to display (and page through) the data for the table selected in the ListBox.

I had assumed that data binding the QueryName would be the WPF way to do this. What am I missing?
Rossen Hristov
Telerik team
 answered on 26 Jun 2012
0 answers
181 views
I have used RadComboBoxes inside a Grid in my WPF application as shown below.
<tk:RadComboBox Grid.Row="3" Grid.Column="3" Style="{StaticResource DropDown}" x:Name="cmbColor" Height="25" Margin="5,5,5,5" DropDownOpened="cmbColor_DropDownOpened"
IsEditable="False" SelectedValue="{Binding PR_COLOR}" MaxWidth="250"
ItemTemplate="{StaticResource DropDownCodeMeaning}"  />



I am binding the data to the combo box when the user clicked on the combo box to select an item from it.
I have used the  event "DropDownOpened" to bind data to this combo box.

Below shown is the code behind.

// set the dropdown list for a combobox to all entities for a business object
  private void SetDropDown<BusObj, BusEntity>(RadComboBox cmb, ref BusObj busobj)
      where BusObj : BusinessObject<BusEntity>, new()
      where BusEntity : BusinessEntity, new()
  {
      if (busobj == null)
      {
          busobj = new BusObj();
      }
      if (cmb.ItemsSource == null)
      {
          var RecordList = busobj.GetAllEntities();
          if (RecordList.Count > 0)
              RecordList.ApplySort("SortKey", ListSortDirection.Ascending);
          cmb.ItemsSource = RecordList;
 
      }
  }

After sets the Items Source for the combo box, the memory increases rapidly. Anyone knows why this happens?
Please help me. I am using the telerik version 2010.1.603.35.

Thanks in advance,
Rajesh V R

Rajesh
Top achievements
Rank 1
 asked on 26 Jun 2012
10 answers
305 views
hi,

i'm using wpf 2012 Q1 SP1 and VisualBasic 2010. I'm using a RadGridView bind to a mvvm. After closing the line "telerik:ColumnSort..." with "/>" my VisualBasic is killed. Nothing works any more. I have to kill VS with the TaskManager.
<telerik:RadGridView.SortDescriptors>
    <telerik:ColumnSortDescriptor  Column="{Binding Columns[\Country\], ElementName=RadGridView1}" SortDirection="Ascending" />
</telerik:RadGridView.SortDescriptors>

Is this a known Problem?

thanks
Regards
Rene
ITA
Top achievements
Rank 1
 answered on 26 Jun 2012
0 answers
180 views
I have used RadComboBoxes inside a Grid in my WPF application as shown below.
<
tk:RadComboBox Grid.Row="3" Grid.Column="3" Style="{StaticResource DropDown}"
                       x:Name="cmbColor" Height="25" Margin="5,5,5,5" DropDownOpened="cmbColor_DropDownOpened"
                       IsEditable="False" SelectedValue="{Binding PR_COLOR}" MaxWidth="250"
                       ItemTemplate="{StaticResource DropDownCodeMeaning}"  />

I am binding the data to the combo box when the user clicked on the combo box to select an item from it.
I have used the  event
"DropDownOpened" to bind data to this combo box. Below shown is the code behind.

// set the dropdown list for a combobox to all entities for a business object
       private void SetDropDown<BusObj, BusEntity>(RadComboBox cmb, ref BusObj busobj)
           where BusObj : BusinessObject<BusEntity>, new()
           where BusEntity : BusinessEntity, new()
       {
           if (busobj == null)
           {
               busobj = new BusObj();
           }
           if (cmb.ItemsSource == null)
           {
               var RecordList = busobj.GetAllEntities();
               if (RecordList.Count > 0)
                   RecordList.ApplySort("SortKey", ListSortDirection.Ascending);
               cmb.ItemsSource = RecordList;
 
           }
       }
After sets the Items Source for the combo box, the memory increases rapidly. Anyone knows why this happens?
Please help me. I am using the telerik version 2010.1.603.35.

Thanks in advance,
Rajesh V R


Rajesh
Top achievements
Rank 1
 asked on 26 Jun 2012
3 answers
139 views
Hello,
Can an additional y-axis on the right be set up so that it's 0 value lines up with the standard y-axis 0 on the left? On the standard axis I am plotting something like profit vs. expenses with the yellow line displaying the net difference. On the additional y-axis I am displaying a grand total on a significantly larger scale. Since the grand total is never negative the additional y-axis has 0 at the bottom but ideally I would like it's 0 to line up with the standard axis 0. Thanks much in advance!
Jason
Rosko
Telerik team
 answered on 26 Jun 2012
2 answers
131 views
Hello,

I Just upgraded my project to Q2, and now the vertical divider between the columns table and the tasks no longer is movable (in other words, the width of the column table is fixed).  Is there a way to specify the width of the column table (apart from changing individual column widths)?  Also, how can I make that slider movable again?
Thanks,

Eric
Miroslav Nedyalkov
Telerik team
 answered on 26 Jun 2012
7 answers
183 views
Hi,

I am working with the telerik bar chart and pie chart. And by looking at an example I set the series interactivity as such:

For a bar chart:
DataSeries barSeries = modelDictionary[ChartType.Bar];
            barSeries.Definition.InteractivitySettings.HoverScope = InteractivityScope.Item;
            barSeries.Definition.InteractivitySettings.SelectionScope = InteractivityScope.Item;
     
For a pie chart:
  DataSeries pieSeries = modelDictionary[ChartType.Pie];
            pieSeries.LegendLabel = "Pie Series";
            pieSeries.Definition = new PieSeriesDefinition();
            pieSeries.Definition.InteractivitySettings.HoverScope = InteractivityScope.Item;
            pieSeries.Definition.InteractivitySettings.SelectionScope = InteractivityScope.Item;
            pieSeries.Definition.InteractivitySettings.SelectionMode = ChartSelectionMode.Single;
The interactivity does not work when I do a mouse hover.
Giuseppe
Telerik team
 answered on 26 Jun 2012
2 answers
111 views
Dear Telerik Guru,

I have very small problem with RadGridView.

When Grid is load with values always first row of the grid is selected.

I dont want this. Please provide the appropriate solution.

I have checked the help but i didnt got any solution.

Thanking you,
Aavedesh
Maya
Telerik team
 answered on 26 Jun 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?