Telerik Forums
UI for WinForms Forum
3 answers
1.2K+ views

Hi Folks!

I'm trying to override the template color of my DropDownLists so they don't stand out so poorly.

I tried doing this:

cmbNameSource.RootElement.SetThemeValueOverride(Telerik.WinControls.Primitives.FillPrimitive.BackColorProperty, Color.FromArgb(226, 226, 226), "Disabled", GetType(Primitives.FillPrimitive))

But that didn't seem to have any effect...not to mention even if it did work, I still have to figure out how to change the forecolor of the Text that's displayed.

Any help would be VERY appreciated!

I'm attaching some png's so show you what I mean.  Every control in both images has .Enabled = False but as you can see the DropDownList's Look-n-Feel doesn't match the text boxes surrounding it.  That's what I'm trying to change!

Thank you all very much :)

-Curtis

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Aug 2018
3 answers
138 views

 I set the culture info of radDateTimePicker and radScheduler to (fa-IR)....it works fine on win 8 and 10. but it changes to Arabic when i run the winform on win 7!!! 
i' d appreciate if you help me?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Aug 2018
9 answers
1.5K+ views

Hello-  
I'm using a RadGridview (Telerik Winforms version 2018.1.220.40) and am having trouble setting the font size for a cell while it is being edited... I've managed to get everything else on my grid to Segoe 14pt, but when the user adds a new row, the cell they're typing in has a huge font that makes it unreadable.  When they tab to the next cell, it goes back to the standard font and the previous cell is readable, but the current cell again has a large font. 

Dess has helped me a couple times(thanks!), and I've looked for formatting event when cell edit starts, and googled, but can't find anything.    In short, would like for the font in a cell being edited to be the same as everything else on the grid...  

Thanks

Hristo
Telerik team
 answered on 15 Aug 2018
0 answers
84 views

I implement a shortcut key for my winforms and I have struggling with the key combination. I have a combination with ctrl+alt+a+b+c . But it seems it does not hit anymore. 

I created a new textbox and implement interface IShortcutProvider in my textbox. 

Btw, I also cannot use some keys like Fn, Home, End .... in combination. The shortcut key does work in this case I am using Mnemonic Ex: I have a textbox named  Description and we have D with underscore, and another textbox named Instruction ( which is my textbox with implementation of IShortcutProvider) and assigned key Alt + D + C

In this case, the Instruction cannot be focusd if I press Alt+D+C. 

Anyone have experience on this can help me to explain ? and the best pratise to use Shortcut in telerik control ?

Thank you

 

Hung Lu

SamLu
Top achievements
Rank 1
 asked on 15 Aug 2018
3 answers
279 views

So here is my issue (I have searched in the forums and can't find an answer)...

I have a RadDropDownList containing tuples of strings. When I click on the Drop Down List, I am expecting this method to be called right away, but once I select the option I want, I have to press the down arrow on the drop down again before it will call the JumpManager code at the bottom.

Basically I want the jumpmanager to be called when I select an option from the drop down, and not have to click the arrow again.

I have tried debugging but am failing to see how to fix it.

Any and all help would be great. Thanks!

*****************************************

P.S. I am new to C# and winforms so that is part of the issue also. Please see attached screenshots to get a better idea of what I'm describing above. I want the new tab for the selection from the drop down list to open without having to click the drop down arrow again.

Thanks!

void mplSpecificDDL_Click(object sender, EventArgs e)
       {
           //cast sender object to type RadDropDownList
           RadDropDownList snd = sender as RadDropDownList;
 
           int i = snd.SelectedIndex;
           Console.Write(snd.SelectedItem);
            
           //if it's a valid click...
           if (i >= 0)
           {
               //get the mpl id for the MPL date range selected
               int mplid = tmpDDL_MPLLists[i].Id;
               FactoryOrder myOrder = new FactoryOrder();
               //create an order tuple to open the specific MPL page we want to view
               myOrder.AddOrderLine("SpecificList", mplid.ToString());
 
               //jump manager to pull up a specific MPL window tab
               JumpOrder myJumpOrder = new JumpOrder();
               myJumpOrder.factoryOrder = myOrder;
               myJumpOrder.module = "MPL";
               myJumpOrder.targetWin = "MPLS";
 
               //issue: new MPLS window only opens when
 
               MainDockWin.mainJumpManager.PassJumpOrder(myJumpOrder);
               MainDockWin.mainJumpManager.GoToWindow();
           }
       }
Brady
Top achievements
Rank 1
 answered on 13 Aug 2018
3 answers
251 views

Morning,

Anyone know how to do this?

I tried: rbTBMgr.CommandTabs["Tools"].Select()

Commandtabs dont seem to have a .IsSelect().

All I want to do is make a tab selected!

Frustrated infragistics user!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Aug 2018
4 answers
482 views
Hello

I have a command column in my grid view with a CommandCellClick event. When I click a command button from a command column the CommandCellClick event fires twice.

I am using VS 2010, C# and Q2 telerik controls.

Thank You
Hristo
Telerik team
 answered on 13 Aug 2018
1 answer
219 views

We have a winform with a radautocompletebox. I have toggled the Autocompletemode from append to suggestappend and found that if it is set to suggestapppend and when the TAB key is pressed, the key_down event is not firing. As for the append mode, the event fires. So the question is, how can I use the suggest or suggestappend mode and when I press the TAB key the key_down event fires? The event does fire if I press the TAB key a second time.

Thank you,

Jim

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Aug 2018
7 answers
575 views
Hi, I was trying to add the RadDateTime picker to the ribbon bar programmatically by doing:

 
 

RadDateTimePickerElement dtPicker = new RadDateTimePickerElement();  

dtPicker.Name = "dtPicker";  
radRibbonBarButtonGroup9.Items.Add(dtPicker); 

The radRibbonBarButtonGroup9 has already been added to a chunk in the ribbon bar, whenever I try to launch the application, the application does not load up.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Aug 2018
1 answer
617 views

 I have a property grid. Property name = Appearance and has child cursor,font,Imagelist,... But ai search Appearance has not result. I expect search with property name= Appearance . has result with child.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Aug 2018
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
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
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?