Telerik Forums
UI for WinForms Forum
1 answer
252 views
Hi,
  Is there any way to change the language of RadScheduler control?
I'm desing a multilanguage aplication and I need a way to choose the language of all aplication, including my label and the default labels, buttons, etc of the RadContros.

Thanks.
Dobry Zranchev
Telerik team
 answered on 19 May 2010
1 answer
162 views
Hi,
   The TextBox's backcolor is the same no matter it's in editor state or readonly state, and i can't tell it's state from it's appreance.
I want it's backcolor changes when it turns to readonly state. Is there any easy way to do this?

Looking forward to your replay.

BRS
 zeng
Nikolay
Telerik team
 answered on 19 May 2010
2 answers
158 views
I have a form in a WindowsApplication with just a RadTreeNode on it.


Imports System  
Imports Telerik.WinControls.UI  
 
Public Class Form1  
    Inherits Form  
    Private Sub Form1_Load(ByVal sender As System.ObjectByVal e As System.EventArgs) Handles MyBase.Load  
        InitializeComponent()  
 
        Dim node As RadTreeNode = RadTreeView1.Nodes("Email Contacts").Nodes.Add("Bob Tony")  
        node.Selected = True 
        RadTreeView1.Nodes("Email Contacts").Nodes.Add("Sue Winchell")  
        RadTreeView1.Nodes("Email Contacts").Nodes.Add("Lui Sang")  
        RadTreeView1.Nodes("Lists").Nodes.Add("Priorities")  
        RadTreeView1.Nodes("Lists").Nodes.Add("Opportunities")  
        RadTreeView1.Nodes("Lists").Nodes.Add("Issues")  
    End Sub 
End Class 

This is from your example.
On reaching this line:
        Dim node As RadTreeNode = RadTreeView1.Nodes("Email Contacts").Nodes.Add("Bob Tony")  
I keep getting the error:
System.NullReferenceException was unhandled
  Message="Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt."

What's happening and how do I correct it?

Thanks in advance
Karl
 
Victor
Telerik team
 answered on 19 May 2010
1 answer
201 views
Hi,

I have problems with VS2010 and the newest Version with the GridView. I can't set the Font and other properties, because the CellElement is null. The same code works with VS2008 and the GridView from the last year.

Is that a known problem?

Greetings

Konrad


 

 

private void radGridView1_ViewRowFormatting(object sender, RowFormattingEventArgs e)

 

