Telerik Forums
UI for WinForms Forum
5 answers
313 views

Hello, the Radautocompletebox is a great control, but we face the following issue: I would like to know if/how if would be possible to show all possible choices, without any filter.

To be more clear, if my Radautocompletebox has 4 choices : AA, AAB, CC, EE, is there a way to display theses choices to the users (i.e. to open the selection menu) without any filter? Of course if I type A, I will see AA and AAB, but if a user has no idea of the posisble choices there is an issue.

I tried to use for example the keydown event, and to open the menu if the user types 'enter', but without sucess.

 

I know that what I am asking is not ready in line with the expected use of the component...

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Jun 2020
11 answers
521 views

I'm getting an exception as follows

System.InvalidOperationException

"Collection was modified; enumeration operation may not execute."

 

   at System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext()
   at Telerik.WinControls.UI.RadListViewElement.SynchronizeVisualItems()
   at Telerik.WinControls.UI.RadListView.OnGotFocus(EventArgs e)
   at System.Windows.Forms.Control.WmSetFocus(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at Telerik.WinControls.RadControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

This occurs when I change selection in my ListView after changing the datasource. So I'm reusing the ListView with different data.

I noticed a thread that I thought might provide a clue (below) but I tried the solution but it didn't work, in fact I got the same exception in that code instead. How can I change the whole datasource in my ListView without exception? Thanks.

https://www.telerik.com/forums/listview--detailview-item-removing

PS: I only noticed this when attempting to highlight text (see my previous thread) and then backing out that code. But perhaps I just didn't notice the issue before.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Jun 2020
6 answers
670 views
Hi everyone,

I used the below code to show the Dropdown Popup everytime user hits Tab to go to that control. However, now the pop up will disappear if user clicks the little button on the right side of the DropDown control (normal way to show popup), this issue only happens on the first time when the control gets focused. Do you know how to fix this?

Thank you.

Private Sub DropDown_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles dpdBodyCondition.Enter
       Dim dpd As RadDropDownList = sender
       If dpd.IsPopupVisible = False Then
           dpd.Popup.Show(dpd)
       End If
   End Sub
Ras Ran
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 12 Jun 2020
1 answer
240 views
I was able to create a bar chart with one set of bars (series)  and bound it to a DataTable without any problem.  Now my boss wants me to create two series - how do I bind it to a data source?  Do I bind it to a DataSet or bind the DataTables to each series?
Nadya | Tech Support Engineer
Telerik team
 answered on 11 Jun 2020
2 answers
260 views

1.  Is there a way that I can set the top level folder they can access. So lets say I have a directory structure  C:\Files\ExplorerFile\Ticket\4\Testing/  I set the explorer to open at C:\Files\ExplorerFile\Ticket\4\  They can navigate down and create new folders but I do not want them to go up past \4.

 

2. The default is set to Move but you can hold ctrl or shift to make it a copy.  Is there a way to set it to default to copy, or turn off the move function?

3. Is there a way to set the control o if you double click a file that it will open rather then right click and open?

Nadya | Tech Support Engineer
Telerik team
 answered on 11 Jun 2020
3 answers
160 views

Hi,

Is it possible to import an Office XLSX file, whom is Passwordprotected?

Best regards
André

 

 

 

Tanya
Telerik team
 answered on 10 Jun 2020
1 answer
206 views

I am trying to export a grid with different row heights.

I have AutoSizeRows = true.

On the apps screen the grid looks great. :)

But when I export it I get an error:

rowHeight should be greater or equal than 0 and less or equal than 600.

 spreadExporter.CellFormatting += spreadExporter_CellFormatting;

I have a spreadExporter_CellFormatting function and had:

if (e.GridCellInfo.RowInfo.Height > 600)
            {
                e.GridCellInfo.RowInfo.Height = 600;
            };

But it didnt stop the error happening.

Question, how do I check for the Row height value and set it before/during the export?

 

Thanks

Deasun.

 

 

 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 10 Jun 2020
4 answers
305 views
I'm struggling to find anything in the documentation about how to style the bars in a bar chart.

I'd like the bars to look as per the attachment, with a shadow to the bottom and to the right.

With series defined as a BarSeries, I tried this, but it had no effect on the appearance of the bars:

series.BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.FourBorders
series.BorderBottomShadowColor = Color.Gray
series.BorderRightShadowColor = Color.Gray
series.BorderRightWidth = 20
series.BorderBottomWidth = 40

Please could you let me know how to achieve this?

Leigh
Stephan
Top achievements
Rank 3
Bronze
Iron
Iron
 answered on 10 Jun 2020
1 answer
792 views

We have used RadGridView in our Windows Application and initially we use 2012 year versions of respective telerik dll's.

With those dll's on our specific form where we have used RadGridView, if user enter a filter value  to filter desired type of rows from all bunch of rows and close the and  reopen the form user can see his last entered filter value has been retained so the rows user can see are also filtered on the basis of filter value.

But when tried to Upgrade to 2020 version of respective telerik dll's we observed above mentioned functionality does not work.

Attached is the respective image of grid. Kindly assist on this.

 

Nadya | Tech Support Engineer
Telerik team
 answered on 10 Jun 2020
1 answer
117 views
Hi,
We have used a Telerik RadGridView in our Windows Application.
On specific form user has a option to right mouse click and open conditional formatting
then user gets a popup window of Conditional Formatting Rules Manager. 
In that Rules Manager window - we can see some properties under Format section such as CellBackColor and RowBackColor.
for these very particular options CellBackColor and RowBackColor we have set some standard color from code and want to keep it as a standard
thus want to prevent user to go and edit these properties and change the color to something else. 
So is it possible to completely disable to edit/hide these options (CellBackColor and RowBackColor) from code, so end user could not change it ?
Please find attached image of Rules Manager.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 10 Jun 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?