Telerik Forums
UI for WPF Forum
3 answers
1.8K+ views
I want to change background color of a particular cell programmatic-ally in wpf telerik radgridview, I have referred  various examples which you have given that using static columns like  (telerik.GridViewDataColumn).

but in my project GridViewDataColumn are not static, it comes dynamically using collections. In this situation how we can handle this? .

please help me as soon as possible . 
Dimitrina
Telerik team
 answered on 31 Dec 2014
14 answers
216 views
Hi every one

in RichTextBox control it offers that i can add new comment for selected test by InsertCommentCommand function
how can i custom this comment by adding a custom user control instead of text control that i put my comment inside it?

thanks every one.
Ramalingam
Top achievements
Rank 1
 answered on 31 Dec 2014
2 answers
70 views
Hi there,
I've a GridView with an observablecollection, "observation" works, but not when filterdescriptors are specified.
Am I doing something wrong or it's an issue of RadDataGrid?

v2014.3

Thanks
Dimitrina
Telerik team
 answered on 30 Dec 2014
8 answers
342 views
Hi,

using c# .NET 4.5, Wpf, RadTabControl (DataContext is a TabViemodel).

I bound a VieModel on my RadTabControl. With a Command on a RadButton, i add a new TAbItem and load a UserControl
as Contet.

On initializing the USerControl i try to access the ViewModel from the TAbControl, but without any success. As you can see on
the attached File the SelectedContent is my VieModel, but the var yyy is null?

Thanks
Best Regards
Rene
ITA
Top achievements
Rank 1
 answered on 30 Dec 2014
4 answers
200 views
Environment: WPF,MVVM, Odata 2, EF6, MVC

Scenario: 

Attempting to submit a master/detail payload as a single transaction via a Telerik QueryableDataServiceCollectionView. Payload consists of 1 master record and 12 related detail records for insert.  

I have included the following code in WebApiConfig:

config.Routes.MapHttpBatchRoute(
        routeName: "WebApiBatch",
        routeTemplate: "api/$batch",
        batchHandler: new DefaultHttpBatchHandler(GlobalConfiguration.DefaultServer));

 and 

 config.Routes.MapODataRoute(
"odata",
"odata",
builder.GetEdmModel(),
batchHandler: new DefaultODataBatchHandler(GlobalConfiguration.DefaultServer));

Now on the Client side, I don't know how to tell the QueryableDataServiceCollectionView to transmit the payload as a single transaction when SubmitChanges() is called.

ViewModel Constructor:

this.odataScoreService = odataScoreService;
odataScoreService.Service.SaveChangesDefaultOptions = SaveChangesOptions.Batch;

ProjectPhaseScores = new QueryableDataServiceCollectionView<ProjectPhaseScore>(odataScoreService.Service, odataScoreService.Entity);
ProjectPhaseScores.Expand = "ScoreItems";
ProjectPhaseScores.LoadedData += OnLoadedScoreData;
ProjectPhaseScores.FilterDescriptors.Add(projectPhaseFilterDescriptor);


I am still very new to Visual Studio Development so any assistance would be greatly appreciated.


Dimitrina
Telerik team
 answered on 30 Dec 2014
1 answer
91 views
How to read content from RadRichTextBox in codebehind

Thanks
Bindu
Tanya
Telerik team
 answered on 30 Dec 2014
1 answer
161 views
I've just started working with Telerik UI for WPF and have been working with implicit styles. I got the implicit styles working but haven't been able to access the theme variations as detailed in the documentation. I inserted the variation code into my code-behind file as shown below:

 public partial class MainWindow : Window
    {
        public MainWindow()
        {
            //dark color variation
            VisualStudio2013Palette.LoadPreset(VisualStudio2013Palette.ColorVariation.Dark);
            InitializeComponent();
        }
    }

But get the following error message:

Error 1 The name 'VisualStudio2013Palette' does not exist in the current context 

Any ideas?




Bart
Top achievements
Rank 1
 answered on 29 Dec 2014
1 answer
121 views
Hi,

I get an error when I try to remove a tab item containing a RadAutoCompleteBox regardless of the content of the box -even if it's empty- it still gives an error. It breaks with an "Object is not set to an instance of an object" error trying to load RadAutoCompleteBox .cs at line 1326 0x30 bytes.

Thanks in advance.
Nasko
Telerik team
 answered on 29 Dec 2014
7 answers
222 views
For a customer project we are working with the radscheduleview (Q2 2014).

We are using specialslots to display slots with different task type. These slots can have a recurrence pattern which is supported by the Slot class.
We are able to display slots which occur daily every second day for example.

Where we run into problems is when we want to start using exceptions on the recurrencepattern. For example recurrence should be removed on a specific date.
For appointments the recurrencerule is used to add/delete exceptions of the recurrencepattern. We would like to be able to do the same for specialslots and are actually supprised that this is not a feature that is supported by the Slot class.

Is it currently possible possible to add exceptions to Slots or would it be possible too add such a feature?

Regards,
Johan Lollinga
Ideo B.V.
Johan
Top achievements
Rank 1
 answered on 29 Dec 2014
4 answers
246 views
If I want to read the product name with vb.net my.application.info in my WPF Project, I get an error message.

System.InvalidCastException wurde nicht behandelt.
  HResult=-2147467262
  Message=Das Objekt des Typs "TelerikWpfApp16.TelerikWpfApp16.Application" kann nicht in Typ "TelerikWpfApp16.Application" umgewandelt werden.
  Source=TelerikWpfApp16
  StackTrace:
       bei TelerikWpfApp16.My.MyWpfExtension.get_Application() in c:\users\hfrede\documents\visual studio 2013\Projects\TelerikWpfApp16\TelerikWpfApp16\My Project\MyExtensions\MyWpfExtension.vb:Zeile 20.
       bei TelerikWpfApp16.MainWindow.btnOK_Click(Object sender, RoutedEventArgs e) in c:\users\hfrede\documents\visual studio 2013\Projects\TelerikWpfApp16\TelerikWpfApp16\MainWindow.xaml.vb:Zeile 17.
       bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
...
Dimitrina
Telerik team
 answered on 29 Dec 2014
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
DataPager
PersistenceFramework
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?