Telerik Forums
UI for WinForms Forum
1 answer
214 views

We want to use a customer Browsable() attribute to Show/Hide columns from a grid, but we are having an issue just getting it to work.  Does telerk grids support customer browsable attribute?   I know it does for DisplayName.  

If so, I could use some help.

Dinko | Tech Support Engineer
Telerik team
 answered on 30 Jul 2023
1 answer
99 views

Hello

 

How to get the IdOperacao value from selected row?

 

Best Regards,

Marco Gaspar

 

Dinko | Tech Support Engineer
Telerik team
 answered on 29 Jul 2023
2 answers
136 views

Helo, i'll go straight to the point

 

************** ERROR START **************

See the end of this message for details on invoking 

just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

  at System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext()

  at Telerik.WinControls.ComponentInputBehavior.ElementUnderMouseMonitorTimer_Tick(Object sender, EventArgs e)

  at System.Windows.Forms.Timer.OnTick(EventArgs e)

  at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** ERROR END **************

 

I get the error when i subscribe to the event 'GraphicalViewItemFormatting'.

Example: THIS-OBJECT:radGanttView1:GraphicalViewItemFormatting:Subscribe(THIS-OBJECT:radGanttView1_GraphicalViewItemFormatting).

 

I can replicate the error by moving the mouse really fast (from the text element to the graphic element over and over again). If i unsubscribe then everything works just fine. This error is faster to replicate if there's more objects in the RadGanttView in question.

 

This error doesn't seem to exist anywhere BUT in Progress. I had this problem with the "RadGridView" but i managed to go around it. Something i wasn't able to do in this object.

 

My goal is to change the items/tasks colors but aparently that isn't something that can be done OUTSIDE of an event...

 

I talked to my colleagues and the ones with years of experience said it's probably on the DLL side. They said a 'Collection' is being modified at the wrong time and it's not in my control. 

 

Does anyone know how to go around this? How I may change the items colors without using this event? Maybe a way to disable highlights and animations on the object to prevent said 'Collection' from being modified?

 

Thank you.

 

JP

 

Update1: Aparently this also happens to the 'TextViewItemFormatting' event. If i comment both subscribes everything goes perfect.

Dinko | Tech Support Engineer
Telerik team
 answered on 28 Jul 2023
1 answer
184 views

I am using the RadMaskedEditBox to limit the user input. I need to allow the user to enter values from 0.0 to 999.9.  I was using a MaskType of Standard with a Mask of 999.9 or ###.#...however, this is forcing the user to enter numbers that are < 100 as 099.0. The users down't want to enter 0 for any value below 100, this is a real pain for them. so, I switched it to using a MaskType of Numeric and setting the Mask to N1, but this has its own problem of allowing the user to enter 9999999.9, which when saved, thows an error (the underline field is only 5 characters).  Since there is no MaxLenth field on this control, I need a better method.   I looked at using REGEX as the masktype, but, to this date, I still struggle with REGEX EXPRESSIONS and how to create an REGEX Expression to make this work.  Anyone help me out here. 

 

Thanks.

Dinko | Tech Support Engineer
Telerik team
 answered on 28 Jul 2023
1 answer
125 views

Hello All,

     I'm working on an active directory project where the RadTreeView requires it's nodes to have images according to the nodes respective containers (I.E. User Accounts will have an user icon). I have posted some code relating to my issue. I hope someone here can shed some light on this and tell me what it is I'm doing wrong.

To be clear on this, the nodes show active directory binded data but not the images. Thank you in advance.

 


        public void subEnumerateChildren(RadTreeNode oRootNode)
        {
            DirectoryEntry deParent = new DirectoryEntry("LDAP://RootDSE");


            foreach (DirectoryEntry deChild in deParent.Children)
            {
                RadTreeNode oChildNode = oRootNode.Nodes.Add(deChild.Path);
                switch (deChild.SchemaClassName)
                {
                    case "computer":
                        oChildNode.ImageIndex = 6;
                        break;
                    case "user":
                        oChildNode.ImageIndex = 7;
                        break;
                    case "group":
                        oChildNode.ImageIndex = 8;
                        break;
                    case "organizationalUnit":
                        oChildNode.ImageIndex = 3;
                        break;
                    case "container":
                        oChildNode.ImageIndex = 1;
                        break;
                    case "publicFolder":
                        oChildNode.ImageIndex = 5;
                        break;
                    default:
                        oChildNode.ImageIndex = 1;
                        break;
                }

                oChildNode.Tag = deChild;
                oChildNode.Text = deChild.Name.Substring(3).Replace("\\", "");

            }
        }

Dinko | Tech Support Engineer
Telerik team
 answered on 26 Jul 2023
1 answer
120 views

Hello everyone, I want to turn off the hidden function of the ribbonTab drop-down interface after double-clicking the mouse in Telerik's radRibbonBar control. How can I change it? I rewrote the double-click event of the ribbonTab and found that it has no effect. After double-clicking the ribbonTab, it will still be hidden. Thank you.


        private void radRibbonBar1_Load(object sender, EventArgs e)
        {
            foreach (var tab in radRibbonBar1.CommandTabs)
            {
                tab.DoubleClick += new EventHandler(ribbonTab_DoubleClick);
            }
        }

        private void ribbonTab_DoubleClick(object sender, EventArgs e)
        {
            // do nothing
        }

Dinko | Tech Support Engineer
Telerik team
 answered on 24 Jul 2023
2 answers
136 views
I have create the RadRibbonBarGroup in RadRibbonBar. But I want to change the font color in RadRibbonBarGroup, I change the ForeColor to white. It doesn't change the color. It always shows gray color. Please tell how to change the font 'test' color, thanks very much.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Jul 2023
1 answer
112 views

I want to show placeholder text in GridViewComboBox column.

below Select... and All is placeholder. How I can do this with GridViewComboBox Column.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Jul 2023
1 answer
257 views

Hi,
I have one custom control named FDTSelectBox.
I want to use this inside grid.

I have been already gone through the documentation of custom cell but not able to implement that.

Because in order to use FDTSelectBox Inside grid I need to inherit that from GridDataCellElement class.

But my problem is that my custom control FDTSelectBox is already inheriting from UserControlClass which system provided class and it is tightly coupled with that. and you know in C# we cannot inherit from 2 classes multiple inheritance not supported.

below is my custom control structure

public class FDTSelectBox : UserControl, IFDBControl

{

  //some code.....

}

Please suggest if there is some way so that I can put this control inside cell of grid.

Please Help!!

Thanks,
Shubham Jain

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Jul 2023
1 answer
116 views

Hi,

I need a help that how I can show column in a grid header when I am grouping my data with that particular column. I need to show column as well in a grid header after grouping.


I have attested 2 Images one with Current and one with Required tag.
By looking that images my problem will be clear to you.

Hope my requirement is clear to you.

Please help me.

Thanks,
Shubham Jain
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Jul 2023
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?