Telerik Forums
UI for WinForms Forum
1 answer
451 views

Hi,

Is it possible to export radgridview (with grouped columns) to .XML format?

 

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 31 May 2022
1 answer
173 views

Hi,

I'm having issues with the ribbon bar title bar when swapping my application between an HD monitor and 4K monitor

This is what is the title bar looks like on the 4K monitor

 

and this is what it looks like after dragging the application to the HD montior

 

Any ideas what might be causing this and a possible workaround or solution ?

I'm using the window 7 theme if that matters as well as .Net 4.7.2 and the latest version on Telerik Winforms.

Kind regards

Toby

 

 

 

Stoyan
Telerik team
 answered on 30 May 2022
1 answer
357 views

Hi 

I am developing winform project in vb.net sometime i checked answers in forum written in c#  but same sample does not work in vb.net

Now i am facing problem radgridview cellvaluechanged in master detail scenario

C#

  private void radGridView1_CellValueChanged(object sender, GridViewCellEventArgs e)
        {
            if (e.Column.OwnerTemplate != radGridView1.MasterTemplate && e.ColumnIndex == 3)
            {
                EvaluateTotal((GridViewRowInfo)e.Row.Parent);
            }
        }

vb.net

  Private Sub rdgvPendingRpt_CellValueChanged(sender As Object, e As GridViewCellEventArgs) Handles rdgvPendingRpt.CellValueChanged
        If e.ColumnIndex = 3 AndAlso e.Column.OwnerTemplate <> rdgvPendingRpt Then
            EvaluateTotal(CType(e.Row.Parent, GridViewRowInfo))
        End If
    End Sub

Error  Operator '<>' is not defined for types 'GridViewTemplate' and 'RadGridView'.

it giving me error in above line. I am attaching screenshot for same.  

Kindly do the needful

Regards

Nandan Navale

 

 

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 May 2022
1 answer
176 views
i am adding a radgridviewelemnt to the childrens of a StackLayoutElement but i didnt find a way to add rows or columns w bind data to the radgridviewelemnt
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 May 2022
1 answer
210 views

 

code using for export

 Case ".XLSX"
                            Dim exporter As Telerik.WinControls.Export.GridViewSpreadExport = New Telerik.WinControls.Export.GridViewSpreadExport(GridView) With {.HiddenColumnOption = UI.Export.HiddenOption.DoNotExport, .HiddenRowOption = UI.Export.HiddenOption.DoNotExport, .SummariesExportOption = UI.Export.SummariesOption.ExportAll, .ExportVisualSettings = True, .ExportViewDefinition = False}
                              exporter.RunExport(SaveFileDialog1.FileName, New Telerik.WinControls.Export.SpreadExportRenderer())

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 May 2022
1 answer
202 views

Hello.

I have the following code that used to work:

private void cellFormatting(object sender, CellFormattingEventArgs e)
{
if (chkHighlight.Checked && e.RowIndex < grid.RowCount - 1 &&
e.Column.FieldName != nameof(Audited.ValidFromTime) &&
e.CellElement.Value?.Equals(grid.Rows[e.RowIndex + 1].Cells[e.ColumnIndex].Value) != true)
e.CellElement.Font = new Font(e.CellElement.Font, FontStyle.Bold);
else
e.CellElement.ResetValue(LightVisualElement.FontProperty, ValueResetFlags.Local);
}

For some reason none of the cells comes up bold anymore (I set a breakpoint to make sure the code that sets the Font was being executed).

Any ideas?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 May 2022
1 answer
145 views

Hey there!

I wanted to be able to Show the 'AutoCompleteDropDown' after having already used it, or having text behind the cursor. I wanted to use a space to separate such usage but I can't quite control this functionality in this object (RadTextBoxControl).

This is usefull to help the user to write complex formulas without having to check for specific names or values. And these formulas can have more than 300 characters so i want to 'help' the user on his "journey". 

Ex: vQuant * 300 - (vValue - 66) -> The 'vQuant' and 'vValue' are variables or constants that the user doesn't know by memory because there are more than 1000. He may know the first 2 letters or so tho.

I was able to show the object by doing 'THIS-OBJECT:radTextBoxControl1:TextBoxElement:AutoCompleteDropDown:Show().'  but it has 0 items (even by having text in the object and 'THIS-OBJECT:radTextBoxControl1:TextBoxElement:AutoCompleteItems:Items:count' being > 0).

I'm open to any ideas.

 

JP

Dinko | Tech Support Engineer
Telerik team
 answered on 25 May 2022
1 answer
236 views

There seems to be a random issue when invoking the UnloadDocument method. The method blocks and locks up the application.

It happens with random PDF forms. I have tried testing with different PDF forms and it seems completely random.

 


Dinko | Tech Support Engineer
Telerik team
 answered on 25 May 2022
0 answers
146 views

I upgraded from a trial version to a paid version. In doing so Telerik put my WinForms project thru an upgrade process. Most of my forms make use of the RadForm. In those cases I can tell that the formatting is slightly different ... but nothing that causes pain.

In contrast, I have a RadTabbedForm that I have invested much time in. It has many controls on various tabs. (Kinda the point of such a control.)

This "upgrade" has:

  • made the forms dimensions at least 1.5 times bigger
  • spaced out the controls considerably
  • messed up the alignment
  • labels are not alignable when you group them and choose left-align or right-align.
  • buttons appear to be within yet another container (same kind of alignment mess as the labels)

I'm far from new to the software development game and understand some pains with upgrades. Unless there is a relatively simple adjustment that can be made to resolve this form, this "upgrade" will have been a waste of my time and my client's money.

Does anyone have any direction as to how best resolve these type of issues without throwing the work away?

Doug
Top achievements
Rank 1
 asked on 25 May 2022
2 answers
217 views

Hi.

 

I want to know if there is a way to NOT execute the code in "SelectedIndexChanged" when the form loads the first time

 

Regards

Kobus

 

Dinko | Tech Support Engineer
Telerik team
 answered on 23 May 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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?