Telerik Forums
UI for WinForms Forum
1 answer
2.2K+ views

Hello,

I have had to reinstall all Visual Studio versions after some strange behavior, installation was somehow corrupted, VS installers haven't seen any VS versions installed (but they was working almost normally), so I have had to reinstall it, uninstall it manually by InstallCleanup.exe first, and then install VS2019 and VS2022 again. So much for context.

I have installed Telerik for WinForm then and I don't see any Telerik controls in toolbox. I reinstalled Telerik twice, also tried to use Toolbox Configurator, selected .NET4.0 version, but without success. I have the same problem on both VS2019 and 2022. Can you help me please?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Dec 2022
0 answers
158 views

        public void pastPanelInit()
        {

            var threadParameters = new ThreadStart(initSpreadSheet);
            var thread2 = new Thread(threadParameters);
            thread2.SetApartmentState(ApartmentState.STA);
            thread2.Start();
            //thread2.Join();

        }


        private void initSpreadSheet()
        {

            if (pastTabCalender.InvokeRequired)
            {
                pastTabCalender.Invoke(new Action(() => initSpreadSheet()));
            
            }
            else
            {
                spreadSheet = new RadSpreadsheet();
                spreadSheet.Dock = DockStyle.Fill;
                spreadSheet.Anchor = AnchorStyles.Top | AnchorStyles.Left;
                spreadSheet.Workbook.Worksheets.Add();
                pastTabCalender.Controls.Add(spreadSheet);
            }
        }

Im having some trouble adding a spreadsheet to my RadPageViewPage since the spreadsheet requires to be on a thread. This still gives me 'Cross-thread operation not valid: Control '' accessed from a thread other than the thread it was created on.'.

Is there anyone that could explain what im doing wrong here? Thanks.

 

Edit. Updated the code a bit and this gives me that it requires to be on the STA thread. Its something im not understanding with these threadings in c#.

Benjamin
Top achievements
Rank 1
 updated question on 11 Dec 2022
1 answer
148 views

Hey, how can I skip the ViewCellFormatting event while the grid is getting new data?

Maybe there's some property I can check before continuing formatting? I have two interdependent grids and would like to "pause" this event whenever any of them is reloading...

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Dec 2022
1 answer
151 views

I am Using pdfExporter from RadDataGrid View to generate pdf.

How to wrap text of cells/columns      in exported pdf.                using VB.NET not C-Sharp                                                                                                                                                                                                                                                                                                                                                                                                                                        

Dinko | Tech Support Engineer
Telerik team
 answered on 07 Dec 2022
1 answer
139 views

Hi

How to remove or edit "Creator Telerik PdfProcessing" text before exporting DGV to pdf from PDF Properties.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Dec 2022
1 answer
99 views

I use telerik UI for WinForms project(not WPF) How to prevent auto close of RadContextMenu when user clicks on item on it? Now, after mouse click on any item, it closes. In WinForms there is ContextMenuStrip.AutoClose property to prevent autoclosing. Is there analogue of the property on Telerik RadContextMenu?

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Dec 2022
2 answers
118 views

Hello,

I'd like to display cell value (string) this way

(2) text2

(1) text1

 

not this way

(2) text2 (1) text1

 

How to achieve this behaviour?

Thank you.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Dec 2022
1 answer
237 views
I drew an example in the picture.
The format of the data table read from db is shown on the left.
I want to show this on the grid and zoom in
Grouping does not show column information in the row that is being expanded/reduced, but I need information in all rows.
I want to express it like BOM.
I want to expand/reduce to a specific key flexibly according to the column of the table I'm reading, but I don't know what to do.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Dec 2022
1 answer
150 views

Hi,

I am trying to create a PDF Table but I  am missing one or more libraries that I should reference. The code fragment I am trying is as follows:

Table table = new Table(); TableRow firstRow = table.Rows.AddTableRow(); TableCell firstCell = firstRow.Cells.AddTableCell(); 

Block block = firstCell.Blocks.AddBlock(); 
block.InsertText("Testing"); 

Thanks

Maria
Telerik team
 answered on 05 Dec 2022
1 answer
187 views

I hava a model that contains IsSelected Property, and I want to bind the row IsSelected of gridview to that IsSelected, what should i do?

class MyClass
{
    public bool IsSelected { get; set; }
}

private BindingSource _bindingSource;
private List<MyClass> _myClassList;
private RadGridView _gridView;

private void DataBinding()
{
    _bindingSource = new BindingSource { DataSource = _myClassList };
    // how to bind _gridView.Rows.IsSelected to _myClassList.IsSelected?
    _gridView.DataSource = _bindingSource;
}

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Dec 2022
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
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
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?