Telerik Forums
UI for WinForms Forum
2 answers
125 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
153 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
258 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
155 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
326 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
211 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
726 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
115 views
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 May 2020
3 answers
192 views
Hi everyone, why my printed document is not same as print preview? Here I attach my snap code and the result.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 May 2020
2 answers
281 views

Hello!

I'm using RadPageView in my app. In my code I set the AutoScroll property.

foreach( RadPageViewPage page in radPageView2.Pages)  
            {  
                page.AutoScroll = true;  
            }  

The scroll axis is displayed as shown in the attached file, I want to custom style of verticalscroll ;for example, scroll background color, thumb background color,height. 

But, I couldn't find a way to get scrollbarElement to set style. What should I do?

Your reply is appreciated.

Nadya | Tech Support Engineer
Telerik team
 answered on 07 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
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
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
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
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
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?