Telerik Forums
UI for WinForms Forum
2 answers
249 views

     Good afternoon,  

I wasn't sure if this question belongs in the WaitingBar thread or RadLayoutControl, but here is the problem.

 

I have a standard C# UserControl, with a RadLayoutControl that is docked to the parent(UserControl).  The layoutcontrol has several items in it and that part works well.  What I would *like* to be able to do is on creation of the user control, have a waiting bar of the spin variety show over the LayoutControl until a few items that need to retrieve data are ready to be shown.  The smart tag will let me assign the WaitingBar.AssociatedControl to the RadLayoutControl, but if I call the waitBar.StartWaiting(), I can't see the bar.

I can seem to successfully have the WaitingBar appear over any of the components within the LayoutControl,  but I would really like it to go over the entire LayoutControl if possible.

I hope that makes sense, and thanks for any help you might have.

Mike

 

 

Michael
Top achievements
Rank 1
 answered on 27 Apr 2020
2 answers
134 views

Hello

I have a databound gridview in which I change two columns from standard cell to dropdown cells

So far everything is fine, when I select a value in the dropdownlist, the grid is properly updated.

However I need to validate the user's selection from the dropdown list and cancel the change if not authorized based on various conditions.

I have tried various methods, such as using the callvalidating or cellvaluechanged events but I have not managed to cancel the change when not authorized. Moreover in some cases the dropdown is no longer available.

As a workaround I perform the check in the cellvaluechanged event reload completely the grid when the change is not authorized but this is far from being efficient.

Herebelow the code snipet of the celvaluechanged event

----------------------------------------------------------------------------------------------------------------------------------------------

        Select Case e.Column.Name
            Case "Ctrldd"
                Dim mEntry As New mEntry(MyConnectionString)
                mEntry.UpdateCtrl(context, theEntry.idEntry, e.Value)
                ShowEntryDetails(theEntry.idEntry)
            Case "HCdd"
                Dim mEntry As New mEntry(MyConnectionString)
                If mEntry.CheckHCChange(theEntry, theCompetition.Label.Scope) Then
                    mEntry.UpdateHC(context, theEntry.idEntry, e.Value)
                    ShowEntryDetails(theEntry.idEntry)
                Else
                    MessageBox.Show(My.Resources.Entry.ChangeHCNotAllowed, My.Resources.Main.WarningMsg, MessageBoxButtons.OK, MessageBoxIcon.Information)
                    'request a reload of the grid
                    RaiseEvent RefreshRequired()
                End If
        End Select

----------------------------------------------------------------------------------------------------------------------------------------------
Thanks in advance for any advice

Pierre-Jean

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 24 Apr 2020
4 answers
251 views

Hello

I have added a Clear Button in a Rad TextBoxCOntrol
However it shows up at the left of the text box and my understanding is that it should appear at the far right.

I have not found a property that specifiys the Clear Button Position.

Thanks in advance

Pierre-Jean

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 24 Apr 2020
4 answers
352 views
Hi all,

I like to get the top level control of a RadMenuItem.
For example: there is a RadForm with two RadGridView controls.
Each containing a ContextMenu. For both I'm using the same handler which should recognize on which RadGridView the menu is clicked.
How can I retrieve the  RadGridView which is the top level for the ContextMenu?

Regards
Hardy 
Scott
Top achievements
Rank 1
 answered on 24 Apr 2020
5 answers
95 views

Hi, which control can I use to connect to sql server and get a list of database names (without manual implementation)? Currently I have to use manual code to get the database + table name then add to the some controls like treeview and listbox respectively
(I think I should use treeview because maybe I need to list database then whole table in the database but I'm not sure whether it supports this)

Thanks in advance!

Khanh
Top achievements
Rank 1
Iron
 answered on 24 Apr 2020
11 answers
668 views
Can set the default size for auto hide, but can't seem to set the size for when the window is docked. Would rather set a minimum size on it to make it usable.

Is there a way to do this?
Nadya | Tech Support Engineer
Telerik team
 answered on 24 Apr 2020
1 answer
151 views

I want to replace the group panel with a gridview.(like the left part of the gantt view).

Is the any ways to customize this?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Apr 2020
6 answers
289 views

I need to save the chart in emf. I write

         radChartViewAny.ExportToImage(saveFileDialog1.FileName, radChartViewAny.Size, ImageFormat.Emf);

The chart is saved to a file in emf format, but this is only a parody of emf:

1. The file size is very large. It doesn’t happen if it is a normal emf file

2. If you open this file in any program (for example, Word), then there is a "ladder" effect. Those, the file just contains a graph in the form of bitmap, but not the emf commands

 


Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Apr 2020
1 answer
260 views

I built a virtual grid which may get large so I am deferring adding a link which may take some processing to find until the row is actually selected.  Is this a good idea?  Can it even be done?  And if so does the entire grid then have to be rebuilt?

I want to add that 10 years ago a Microsoft evangelist recommended I ask for Telerik controls - and when my next job developing web pages had only the default set it was like trying to cook with dull knives when you were used to a razor sharp set.  I have them at my current job - and what a difference it makes!

Nadya | Tech Support Engineer
Telerik team
 answered on 23 Apr 2020
1 answer
832 views

Hi,

    We need to merge the radGrid cell(Wage Category column) with the same name as mentioned in the video link. Code shared for your reference. Please check & help us with it.

Screen Shot link

 

Dim dtArraytemW  as New DataTable()

 Public Sub InitializeDatatable()

dtArraytemW= New DataTable

dtArraytemW.Columns.AddRange(New DataColumn() {New DataColumn("Wage Category", GetType(String)), New DataColumn("Type", GetType(String)),
New DataColumn("# Hours", GetType(String))})
End Sub

dtArraytemW.Rows.Add(0)(0) = "Salary - Office"
dtArraytemW.Rows(0)(1) = "Regular"
dtArraytemW.Rows(0)(2) = 1
dtArraytemW.Rows(0)(3) = 1.5
dtArraytemW.Rows(0)(4) = 2

dtArraytemW.Rows.Add(1)(0) = "Salary - Office"
dtArraytemW.Rows(1)(1) = "Overt0me"
dtArraytemW.Rows(1)(2) = 1
dtArraytemW.Rows(1)(3) = 4.5
dtArraytemW.Rows(1)(4) = 3

dtArraytemW.Rows.Add(2)(0) = "Salary - Office"
dtArraytemW.Rows(2)(1) = "1.7 T0me"
dtArraytemW.Rows(2)(2) = 1
dtArraytemW.Rows(2)(3) = 6.3
dtArraytemW.Rows(2)(4) = 1

rdgvWGrd.DataSource = dtArraytemW

 

Video Link

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Apr 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)
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?