Telerik Forums
UI for WinForms Forum
3 answers
199 views

I have a grid where a hyperlink sometimes needs to be displayed as red. How is this done?

The following doesn't work.

Private Sub dgvXref_CellFormatting(sender As Object, e As CellFormattingEventArgs) Handles dgvXref.CellFormatting
If Not IsNothing(lXrefRowIdx_RAInHistory) andalso lXrefRowIdx_RAInHistory.Contains(e.RowIndex) Then
e.CellElement.ForeColor = Color.Red
End If
End Sub
Gone2TheDogs
Top achievements
Rank 1
Iron
Veteran
 answered on 14 May 2020
1 answer
153 views

hi all.

can I change waiting Style with GIF or other Animations in waiting bar control?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 May 2020
2 answers
103 views

Created a sample Winform core project and can't add any more assemblies other than the three that I started with (WinControls, WinControls.UI, and TelerikCommon). Nuget and browsing doesn't work.

What do I need to do?

Ken

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 May 2020
3 answers
120 views

 Hi everybody !

   I Have this xml that load the radLayout Control?

   <RadLayoutControl TabIndex="0">
  <Items>
    <Telerik.WinControls.UI.LayoutControlSeparatorItem Bounds="0, 0, 910, 4" Name="layoutControlSeparatorItem3" />
    <Telerik.WinControls.UI.LayoutControlItem AssociatedControlName="" DrawText="False" Text="" Bounds="0, 376, 455, 251" />
    <Telerik.WinControls.UI.LayoutControlItem AssociatedControlName="" DrawText="False" Text="" Bounds="455, 376, 455, 251" />
    <Telerik.WinControls.UI.LayoutControlItem AssociatedControlName="" DrawText="False" Text="" Bounds="0, 198, 455, 178" />
    <Telerik.WinControls.UI.LayoutControlItem AssociatedControlName="" DrawText="False" Text="" Bounds="455, 198, 455, 178" />
    <Telerik.WinControls.UI.LayoutControlItem AssociatedControlName="" DrawText="False" Text="" Bounds="0, 4, 455, 194" />
    <Telerik.WinControls.UI.LayoutControlItem AssociatedControlName="" DrawText="False" Text="" Bounds="455, 4, 455, 194" />
  </Items>
</RadLayoutControl>

  When load the layout from "this.radLayoutControl2.LoadLayout(pathTheXml);" My ideia is set in each LayoutControlItem the Chart. I try this:

    var itens = this.radLayoutControl2.Items.OfType<LayoutControlItem>().ToList();
            var layoutSeparator = this.radLayoutControl2.Items.OfType<LayoutControlSeparatorItem>().FirstOrDefault();

            foreach (var newTeamMemberItem in itens)
            {
                RadChartView radChartView = new RadChartView();
                radChartView.Title = "AAAAAA";
                radChartView.Name = "radChartView" + index;
                radChartView.ThemeName = this.radLayoutControl1.ThemeName;
                setChart(chartModelArea, radChartView, EnumTipoGrafico.Barra);

                newTeamMemberItem.Name = "nameStart";
                newTeamMemberItem.AssociatedControl = radChartView;
                newTeamMemberItem.DrawText = true;
                newTeamMemberItem.MaxSize = newTeamMemberItem.MaxSize;
                newTeamMemberItem.MinSize = newTeamMemberItem.MinSize;
                newTeamMemberItem.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
                newTeamMemberItem.TextFixedSize = 26;
                newTeamMemberItem.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
                newTeamMemberItem.TextPosition = Telerik.WinControls.UI.LayoutItemTextPosition.Top;
                newTeamMemberItem.TextSizeMode = Telerik.WinControls.UI.LayoutItemTextSizeMode.Fixed;

                if (layoutSeparator != null)
                this.radLayoutControl2.AddItem(newTeamMemberItem, layoutSeparator, LayoutControlDropPosition.Bottom);
                else
                    this.radLayoutControl2.AddItem(newTeamMemberItem, newTeamMemberItem, LayoutControlDropPosition.Bottom);
            }

 

    But this doesn't work. Can you help please. Thanks

 

   

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 May 2020
4 answers
211 views

