Telerik Forums
UI for WinForms Forum
0 answers
2 views

I notice that, now that i'm using the new Licensing mechanism, when I build my solution I get lots of new messages.

The main message is:

 [Telerik and Kendo UI Licensing]
1>        Valid Telerik UI for WinForms license found. Make sure the main application also references Telerik.Licensing when using a class library.

...which is repeated for each project in the solution.

I am not sure if this is just a warning, in which case how can I suppress it? It makes it harder to see where the REAL build warnings are.

If it's not a warning, how do I fix?

Ian
Top achievements
Rank 2
Bronze
Bronze
Iron
 asked on 22 Oct 2025
2 answers
42 views

Hi, my application is built on .NET 4 and Telerik 2023. However, after the update, I have experienced increased lag when loading radGridView What should I do?

Hosein
Top achievements
Rank 1
Iron
 answered on 21 Oct 2025
1 answer
5 views

Hello,

I want to add a custom button to the right side of the BreadCrumb control.

The documentation says it's possible.

How can I do this?

Thanks.

Nadya | Tech Support Engineer
Telerik team
 answered on 21 Oct 2025
0 answers
9 views

Hi everyone,

I have a website: gatewayabroadeducations.com which has a total of around 280 pages, including blog posts. All these pages are correctly listed in the sitemap, and the sitemap is submitted in Google Search Console.

However, when I search on Google using the operator site:gatewayabroadeducations.com, I can only see about 29 pages indexed. Most of the blog posts and some other pages are not appearing in the Google search results.

I’ve checked:

  • The pages are in the sitemap

  • Pages are not blocked by robots.txt

  • Pages return a 200 status (not 404 or 301)

  • Canonical tags seem correct

  • No manual action in Search Console

I can't figure out why the remaining pages aren’t being indexed. Could this be due to:

  • Low-quality or duplicate content?

  • Crawl budget issues?

  • Internal linking problems?

  • Something else I might be missing?

Any help or suggestions to diagnose and fix this would be appreciated.

Thanks in advance!

Manish
Top achievements
Rank 1
 asked on 17 Oct 2025
1 answer
14 views

I am trying to install the Telerik.Licensing package from nuget.org, as per your instructions.

No matter which version i try to install, including the current latest stable (1.6.24) i get a 404 error from nuget.telerik.com:

Failed to fetch results from V2 feed at 'https://nuget.telerik.com/nuget/FindPackagesById()?id='Telerik.Licensing'&semVerLevel=2.0.0' with following message : Response status code does not indicate success: 404 (Not Found).
Response status code does not indicate success: 404 (Not Found).

The output in VS does contain a lot of stuff, so it looks like it's trying do do something. This is the contents of the output. For shortness, I have only tried to install the pacjage one a single project:

===> Start of Output:

Attempting to gather dependency information for package 'Telerik.Licensing.1.6.24' with respect to project 'Installers\TeamWorks 64 bit installer', targeting 'Unsupported,Version=v0.0'
Gathering dependency information took 1 ms
Attempting to resolve dependencies for package 'Telerik.Licensing.1.6.24' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'Telerik.Licensing.1.6.24'
Resolved actions to install package 'Telerik.Licensing.1.6.24'
NuGet.Protocol.Core.Types.FatalProtocolException: Failed to fetch results from V2 feed at 'https://nuget.telerik.com/nuget/FindPackagesById()?id='Telerik.Licensing'&semVerLevel=2.0.0' with following message : Response status code does not indicate success: 404 (Not Found). ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at NuGet.Protocol.HttpSource.<>c__DisplayClass15_0`1.<<GetAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.Common.ConcurrencyUtilities.<ExecuteWithFileLockedAsync>d__11`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.Common.ConcurrencyUtilities.<ExecuteWithFileLockedAsync>d__11`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.Protocol.HttpSource.<GetAsync>d__15`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.Protocol.V2FeedParser.<LoadXmlAsync>d__52.MoveNext()
   --- End of inner exception stack trace ---
   at NuGet.Protocol.V2FeedParser.<LoadXmlAsync>d__52.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.Protocol.V2FeedParser.<QueryV2FeedAsync>d__50.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.Protocol.V2FeedParser.<FindPackagesByIdAsync>d__39.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.Protocol.V2FeedParser.<GetPackage>d__38.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.Protocol.PackageMetadataResourceV2Feed.<GetMetadataAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.PackageManagement.UI.UIActionEngine.<GetPackageMetadataAsync>d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.PackageManagement.VisualStudio.TaskCombinators.<>c__DisplayClass1_0`2.<<ThrottledAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.PackageManagement.VisualStudio.TaskCombinators.<ThrottledAsync>d__1`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.PackageManagement.UI.UIActionEngine.<GetPackageMetadataThrottledAsync>d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.PackageManagement.UI.UIActionEngine.<GetRemotePackageMetadataAsync>d__23.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.PackageManagement.UI.UIActionEngine.<GetPackageMetadataAsync>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.PackageManagement.UI.UIActionEngine.<CheckLicenseAcceptanceAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.PackageManagement.UI.UIActionEngine.<>c__DisplayClass12_0.<<PerformActionImplAsync>b__0>d.MoveNext()