{

...
...

e.RowElement.GradientStyle =

 

GradientStyles.Solid;

 

e.RowElement.RowInfo.Cells[

 

"Nr"].CellElement.Font = _einzelRingFontNr;

 

e.RowElement.RowInfo.Cells[

 

"Ring"].CellElement.Font = _einzelRingFontRing;

 

e.RowElement.RowInfo.Cells[

 

"Teiler"].CellElement.Font = _einzelRingFontTeiler;

 

e.RowElement.RowInfo.Cells[

 

"Pos"].CellElement.Font = _einzelRingFontPosition;

 

Jack
Telerik team
 answered on 19 May 2010
1 answer
70 views
Hi All

I have an app using the Office2010 theme.

But we prefer the desert theme for our tree view. I used this code to force the theme

        private static void ForceTreeviewTheme(RadTreeView tv)
        {
           // tv.EnableTheming = false;
            tv.ThemeName = "Desert";
            tv.RootElement.ForceReApplyStyle();
            tv.RootElement.ForceApplyTheme();
        }

It worked ok but the node back colours were still Office2010 grey and I cannot see the node selection colour when I click and select a node.
If I do not disable theming or re-enable it I get the Office 2010 theme again, making me think I have not actually applied the theme at all!

What is the best way to achieve this goal?

Thanks
Victor
Telerik team
 answered on 19 May 2010
1 answer
105 views
Hi,

I am filtering a checkbox column. When Filter is active, logically, only rows, which the checkbox column accept the filter criterium, are shown.

The problem is..., ¿where are the rest rows??? ¿Where are the rows which aren't shown?

Only a checkbox can be active. The checkbox column can not have two rows with the checkbox cell set to true.

Then, when the user click the checkbox and the value is true, I programaticly find in the all gridview's row and find the other row whose checkbox cell is true. I set this cell to false. This works fine.

The problem is when the filter is active, if the filter is filtering the checkbox column when the cell is set to false, when the user set to true the row, I can not find the other row whose checkbox cell is set to true.

¿How do I this ???

I am thinking not permit to the user edit rows when filter is active. But..., ¿How do I know when the filter is active?

Thank you,

Fernan
Julian Benkov
Telerik team
 answered on 19 May 2010
5 answers
208 views
Hi,

I have GridView which is a flat structure allowing the user to group by most of the columns.

for e.g. i am trying to show the task list of the user where I have

Priority, Task Name, Task Desc, Source, Count as columns
High, Process A, Account:123, Mobile, 20 as row
High, Process A, Account 124, Web, 40 as row
Low.....
Med....

my questions are:
1. can we disqualify some of the columns to be used by groupby by the user.
2. When I group by priority column, I shoud get the count next to the group by column, I have enclosed the ping with the image and what I want (marked in red). I want to get rid of the count column in the display and the summary row.

any advice with sample program will of great help and thanks in advance.

Regards,
Khizar
Khizar Khan
Top achievements
Rank 1
 answered on 19 May 2010
5 answers
192 views
I cant get my custom appointment class to be related with my resources.
I follow the forum examples about custom appointment class.

In the form  I do the following:
public frmScheduler() 
        { 
            InitializeComponent(); 
 
            this.schedQuickTasks.AppointmentFactory = new QuickTaskFactory(); 
             
            this.schedQuickTasksBindingSource.EventProvider.AppointmentFactory = schedQuickTasks.AppointmentFactory;       
            #region QuickTask custom dialog mappings 
            AppointmentMappingInfo appointmentMappingInfo = schedQuickTasksBindingSource.EventProvider.Mapping as AppointmentMappingInfo; 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("ID""ID")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("ProjectID""Project_ID")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("Description""Description")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("TaskTypeID""TaskType_ID")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("CustomerDeadline""CustomerDeadline")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("OurDeadline""OurDeadline")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("UserID""User_ID")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("CustomerImportance""CustomerImportance")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("OurImportance""OurImportance")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("OrderForUser""OrderForUser")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("TimeEstimation""TimeEstimation")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("Comments""Comments")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("TaskStatus""Status")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("DateEntered""DateEntered")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("AssignerID""AssignerUser_ID")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("Start""DateEntered")); 
             
            appointmentMappingInfo.ResourceId = "User_ID"
            #endregion 
            #region Resources custom mapping 
            ResourceMappingInfo resourceMappingInfo = new ResourceMappingInfo(); 
            resourceMappingInfo.Id = "User_ID"
            resourceMappingInfo.Name = "FullName"
            schedQuickTasksBindingSource.ResourceProvider.Mapping = resourceMappingInfo; 
            #endregion 
 
        } 

the Appointment class is the "QuickTask" and  the Users are the resources.
If I disable resource grouping the Appointments are displayed.If I enabled it,only the resources are shown.
Am I missing something?

Thank you very much for your time





Anastasios
Top achievements
Rank 1
 answered on 19 May 2010
1 answer
107 views
Hi,

I have a problem when I try to create pie chart. I have two series in my chart. Each series have data from January to December.  That is say when the series type is Bar, there are 12 labels on XAxis. It's correct. But when I try to change the type to Pie. The RadChart can only display two pies, each pie displays the value of the 12 months. That is not what I want...

My scenario is the pie chart can display 12 pies, each pie can display the value of the two series data of the month.

For example: I have two series "Series1" and "Series2", the value in May is "50" and "30". The pie chart should display 12 pies and in the fifth pie, it should display the percentage of 50 and 30.

Could anyone help me? Thank you very much.
Dwight
Telerik team
 answered on 19 May 2010
3 answers
65 views
Hi,

We have some list boxes with several thousand (some over 100,000) retuned records. Obviously this can be very slow to load all these items in a list box (and a straight list of this many items is pretty hard to navigiate!). What we would like is a sublist to return after an X numbers of chars have been typed and only the matching results returned.

Could you advise on how this could be acomplished.

Thanks
Victor
Telerik team
 answered on 18 May 2010
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?