Telerik Forums
UI for WinForms Forum
1 answer
143 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
267 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
100 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
116 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
119 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
95 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
146 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
98 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
152 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
3 answers
284 views

is it posssible to add a button to the header of a radcollapsiblepanel from the designer code ,if so can a anyone please guide me. 

 

mansouri
Top achievements
Rank 1
Iron
 updated answer 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)
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
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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?