Time Elapsed: 00:00:00.3424096
========== Finished ==========

 

Nadya | Tech Support Engineer
Telerik team
 answered on 17 Oct 2025
18 answers
1.3K+ views
Hey,

I'm loving the load and save layout feature of the RadGrid View. Very powerful tool to allow end users great control of how they want to view their data ;)

BUT I a mhaving one issue with it. I have implemented the Save Load layout as per the documentation and I save these XML to our database without issue  - Since this has been done my boss has requested I add columns and change the names of columns on some of the Grids. The problem is, the SaveLayout() XML is saving the entire column template of the  grid and when I have an additional data row and bind this to the DataSource of the Grid the new column is not appearing (I have a similar problem if I rename the column in the underlying data-source).

I've been tinkering with the SerializationMetadata and have been able to set this:

this.XmlSerializationInfo.DisregardOriginalSerializationVisibility = true;

And continue to make changes to how the columns themselves are saved. For example I was able to not save the format string - because this is again something we want control over in development.

To top this off, it's very FEW things that I want removed from the Original Meta Data and it is painstaking and very prone to error to add all these serialization values back after calling the clear() method as instructed by the documentation. 

Would love if anyone out there knows of a way to control WHICH columns exist via the datasource but still save the layout details of each columns - and if there's an easier approach to perhaps remove specific layout options instead of having to re-build the entire Serialization info.

Cheers, thanks for reading
Dave - Connect Direct
Matthew
Top achievements
Rank 1
Iron
 answered on 14 Oct 2025
1 answer
12 views

I have a WinForm application.