I am working on reporting system using the Telerik GridView.When I group and export in pdf a report, I need to show only summary row for all group levels.I have attached an example of what I need to do (winform telerik)

 Does any one have an suggestions on how to do this?

kevin
Top achievements
Rank 1
 answered on 10 May 2020
2 answers
130 views

Hi.

I want change RadDock menu bar back color and height.

I can't speak english very well. 

So I attach the file.

jin
Top achievements
Rank 1
Veteran
 answered on 09 May 2020
1 answer
265 views

Hi- 

I'm trying to export from a radgridview to excel, but receiving the error:   System.EntryPointNotFoundException

I'm using the code from the documentation and have referenced all the appropriate assemblies as described in the documentation:

https://docs.telerik.com/devtools/winforms/controls/gridview/exporting-data/spread-export

 

Dim spreadExporter As GridViewSpreadExport = New GridViewSpreadExport(myradGridView1)

Dim exportRenderer As New SpreadExportRenderer()

spreadExporter.RunExport("D:\exportedFile.xlsx", exportRenderer)

I can't find anything in the forums that's been discussed on this topic in the last 5 years, so would be glad for any advice. 

Thanks,

 

I'm running Telerik WinControls version 2019.2.508.40

 

 

Stack Trace: 

System.EntryPointNotFoundException
  HResult=0x80131523
  Message=Entry point was not found.
  Source=Telerik.WinControls
  StackTrace:
   at Telerik.WinControls.ISpreadExportRenderer.RegisterFormatProvider(SpreadExportFormat exportFormat)
   at Telerik.WinControls.Export.GridViewSpreadExport.RunExport(String fileName, ISpreadExportRenderer exportRenderer)
   at Form1.CmdQuickExport_Click(Object sender, EventArgs e)

 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 08 May 2020
5 answers
167 views

Hello Telerik-Team,

I'm trying to format appointments in the timelineview of the scheduler. The following code works, but it doesn't look the way I want.

private void rsTermine_AppointmentFormatting(object sender, SchedulerAppointmentEventArgs e)
        {
            e.AppointmentElement.ShowAppointmentDescription = true;
            e.AppointmentElement.TextAlignment = ContentAlignment.MiddleCenter;
            e.AppointmentElement.ForeColor = e.AppointmentElement.BackColor.IdealTextColor();
            e.AppointmentElement.Text = e.Appointment.Start.Date == e.Appointment.End.Date ? $"{e.Appointment.Start:t} - {e.Appointment.End:t} <b>{e.Appointment.Summary}</b>" : $"{e.Appointment.Start:g} - {e.Appointment.End:g}<b>{e.Appointment.Summary}</b>";
            e.AppointmentElement.TextWrap = true;
            e.AppointmentElement.AutoEllipsis = true; ;
 
            if (e.Appointment.DataItem is IDispositionTermin termin)
            {
                e.AppointmentElement.Image = termin.CalendarSymbol;
                e.AppointmentElement.ImageAlignment = ContentAlignment.MiddleLeft;
                e.AppointmentElement.ImageLayout = ImageLayout.None;
                e.AppointmentElement.TextImageRelation = TextImageRelation.ImageBeforeText;
                e.AppointmentElement.ToolTipText = termin.TooltipText;
                //e.AppointmentElement.Padding = new Padding(5, 1, 2, 1);
            }
        }

 

I want to align both, text and image left with a bit padding on the left side and the image before the text. The appointment should look this way: < padding | image | text >. Have you any suggestions to improve the code?

Greetings from Germany,

Stephan

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 May 2020
1 answer
642 views

H

The PDF, WORD OR EXCEL documents in my file should be converted to image and then shown in the Rad panel.

Which control should I choose?

Can you give me a sample code.

Waiting for your favorable response,

Thank you.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 May 2020
2 answers
84 views
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 May 2020
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
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
DateOnlyPicker
TimeOnlyPicker
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
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?