Telerik Forums
UI for WinForms Forum
12 answers
1.1K+ views

Hi. I'm a new user of telerik radlistview control and I'm having some problems importing tables from excel into listview.
I think I can use loops to do this however I want to use datasource to import once. The problem is that I am not sure what type of data for datasource. Is it the same with listfillrange property (lisbox.list = variant) for listbox in excel like vba?
Can this work or not:

        Dim import As XlsxFormatProvider = New XlsxFormatProvider
        Dim wb As Workbook = import.Import(File.ReadAllBytes(exportfile))
        Dim ws As Worksheet = wb.Sheets(0)
        Radlistview.DataSource = ws.UsedRange

Thanks you!
Khanh
Top achievements
Rank 1
Iron
 answered on 20 Sep 2019
5 answers
1.0K+ views

Hi . I have set up some events for listview on windows form where some events (keydow, rightclick ..) will change listview's cell value, others will work if detecting this value change ( give notice to users, ....)
I used some events:
listview_ItemValuechanged
listview_Text
listview_ItemEdite
listview_ItemValuechanging
however they do not seem to be detected when a change in value occurs from another event

How can i implement this idea?

Thanks a lot

 

Nadya | Tech Support Engineer
Telerik team
 answered on 20 Sep 2019
3 answers
98 views

Hi,

As of now In SchedulerDayView we are able to get the next date by clicking the Previous view and Next view option on the context menu. We need an option to set it on a scroll bar. Please suggest. Attached video link & code screenshot for your reference.    

Video link  & Screenshot

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Sep 2019
4 answers
99 views

I am attempting to filter results in a RadGrid.

What I am looking for is the programmatic equivalent of selecting the all but (blanks) or not (blanks) option from the filtering area.

I will apply filters of " " and "" but still will get results of "   " or varying amounts of whitespace that I don't want in the results. I cannot do this with a composite filter as I cannot capture all of cases of whitespace, but removing (blanks) achieves the correct results.

Thanks

Dimitar
Telerik team
 answered on 19 Sep 2019
3 answers
98 views

Hi there,

 

I have read that it should be possible to add 'Viawaypoints' in combination in normal 'Waypoints'.

I however cannot find a c# method other than  'reqRoute.Waypoints.Add(l_sWaypoint);'

What is the right manner to have more than 25 waypoints in my route?

 

Kind regards,

Victor

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Sep 2019
7 answers
2.0K+ views
Is there a way to differential data row double-clicks from double-clicks in the header or scroll bar.  RadGridView::DoubleClick seems to fire when anything is double clicked, and the sender is always the grid, not the specific element.

Looking at MouseDoubleClick, I think I might be able to use the event's X and Y to get the child control at that position and check to see if it's a data row.  Are there other options?
Nadya | Tech Support Engineer
Telerik team
 answered on 18 Sep 2019
6 answers
223 views
Hey Guys

I would like the selectedItems to line wrap when required. Ideally I would like the control to grow in height when the user selects enough items that require a new line. ( the same way as the Telerik MultiSelect Web Controls work)

See screen Shot.. the top control has the minimum height updated to what I would like to be the maximum height , however the selected items just dis appear off and cannot be seen.

I have been fiddling with the minimum , maximum sixes etc, but I don't seem to find how to achieve this. ( Maybe it's related to how I add the selected items?)

Any help most appreciated.

Rob
Dimitar
Telerik team
 answered on 18 Sep 2019
1 answer
98 views

I was receiving exceptions when attempting to set range at runtime on the range selector.

System.NullReferenceException
  HResult=0x80004003
  Message=Object reference not set to an instance of an object.
  Source=Telerik.WinControls.ChartView
  StackTrace:
   at Telerik.Charting.CombinedBarSeriesRoundLayoutStrategy.ApplyLayoutRoundingVertical(LayoutContext context)

So I stripped the form out of the main project and I've put it into a sample application. Commenting out lines 13 and 14 of FrmPerformanceChart.cs leads to different levels of nightmare.

Link to project is  sample: testchart

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Sep 2019
5 answers
254 views
Is it possible to set a DropDownListEditor in a PropertyGrid to behave like a ComboBox?

I have tried setting the DropDownStyle property to RadDropDownStyle.DropDown, which looks as though this should setup this behaviour, but it does not seem to work. It is not possible to enter text even when this has been set.

Is there an additional step that needs to be taken in order for the dropdown list to allow text entry?

Thanks,

Chris
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Sep 2019
5 answers
638 views
HI,

  i am using Customize Theme for my for entire  Windows Application . My Requirement for search textboxes i need Shaded Background Color As attached ShadedTextbox.png.

   After goggling i came to know that we can use 2 customize themes , one is for Entire Application and the other is for Search textboxes.
I tried http://www.telerik.com/community/forums/winforms/buttons/override-button-color-with-theme.aspx , but i unable to achieved.

Please look below sample code 
   Assembly lAssembly = Assembly.LoadFrom("RadTheme.dll");
            ThemeResolutionService.LoadPackageResource(lAssembly, "RadTheme.Theme.FenixTheme.tssp");
            ThemeResolutionService.LoadPackageResource(lAssembly, "RadTheme.Theme.FenixThemeTwo.tssp");


            //ThemeResolutionService.LoadPackageResource("RadThemeExample.Themes.FenixTheme.tssp");
            //ThemeResolutionService.LoadPackageResource("RadThemeExample.Themes.FenixThemeTwo.tssp");


            ThemeResolutionService.ApplicationThemeName = "FenixTheme";
            this.radTextBox1.ThemeName = "FenixThemeTwo";


Please Find Attached Image SampleApp.png.

  


Dimitar
Telerik team
 answered on 16 Sep 2019
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
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
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
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
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
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
DateOnlyPicker
TimeOnlyPicker
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?