error info:Error message: System.Threading.ThreadStateException: "Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked. This exception is only raised if a debugger is attached to the process." Some of the code is as follows: 1.Partial code of class Program.cs: [STAThread] static async Task Main(string[] args) {

RadSplashScreenManager.ContentCreated += RadSplashScreenManager_ContentCreated;

RadSplashScreenSettings f = new RadSplashScreenSettings()...

var services = new ServiceCollection(); ... services.AddTransient<RadFrmMain>(); await using var sp = services.BuildServiceProvider(new ServiceProviderOptions { ValidateScopes = true, ValidateOnBuild = true }); Application.Run(sp.GetRequiredService<RadFrmMain>()); } 2.Partial code inside RadFrmMain.cs: radMenuOpenProject.Name = "radMenuOpenProject"; radMenuOpenProject.Text = "Open Project"; radMenuOpenProject.Click += radMenuOpenProject_Click; private async void radMenuOpenProject_Click(object sender, EventArgs e) { await OpenProjectAsync(); } private async Task OpenProjectAsync() { string? pickedFile = await InvokeOnUiAsync(() => { System.Diagnostics.Debug.Assert( System.Threading.Thread.CurrentThread.GetApartmentState() == System.Threading.ApartmentState.STA, "OpenFileDialog must be called on STA"); var root = string.IsNullOrWhiteSpace(_settings.SqliteRoot) ? "projects_db" : _settings.SqliteRoot; var start = LastPathStore.LoadOr(root); using var ofd = new OpenFileDialog { Title = "Open Project", Filter = "Project files (*.project.json;*.db)|*.project.json;*.db|JSON files (*.project.json)|*.project.json|SQLite (*.db)|*.db|All files (*.*)|*.*", Multiselect = false, InitialDirectory = Directory.Exists(start) ? start : root }; return ofd.ShowDialog(this) == DialogResult.OK ? ofd.FileName : null; //Error message: System.Threading.ThreadStateException: "Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked. This exception is only raised if a debugger is attached to the process." }); } Previously, when using: [STAThread] static void Main() it worked normally, but the project must use static async Task Main(string[] args). How to handle this?


Dinko | Tech Support Engineer
Telerik team
 answered on 10 Oct 2025
1 answer
14 views

If a user sees a grid that looks like Excel, they expect it to function the same as Excel. I'm not very familiar with Telerik grids, but the OOTB copy/paste functionality doesnt seem to work the identical to Excel.

Our users need to be able to select a single cell and paste a single cell. This seems to work.

They also need to be able to select a single cell and paste its value in many cells. This only seems to paste the value in the last selected cell, not all selected cells.

Before:

After

Select multiple continuous cells from a row and paste to a single cell, and have all copied cells pasted starting at the selected paste location. This seems to work

Select multiple continuous cells from a row and paste to a selection of continuous rows and have all copied cells pasted. This seems to only work on the last row

Before

After

Here are my current grid settings:

DataRadGrid.AllowAddNewRow = false;
DataRadGrid.AllowColumnChooser = false;
DataRadGrid.AllowColumnReorder = false;
DataRadGrid.AllowDeleteRow = false;
DataRadGrid.AllowEditRow = true;
DataRadGrid.AllowMultiColumnSorting = true;
DataRadGrid.AllowRowReorder = false;
DataRadGrid.AllowRowResize = false;

DataRadGrid.BeginEditMode = RadGridViewBeginEditMode.BeginEditOnKeystroke;
DataRadGrid.EnableAlternatingRowColor = true;
DataRadGrid.EnableCustomDrawing = true;
DataRadGrid.EnableFiltering = true;
DataRadGrid.EnableGrouping = false;
DataRadGrid.EnableHotTracking = false;
DataRadGrid.HorizontalScrollState = ScrollState.AlwaysShow;
DataRadGrid.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.None;
DataRadGrid.MasterTemplate.ShowFilteringRow = false;
DataRadGrid.MasterTemplate.ShowHeaderCellButtons = true;
DataRadGrid.MasterView.TableSearchRow.ShowClearButton = true;
DataRadGrid.MultiSelect = true;
DataRadGrid.SelectionMode = GridViewSelectionMode.CellSelect;
DataRadGrid.ShowColumnHeaders = true;
DataRadGrid.VerticalScrollState = ScrollState.AlwaysShow;
DataRadGrid.EnterKeyMode = RadGridViewEnterKeyMode.EnterMovesToNextRow;

Are there settings I can use to mimic Excel, if not, is there boilerplate code to achieve this?

Thanks,

matt

Dinko | Tech Support Engineer
Telerik team
 answered on 08 Oct 2025
1 answer
17 views
Why isDefaultValuesNeeded not fired when programmatically adding a row to a gridview? 
Nadya | Tech Support Engineer
Telerik team
 answered on 07 Oct 2025
1 answer
13 views

Hi,

Using SaveFileDialog (not RadSaveFileDialog) in Telerik apps is broken.

I'm using the [STAThread] attribute on my Program.cs.

When running my app in Debug mode , I get the following exception when ShowDialog is called  :

   à System.Windows.Forms.FileDialog.RunDialog(IntPtr hWndOwner)

   à System.Windows.Forms.CommonDialog.ShowDialog(IWin32Window owner)
   à NDC.WinUI.Helpers.WinDbFileHelper.<ExportDB>d__4.MoveNext()

When trying the same in Release mode, my app simply freezes and does nothing.

Here is my code :


public static async Task<bool> ExportDB(string dbPath)
{
    try
    {
        if(File.Exists(dbPath))
        {
            List<DriveInfo> usbDrives = DriveInfo.GetDrives().Where(drive => drive.DriveType == DriveType.Removable && drive.IsReady).ToList();

            using(SaveFileDialog sfd = new SaveFileDialog()
            {
                DefaultExt = NdcConstants.SqLiteExtension.ExtensionFilter,
                InitialDirectory = usbDrives.Count != 0 ? usbDrives[0].RootDirectory.FullName : Environment.GetFolderPath(Environment.SpecialFolder.Desktop),
                Filter = NdcConstants.SqLiteExtension.FriendlyName,
                FileName = Path.GetFileName(dbPath),
                RestoreDirectory = true
            })
            {

                if(sfd.ShowDialog() == DialogResult.OK)
                {
                    if(File.Exists(sfd.FileName))
                    {
                        File.Delete(sfd.FileName);
                    }

                    await SqlFileBackup.ProcessOnlineBackup(dbPath, sfd.FileName);
                    return true;
                }
            }
        }

        return false;
    }
    catch(Exception ex)
    {
        Interaction.Error(ex);
        return false;
    }
}

Which is call like this : await WinDbFileHelper.ExportDB(settings.LocalDatabaseFullPath)

Base .Net SDK Dialog class should be able to work even if called inside a Telerik app/form.

Dinko | Tech Support Engineer
Telerik team
 answered on 02 Oct 2025
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
Licensing
VirtualKeyboard
DataLayout
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?