Telerik Forums
UI for WinForms Forum
3 answers
89 views

VB please,

 

need to access let's say for example 'txtEmployeeName' in the level of the user control that is my insert form in my radscheduler.

 

I want to access this control from the level of the page that contains the radscheduler, not form the usercontrol in the Appointment Insert method.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Jun 2017
0 answers
117 views
Hi

I'm using Office2010SilverTheme. The Font of UI Controls in English and Farsi culture is different.
Where is this default is set? How can I set a new Font for controls in Farsi culture?

Cheers
Saeed
Top achievements
Rank 1
 asked on 18 Jun 2017
1 answer
165 views

Hello dear,

Please check the attached file, i do not know if i used wrong property to have title bar with blurry text sometimes, please i need to fix this issue, thanks.

 

 

Ammar
Top achievements
Rank 1
 answered on 18 Jun 2017
3 answers
419 views

Hi!

Can somebody point what I am doing wrong in this example of hierarchy relations in RadGridView: https://1drv.ms/u/s!Av62kAKK6E4Ugu4REmKw6AbGEcFTNw?

If the child template would create automatically the columns it would work fine, but some columns have to be invisible.

Thanks!

Dimitar
Telerik team
 answered on 16 Jun 2017
3 answers
197 views

Hello everybody

I need to hide the digital signature panel in the RadPdfViewer control.

I used the HideSignaturePanel () method but it does not work.
I also modified the property: Visibility (Collapsed / Hidden) in all elements of PdfSignatureElement but it does not work too.

The panel still appears when I load a digitally signed pdf.

Thanks

Dimitar
Telerik team
 answered on 16 Jun 2017
7 answers
1.0K+ views
Hello,

I'm looking to programmatically change the alignment of the dropdown box for my RadComboBox. I'd like the vertical scrollbar to align with the dropdown arrow, and the text to expand further left. Essentially have a top-right alignment instead of a top-left one.

