Telerik Forums
UI for WinForms Forum
5 answers
118 views
Hello, I am evaluating your demo software and found a peculiar bug in a vertical gauge that has a needle indicator. It is the gauge that has the needle indicator that points at a value of 66 in the 'Select a gauge type from gallery' window. If I set the RangeEnd property of the gauge to 14 and the RangeStart to 13, it correctly draws the the 13. If I set the RangeEnd to any number greater than 13 but less than 14, the RangeStart text incorrectly draws. It appears as if multiple paint events are occurring on top of each other on the RangeStart text property. It is easy to replicate. Unfortunately this is a range I need to operate in as I plan to monitor a barometric pressure sensor that reads between 13 and 14 and need more fine detail than a difference of 1 gives me (14 - 13). Ideally, I'd want the RangeStart to be at 13.4 and RangeEnd to be at 13.8.
Marcy
Top achievements
Rank 1
 answered on 19 Jun 2016
2 answers
74 views

Hello,

I made some tests with the trial version (2015.02...) shipped with Progress Developer Studio and with this Version the localization worked. Now I purchased a regular Version (2016.02.....) and installed it. I build a complete new Form with a RadDock (correct version 2016.02...) in it an tried the localization in the following steps, which work with the 2015.02 Version

1. in the Using section:

    USING Telerik.WinControls.UI.Localization.RadDockLocalizationProvider.

2. in the Constructor:

    RadDockLocalizationProvider:CurrentProvider = NEW Basis.DockGermanLocalization().

After typing "RadDockLocalizationProvider:" the Dev.Studio proposes me the property "CurrentProvider". The form compiles with no errors. Running the form gives me then following error:

"System.MissingMethodException: The method "Telerik.Controls.UI.Localization.RadDockLocalizationProvider.CurrentProvider" not found"

What did I wrong? Thank you for your answer in advance

Regards

Jürgen

 

Dimitar
Telerik team
 answered on 17 Jun 2016
1 answer
95 views

    Dear Telerik.

 

Is there a way to restrict to select one row only at one time?

Thanks,

 

Nishan.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Jun 2016
1 answer
167 views

Hi,

I'm currently setting up a PivotGrid where I want to be able to export the content to Excel and PDF.

I'm using the RadSpreadProcessing-library for this, and this works great locally (http://docs.telerik.com/devtools/winforms/pivotgrid/exporting-data/spread-export).

 

However, when the build is sent to the build server, I get an error that it's missing an assembly reference for "The type or namespace name 'SpreadExportRenderer' could not be found (are you missing a using directive or an assembly reference?)"

 

I've included all the assemblies mentioned in the link above, what am I missing? is the SpreadExportRenderer found somewhere else?

 

 

Hristo
Telerik team
 answered on 17 Jun 2016
6 answers
301 views

Hello,

I'm using the very good built in serch function AllowSearchRow.
However I have it hidden by default and made it possible to use via a menu and a RadShortcut.
When the user clicks the menu (button in my sample below) I would like the SearchRow to show and put focus to the searchbox textbox. But the searchCell is null when the SearchRow is shown.
I suppose I need to put the AllowSearchRow = true and the searchCell.SearchTextBox.Focus() in two different Events, but which ones?

Any suggestions appretiated!

My sample:

using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Telerik.WinControls.UI;
 
namespace SearchTextBoxFocus
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
 
        private void Form1_Load(object sender, EventArgs e)
        {
            List<MyObject> myList = new List<MyObject>();
            myList.Add(new MyObject(1, "Outdoor"));
            myList.Add(new MyObject(2, "Hardware"));
            myList.Add(new MyObject(3, "Tools"));
            myList.Add(new MyObject(4, "Books"));
            myList.Add(new MyObject(5, "Appliances"));
            radGridView1.DataSource = myList;
        }
 
        private void button1_Click(object sender, EventArgs e)
        {
            this.radGridView1.AllowSearchRow = !this.radGridView1.AllowSearchRow;
 
            GridSearchCellElement searchCell = radGridView1.TableElement.GetCellElement(radGridView1.MasterView.TableSearchRow, null) as GridSearchCellElement;
            if (searchCell != null)
            {
                searchCell.SearchTextBox.Focus();
            }
        }
    }
}
public class MyObject
{
    public MyObject(int myInt, string myString)
    {
        _myInt = myInt;
        _myString = myString;
    }
    private int _myInt;
    public int MyInt
    {
        get { return _myInt; }
        set { _myInt = value; }
    }
    private string _myString;
    public string MyString
    {
        get { return _myString; }
        set { _myString = value; }
    }
}

