Telerik Forums
UI for WinForms Forum
7 answers
2.2K+ 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
283 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
134 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
321 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
776 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
10 answers
457 views
Good morning

I have the next case i am using a gridView and i want export a Excel the content the gridView but with exception of any columns. its is possible.. for example i have a GridView with 7 columns and i need export a excel..but only five column of the grid its possible?

public

 

void Export(String sFilepath, RadGridView grvExportExcel)

 

{

 

try

 

{

 

ExportToExcelML exporter = new ExportToExcelML(grvExportExcel);

 

exporter.SummariesExportOption =

SummariesOption.ExportAll;

 

exporter.RunExport(sFilepath);

}

 

catch (Exception)

 

{

 

throw;

 

}

}

Thanks for your help.
Best wish
Elver Cano

Dimitar
Telerik team
 answered on 16 Sep 2019
7 answers
451 views

Hi,

Is it possible to add shadows to my radforms ?

Thanks for your response

Dimitar
Telerik team
 answered on 13 Sep 2019
2 answers
535 views

The MultiColumn ComboBox is always selecting a value after data is added to it. Is it possible to have it work almost exactly the same as the DropDownList?

 

For i As Integer = 1 To 12

    Me.MultiColumnComboBox1.EditorControl.Rows.Add(i, "Row " & i)

    Me.RadDropDownList1.Items.Add(i)

Next


Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Sep 2019
3 answers
1.0K+ views

Hi Admin,

 

MouseHover - I want to open the one of form and  once the mouse is moved away the form closes

Please tell to me how to do like that?

 

Thanks,

Moe

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Sep 2019
1 answer
390 views

Dear Admins.

I was Using the following code for populating radGridView. But it was little bit slower (items Count was more then 40,000)

BindingSource source = new BindingSource
{
    //GetItemTable Return the DataTable
    DataSource = _ItemRepository.GetItemTable()
};
radGridView1.MasterTemplate.DataSource = source;

 

Then i give a try to use VirtualGrid (By using the Example given in the Documentation), to check the performance difference.it is good.

I have some question regarding presentation/ populating of VirtualGrid.

The ItemClass is used to populate the VirtualGrid have 15 columns(Attributes),

  1. I want to load only some of them, Locating at different Column Numbers not in Sequence. Like i have Column Number from 1...15, I want to display only 1,3,6,10th Column Numbers(Index Numbers).
  2. How to Hide any Column which is already populated in the Grid.
  3. I want to make custom filter functionality. I Have a Text Box above the VirtualGrid. I want to use that TextBox to apply the Filter on the Grid by Typing the Item Name, and Grid filter the Number of items according the typed text and display in the grid.
  4. How to Clear VirtualGrid rows.

I can use these functionalities by using the radGridView, but due to performance i want to use Virtual Grid.

I have achieved this behavior using the Microsoft DataGridView. But due to Conversion. I want to use all the controls only from telerik. (Using R2 2019 SP1)

If possible any working example will be appreciated. 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 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
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
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
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
VirtualKeyboard
DataLayout
Licensing
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?