Thanks!
Jeremy
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Jun 2017
10 answers
319 views
  • Hello,
    I am a new user trying to follow along with the RadScheduler webinar introduction.  I have everything set up to the point of database binding.  I am following through the examples, set up the connections to the sql server, edited the connections, but when I get as far as binding the radscheduler to the BindingSource, the RadScheduler is invisible during runtime (however if you right click where it is supposed to be you still get a "New Appointment" menu.  It seems that all off the hard coded resources and all the properties set upon form load are not taking effect to the radscheduler ONLY if I am using the smart tag to bind the bindingSource.

    Any ideas of what I may be overlooking?
    Thanks!
  • Dess | Tech Support Engineer, Principal
    Telerik team
     answered on 16 Jun 2017
    3 answers
    254 views

    Hi,

    I need to localize the winforms rad grid view control and used the source code displayed on the following page to set up the initial localization

    http://docs.telerik.com/devtools/winforms/gridview/localization/localization

    There's a lot of strings in there and obviously I don't know which functions and parts of the grid trigger many of the strings but from my very brief experience

    1) The "RadGridStringId.NoDataText: return "No data to display";" case statement isn't called.

    2) If I activate the RadGridLocalizationProvider then the search box on the top left of the grid displays "SearchRowTextBoxNullText". If I don't activate the localization provider then the search box displays "Enter text to search".

    3) Looking at the code in the telerik document linked to above there's many strings returned that appear to be variable names rather than string. SearchRowTextBoxNullText is one example, but almost all the case statements beginning with "SearchRow...." appear to be variable names. The same with some of the "ConditionalFormattingPropertyGrid..." case statements.

    I did a dumb copy and conversion to return strings held in my resx files, but felt very uncomfortable about the strings that don't appear to be real english words.

    I can't plug this into production code until Im sure there's no problems and that Im understanding how it works.

    Can you help please.
    Hristo
    Telerik team
     answered on 16 Jun 2017
    6 answers
    264 views

    Hello.  I'm trying to style a series spline to have a thin borderwidth to set it apart from the other splines on the chartview, but no matter what value I set the BorderWidth property to, the spline is the same thickness.  Intellisense for BorderWidth mentions that BorderBoxStyle.FourBorders must be used, and the series is normally in SingleBorder, but setting it to FourBorders also didn't help.  I also tried to set the BorderDashStyle to dashes, just to see if other property changes would be respected, but the line is still solid.  The BorderColor and Spline properties appear to be respected.  Any ideas what I'm doing wrong?

    Here's the code to create and add the series, as well as a screenshot of the chart.  The series in question is to the top (high) red spline.

    Thanks!

     

        ScatterLineSeries x3PriceEnvelopeHighSeries = new ScatterLineSeries();
                            x3PriceEnvelopeHighSeries.XValueMember = "FaceWeight";
                            x3PriceEnvelopeHighSeries.YValueMember = "x3Price";
                            x3PriceEnvelopeHighSeries.DataSource = curvePointsHigh;
                            x3PriceEnvelopeHighSeries.BorderColor = Color.Red;
                            x3PriceEnvelopeHighSeries.BackColor = Color.Red;
                            x3PriceEnvelopeHighSeries.ShowLabels = false;
                            x3PriceEnvelopeHighSeries.Spline = true;
                            //x3PriceEnvelopeHighSeries.BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.FourBorders;
                            x3PriceEnvelopeHighSeries.BorderWidth = (float)0.25;
                            //x3PriceEnvelopeHighSeries.BorderLeftWidth = (float)0.25;
                            //x3PriceEnvelopeHighSeries.BorderTopWidth = (float)0.0;
                            //x3PriceEnvelopeHighSeries.BorderRightWidth = (float)0.0;
                            //x3PriceEnvelopeHighSeries.BorderBottomWidth = (float)0.0;
                            x3PriceEnvelopeHighSeries.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
                            chart.Series.Add(x3PriceEnvelopeHighSeries);
                            x3PriceEnvelopeHighSeries.IsVisibleInLegend = false;

    Hristo
    Telerik team
     answered on 16 Jun 2017
    7 answers
    242 views

    Dear, apologies for the case since I find myself using the google translate.

    I'm trying to export information from a gridview by adding to this headers and footer at the time of launching the xlsx, so following the thread http://docs.telerik.com/devtools/winforms/gridview/exporting-data/how -to / add-header-and-footer-to-the-exported-document, I have not been able to do it.

    Attached code, please give me a hand. Thank you

     

    Private Sub cmdExportarGestion_Click(sender As System.Object, e As System.EventArgs) Handles cmdExportarGestion.Click
            'Try
     
     
            Dim sfd As New FolderBrowserDialog()
            Dim ret As DialogResult
     
            With sfd
                .Reset()
                .Description = " Seleccionar una carpeta "
                .SelectedPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop)
                .ShowNewFolderButton = False
                ret = .ShowDialog()
            End With
     
            If ret = Windows.Forms.DialogResult.OK Then
                gbGeneral.Enabled = False
                Me.Cursor = Cursors.WaitCursor
                'For Each item In cboVendedores.Items
                'CargarFDetallePorcentaje(dgExportar, cboGestiones.Text, item("CODIGO").ToString)
                CargarFDetallePorcentaje(dgExportar, cboGestiones.Text, cboVendedores.Text)
                Select Case chkCabeceras.CheckState
                    Case CheckState.Checked
                        Dim spreadExporter As New GridViewSpreadExport(dgMaestroDetalle)
                        Dim exportRenderer As New SpreadExportRenderer()
                        AddHandler exportRenderer.WorkbookCreated, AddressOf exportRenderer.CreateWorkbook
                        spreadExporter.SheetName = "COMISION VENDEDOR 05"
                        spreadExporter.RunExport(sfd.SelectedPath & "\123.xlsx", exportRenderer)
     
                        Dim solidPatternFill As New PatternFill(PatternType.Solid, System.Windows.Media.Color.FromRgb(46, 204, 113), Colors.Transparent)
                        Dim textFormat As New CellValueFormat("@")
     
     
                        Dim workbook As New Workbook()
                        'Dim worksheet As Worksheet = workbook.Worksheets.Add("COMISION")
     
     
     
     
                        Dim worksheet As Worksheet = workbook.Sheets.Add(0) 'TryCast(workbook.Sheets(0), Worksheet)
                        Dim range As New CellRange(0, 0, 1, dgMaestroDetalle.Columns.Count - 4)
                        Dim header As CellSelection = worksheet.Cells(range)
                        If header.CanInsertOrRemove(range, ShiftType.Down) Then
                            header.Insert(InsertShiftType.Down)
                        End If
                        header.Merge()
                        header.SetFormat(textFormat)
                        header.SetHorizontalAlignment(Telerik.WinControls.UI.RadHorizontalAlignment.Center)
                        header.SetVerticalAlignment(Telerik.WinControls.UI.RadVerticalAlignment.Center)
                        header.SetFontFamily(New ThemableFontFamily("Rockwell"))
                        header.SetFontSize(24)
                        header.SetFill(solidPatternFill)
                        header.SetValue("Nortwind Products Details")
     
     
                    Case CheckState.Unchecked
                        'Dim spreadExporter As New ExportToExcelML(dgMaestroDetalle)
                        'spreadExporter.ExportHierarchy = True
                        'spreadExporter.ExportVisualSettings = True
                        'spreadExporter.RunExport(sfd.SelectedPath & "\Gestion_" & cboGestiones.Text & "_Vendedor_" & item("CODIGO").ToString & ".xls")
                End Select
     
                'Next
            Else
                Exit Sub
            End If
            Me.Cursor = Cursors.Default
            sfd.Dispose()
            MsgBox("Exportacion exitosa..", MsgBoxStyle.Information, MsgboxTitle)
            gbGeneral.Enabled = True
            'Catch ex As Exception
            '    MsgBox(ex.Message, MsgBoxStyle.Critical, MsgboxError)
            'End Try
        End Sub
    End Class
    Dimitar
    Telerik team
     answered on 16 Jun 2017
    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
    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
    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
    +? more
    Top users last month
    Jay
    Top achievements
    Rank 3
    Iron
    Iron
    Iron
    Benjamin
    Top achievements
    Rank 3
    Bronze
    Iron
    Veteran
    Radek
    Top achievements
    Rank 2
    Iron
    Iron
    Iron
    Bohdan
    Top achievements
    Rank 2
    Iron
    Iron
    Richard
    Top achievements
    Rank 4
    Bronze
    Bronze
    Iron
    Want to show your ninja superpower to fellow developers?
    Top users last month
    Jay
    Top achievements
    Rank 3
    Iron
    Iron
    Iron
    Benjamin
    Top achievements
    Rank 3
    Bronze
    Iron
    Veteran
    Radek
    Top achievements
    Rank 2
    Iron
    Iron
    Iron
    Bohdan
    Top achievements
    Rank 2
    Iron
    Iron
    Richard
    Top achievements
    Rank 4
    Bronze
    Bronze
    Iron
    Want to show your ninja superpower to fellow developers?
    Want to show your ninja superpower to fellow developers?