Jan
Top achievements
Rank 1
 answered on 16 Jun 2016
1 answer
249 views

As I can build a table in code that handles at will the borders of the cells. Not manage to control how I want the borders.

 

TableBorders bordetabla = new TableBorders();
bordetabla.SetBottom(new Border(Telerik.WinForms.Documents.Model.BorderStyle.Single, Telerik.WinControls.RichTextEditor.UI.Colors.Black));
bordetabla.SetLeft(new Border(Telerik.WinForms.Documents.Model.BorderStyle.None));
bordetabla.SetRight(new Border(Telerik.WinForms.Documents.Model.BorderStyle.None));
bordetabla.SetTop(new Border(Telerik.WinForms.Documents.Model.BorderStyle.None));
bordetabla.SetInsideHorizontal(new Border(Telerik.WinForms.Documents.Model.BorderStyle.None));
bordetabla.SetInsideVertical(new Border(Telerik.WinForms.Documents.Model.BorderStyle.None));
 
 
TableCellBorders bordeBajo = new TableCellBorders();
bordeBajo.SetBottom(new Border(Telerik.WinForms.Documents.Model.BorderStyle.Single, Telerik.WinControls.RichTextEditor.UI.Colors.Black));
bordeBajo.SetLeft(new Border(Telerik.WinForms.Documents.Model.BorderStyle.None));
bordeBajo.SetRight(new Border(Telerik.WinForms.Documents.Model.BorderStyle.None));
bordeBajo.SetTop(new Border(Telerik.WinForms.Documents.Model.BorderStyle.None));
bordeBajo.SetInsideHorizontal(new Border(Telerik.WinForms.Documents.Model.BorderStyle.Single, Telerik.WinControls.RichTextEditor.UI.Colors.Black));
bordeBajo.SetInsideVertical(new Border(Telerik.WinForms.Documents.Model.BorderStyle.None));
 
 
TableCellBorders Sinborde = new TableCellBorders();
Sinborde.SetBottom(new Border(Telerik.WinForms.Documents.Model.BorderStyle.None));
Sinborde.SetLeft(new Border(Telerik.WinForms.Documents.Model.BorderStyle.None));
Sinborde.SetRight(new Border(Telerik.WinForms.Documents.Model.BorderStyle.None));
Sinborde.SetTop(new Border(Telerik.WinForms.Documents.Model.BorderStyle.None));
Sinborde.SetInsideHorizontal(new Border(Telerik.WinForms.Documents.Model.BorderStyle.None));
Sinborde.SetInsideVertical(new Border(Telerik.WinForms.Documents.Model.BorderStyle.None));
 
TableCellBorders todoborde = new TableCellBorders();
todoborde.SetBottom(new Border(Telerik.WinForms.Documents.Model.BorderStyle.Single, Telerik.WinControls.RichTextEditor.UI.Colors.Black));
todoborde.SetLeft(new Border(Telerik.WinForms.Documents.Model.BorderStyle.Single, Telerik.WinControls.RichTextEditor.UI.Colors.Black));
todoborde.SetRight(new Border(Telerik.WinForms.Documents.Model.BorderStyle.Single, Telerik.WinControls.RichTextEditor.UI.Colors.Black));
todoborde.SetTop(new Border(Telerik.WinForms.Documents.Model.BorderStyle.Single, Telerik.WinControls.RichTextEditor.UI.Colors.Black));
todoborde.SetInsideHorizontal(new Border(Telerik.WinForms.Documents.Model.BorderStyle.Single, Telerik.WinControls.RichTextEditor.UI.Colors.Black));
todoborde.SetInsideVertical(new Border(Telerik.WinForms.Documents.Model.BorderStyle.Single, Telerik.WinControls.RichTextEditor.UI.Colors.Black));
 
 
 
 
 
