Telerik Forums
UI for WinForms Forum
0 answers
71 views

hi

is it possible set different shape for each legend?

in fact each series have different shape for points,i want the shape of legend is same 

asghar
Top achievements
Rank 1
 asked on 07 Jan 2019
16 answers
474 views
Unable to get the data format and alignment mentioned in Grid, while exporting to pdf. Please find the attached pdf and grid image. I am adding the columns  to grid from code behind by this way,

GridViewDataColumn[] grdColumn = new GridViewDataColumn[ds.Tables[0].Columns.Count];
foreach (DataColumn dColumn in ds.Tables[0].Columns)
{
    GridViewTextBoxColumn grdCol = new GridViewTextBoxColumn();
        grdCol.FieldName = dColumn.Caption;
        grdCol.HeaderText = dColumn.Caption;
        string DisplayFormat = SchB.Get_DisplayFormat(ReportID, dColumn.Caption);
        string TempDF = string.Empty;
                                        

        if (string.Compare(Convert.ToString("" + dColumn.DataType), "System.String", true) == 0)
        {
            grdCol.TextAlignment = ContentAlignment.MiddleLeft;
        grdCol.FormatString = "{0:0}";
        }
        else if (string.Compare(Convert.ToString("" + dColumn.DataType), "System.Decimal", true) == 0)
        {
            grdCol.TextAlignment = ContentAlignment.MiddleRight;
        }
    else if (string.Compare(Convert.ToString("" + dColumn.DataType), "System.DateTime", true) == 0)
        {
            grdCol.TextAlignment = ContentAlignment.MiddleRight;
            grdCol.FormatString = "{0:dd/MM/yyyy}";
        }
        else
        {
            grdCol.TextAlignment = ContentAlignment.MiddleCenter;
        }
                                        
        grdColumn[tempCount++] = grdCol;
}
gridUserReport.Columns.AddRange(grdColumn);

Regards,
Sakthivel
Jaco Van Zyl
Top achievements
Rank 1
 answered on 06 Jan 2019
14 answers
1.7K+ views
Hello,
I would create a triangle type figure and add it to RadDiagram control all this programmatically, can anyone help?

I'm using the class RadDiagramShape the problem is not that I put in the ElementShape property, I welcome your comments.

Regards.
asghar
Top achievements
Rank 1
 answered on 05 Jan 2019
1 answer
125 views

I have radgridview with 3 level hierarchy, the third hierarchy binding from query using pivot table, data are appear in grid well but cannot edit column generate from query with pivot table, so how to make it editable?

Thanks in advanced

Hristo
Telerik team
 answered on 04 Jan 2019
1 answer
136 views

Hello everyone,

I am using the RadScheduler and RadSchedulerNavigator control with a Custom Appointment Class.

I would like to be able to add and remove columns to the default SearchGrid based on the fields that I added to my Custom Appointment Class.

I would also like that the search process handle this customs fields.

 

It is possible to edit SearchGrid Columns and handle custom fields in the search process? - How to do that?

 

I see SchedulerNavigatorElement.SearchGrid gives you access to the search grid. But I'm not able to Customize the search grid columns.

 

This is the documentation that i have used to customize appointment  (Just to be clear as much as possible about custom appointment class):

https://docs.telerik.com/devtools/winforms/controls/scheduler/data-binding/binding-to-custom-fields

 

Any help will be very appreciated.

 

Thank to all and have a holiday time!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 31 Dec 2018
1 answer
324 views

I am using RadRibbonBar which have several Tabs. For one tab, instead of displaying the my group, I need to attach a action to execute. Currently, when I click on any tab, the highlighted area will be visible. But for the particular settings tab, I don't need to tdisplay this area. But I need to attach an action.

 

Thanks in advance.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 31 Dec 2018
3 answers
185 views

Hello everyone.

        When I run the program, I double-click documentwindow1 in the RadDock control; documentwindow1 pops up, how can I lock documentwindow1 to keep it from popping up?

       As shown in the figure1.

Hristo
Telerik team
 answered on 31 Dec 2018
1 answer
152 views

Hi, 

Can you take a look the Demo UI program for the winform docking, 

I save the layout as shown in "2018-12-28 15_05_20-Form1.png". 

Then i load the saved layout, it is shown in "2018-12-28 15_05_52-Form1.png". 

The floating green window is resized to a bigger size, can you take a look how to make it consistent after the layout is loaded ? 

Thanks

 

Hristo
Telerik team
 answered on 31 Dec 2018
1 answer
226 views

HI

I have met a problem about WinForm ActiveControl in Telerik Control - RadDock.

Reintroduce steps :

1.Place TextBox1, TextBox2 on Form.
2a.Place a RadDock on Form.
2b.RadDock task - Dock New Window to Left - toolWindow1
2c.RadDock task - Add Tabbed Document - documentWindow1
3a.Place TextBox3 on toolWindow1.
3b.Place TextBox4 on documentWindow1.

Run the application and test the ActiveControl state (focus the control by control),
ActiveControl of TextBox1 and TextBox2 is CORRECT,
but ActiveControl of TextBox3 and TextBox4 was WRONG.
(see attachment - Telerik ActiveControl err1.png).

Why the ActiveControl are not TextBox3/TextBox4 ? 
And Is there have any solution to fix that ?

Code :


    private void Timer1_Tick(object sender, EventArgs e)
    {
      Control CurrentActiveControl = ActiveControl;
      string sActiveControlName, sActiveControlString;
      //
      sActiveControlName = (CurrentActiveControl != null) ? CurrentActiveControl.Name : "(unknown)";
      sActiveControlString = (CurrentActiveControl != null) ? CurrentActiveControl.ToString() : "(none)";
      //
      listBox1.Items.Insert(0, DateTime.Now.ToString("hh:mm:ss - ") + sActiveControlName + ", " + sActiveControlString);
    }

*Visual Studio 2015 Enterprise Update 3
*Telerik UI for WinForms R1 2018

Best regards

Chris

 

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Dec 2018
3 answers
186 views

I'm not sure the exact approach, but I'm looking to design a calendar where it imports multiple iCal files and displays schedule in a single calendar.  Each ics file would represent a different entity, and I would want to use custom colors to block events for each.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Dec 2018
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)
Form
Chart (obsolete as of Q1 2013)
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
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
CollapsiblePanel
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?