Table tabla;
Paragraph parrafo;
Span bloque;
TableRow fila;
TableCell Celda;
 
tabla = new Table();
tabla.LayoutMode = TableLayoutMode.AutoFit;
tabla.StyleName = RadDocumentDefaultStyles.DefaultNormalTableStyleName;               
//tabla.Borders = bordetabla;
 
 
 
fila = new TableRow();
Celda = new TableCell();
Celda.ColumnSpan = 2;
Celda.Borders = bordeBajo;
parrafo = new Paragraph();
bloque = new Span();
bloque.Text = "PRIMEROS PLATOS";
parrafo.Inlines.Add(bloque);
Celda.Blocks.Add(parrafo);
fila.Cells.Add(Celda);
tabla.Rows.Add(fila);
 
 
fila = new TableRow();
 
Celda = new TableCell();
//Celda.Borders = Sinborde;
parrafo = new Paragraph();
bloque = new Span();
bloque.Text = "2";
parrafo.Inlines.Add(bloque);
Celda.Blocks.Add(parrafo);
fila.Cells.Add(Celda);
 
 
Celda = new TableCell();
//Celda.Borders = Sinborde;
parrafo = new Paragraph();
bloque = new Span();
bloque.Text = "Naranjas de la china";
parrafo.Inlines.Add(bloque);
Celda.Blocks.Add(parrafo);
fila.Cells.Add(Celda);
 
tabla.Rows.Add(fila);

Hristo
Telerik team
 answered on 16 Jun 2016
5 answers
449 views
hi there....

I have one textbox, then i want the autocomplete connect that to mysql database...
so when the user type something, the column in my table on sql database will appear....
Hristo
Telerik team
 answered on 16 Jun 2016
1 answer
132 views

Hi.. this is Deo due to my personal telerik account didn't have any purchase of the product i ask my boss to help me with it and he created this account so i can post my issue on telerik winform..

 

Now the appointment is properly showing up on the radreminder my problem now is using the Open Item button because i have a custom editappointmentdialog and i didn't enable to inherit the overload of constructor to allow the IEvent and ISchedulerData parameter to be past. here is my code.

Private Sub radAppointmentReminder_ItemOpened(ByVal sender As System.Object, ByVal e As Telerik.WinControls.UI.RadOpenItemArgs) Handles radAppointmentReminder.ItemOpened
 
       If Me.appointmentDialog Is Nothing Then
           ' Me.appointmentDialog = New frmCustomAppointmentEditForm()
           Me.appointmentDialog = New EditAppointmentDialog(CType(e.RemindObject, IEvent), Me.radSchedule)
       End If
 
       Me.appointmentDialog.ShowDialog()
         
   End Sub

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Jun 2016
3 answers
155 views

Hi,

Currently process works as below
1. On button click, new tool window(created dynamically) opened with content.

private ToolWindow CreateToolWindowPanel(string title)
        {
            var panel = new ToolWindow
            {
                CloseAction = DockWindowCloseAction.Close,
                Text = title + " " + counter++,
                Name = "tw " + counter++,
                ToolCaptionButtons = ToolStripCaptionButtons.Close,
            };
            return panel;
        }

on Button MouseDown following code written

var bounds = new Rectangle(Cursor.Position.X - 30, Cursor.Position.Y - 10, 400, 400);
var panel = CreateToolWindowPanel("pnl");
radDock1.FloatWindow(panel, bounds);

2. After the tool window is shown, User docking it (by dragging) to existing radDaocking control.

 

Requirement for changes in this process is Both step need to be done in single click.

On button click new tool window opened with dragging mode(don't release button click and drag tool window), and docked in existing radDaocking control on release of button click.

Thanks

Hristo
Telerik team
 answered on 15 Jun 2016
1 answer
121 views

Hi,

 

Is there any way for implementing editing RadDock trabbed document tabs like radPageView(http://docs.telerik.com/devtools/winforms/pageview/how-to/editing-page-tabs)?

Can any one help for this Issue?

Thanks

Dimitar
Telerik team
 answered on 15 Jun 2016
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
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
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
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?