Telerik Forums
UI for WinForms Forum
7 answers
254 views
We have a number of custom controls attached as RadDropDownButton items (one item per drop down button).

Some of the controls have a scrollable list.  Expectation would be that the mousewheel would scroll the list when the control is displayed, but what happens is the popup disappears.  We've been trying to find out how to alter this behaviour, without success.  There is a similar thread (http://www.telerik.com/forums/radtreeview-in-raddropdownlist) that applies to a RadDropDownList, but the same actions for the RadDropDownButton aren't working.

Simple reproduction of the issue is adding a RadDropDownButton to a form and initializing with this code:
var tree = new RadTreeView();
for (var i = 0; i < 100; i++)
{
    tree.Nodes.Add(new RadTreeNode("Item " + i.ToString()));
}
var hostItem = new RadMenuHostItem(tree);
radDropDownButton1.Items.Add(hostItem);

Any suggestions anyone may have would be greatly appreciated!


David
Top achievements
Rank 1
 answered on 23 Feb 2015
1 answer
95 views
Hi, can anyone tell me how to add custom dialog within Raadschedule.

I have already tried looking on the telerik website with this video. http://tv.telerik.com/watch/winforms/radscheduler/adding-custom-fields-radscheduler-winforms-appointments


Regards.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Feb 2015
1 answer
139 views
Hello Guys ,

I am newbie with tererik RadGridview with winforms and I build form that have collection of custom object called SaleBillDetailsDTO the grid showed values correctly but when I add new item in grid the data disappear

BindingSource bsData = new BindingSource();
var listBinding = new BindingList<SaleBillDetailsDTO>(lstSBDetails);
bsData.DataSource = listBinding;
radGridView2.DataSource = bsData; 
 
// Allow the user to add rows
((BindingList<SaleBillDetailsDTO>)bsData.List).AllowNew = true;
((BindingList<SaleBillDetailsDTO>)bsData.List).AllowRemove =
true;  

What should I do to add new row ? If you have sample tutorial it will be very helpful
Stefan
Telerik team
 answered on 23 Feb 2015
1 answer
173 views
I am using two documents with tool window property ,
How to set document window 1 as default initializing window programmatically.
Stefan
Telerik team
 answered on 23 Feb 2015
1 answer
117 views
I created a custom form , and some methods, such as " AppointmentEditDialogShowing ", always runs twice. Is that correct?
Tks.
Stefan
Telerik team
 answered on 23 Feb 2015
1 answer
126 views
Hi, 
How can we capture drag and drop of task ?  
Which particular task was moved,
and also can we mark the task which is moved
Thanks,
BNB
Hristo
Telerik team
 answered on 20 Feb 2015
2 answers
811 views
Hi all, 

i want to make a ProgressDialog.

User clicks on button "Delete", then ProgressDialog opens and Progress should be shown.

This is my code for the dialog class:

Public Class ProgressDialog
 
    Public Property MessstelleItems As New List(Of tblMessstelleVerzeichnisNeue)
    Public Property ZahlerItems As New List(Of tblZahler)
    Public Property MessstellenPage As MessstellenPage
    Public Property ZahlerPage As ZahlerPage
 
    Private _ctx As EnergieManagementDataContext
 
    Public Sub New(ByVal ctx As EnergieManagementDataContext)
 
        ' This call is required by the designer.
        InitializeComponent()
        _ctx = ctx
        ' Add any initialization after the InitializeComponent() call.
 
    End Sub
 
    Protected Overrides Sub OnShown(ByVal e As EventArgs)
        MyBase.OnShown(e)
        DoWork()
    End Sub
 
    Private Sub DoWork()
        RadProgressBar.Minimum = 0
 
        If MessstelleItems.Count > 0 Then
            RadProgressBar.Maximum = MessstelleItems.Count
            For Each item In MessstelleItems
 
                Dim index = MessstelleItems.IndexOf(item) + 1
                ProgressRadLabel.Text = "Lösche Messstelle " + index.ToString() + " von " + MessstelleItems.Count.ToString()
                RadProgressBar.Value1 = MessstelleItems.IndexOf(item) + 1
                Me.Refresh()
 
                Dim tmp As New List(Of tblMessstelleVerzeichnisNeue)
                tmp.Add(item)
                MessstellenPage.CurrentMeasuringPoints = (From p In _ctx.tblMessstelleVerzeichnisNeues.ToList() Join r In tmp On p.MessstelleVerzeichnisID Equals r.MessstelleVerzeichnisID Select p).Distinct().ToList()
                MessstellenPage.DeleteCurrentMeasuringPoints()
 
            Next
 
        Else
 
        End If
    End Sub
 
End Class
The deletion progress works fine. Only the Progressbar isnt displayed.

ProgressDialog is started as a modal Dialog:

Using dataContext = New EnergieManagementDataContext
    Dim dlo As New DataLoadOptions()
    dlo.LoadWith(Of tblMessstelleVerzeichnisVersion)(Function(r) r.tblMessstelleVerzeichnisZeiches)
    dlo.LoadWith(Of tblMessstelleVerzeichnisVersion)(Function(r) r.tblMessstelleVerzeichnisMessbereiches)
    dlo.LoadWith(Of tblMessstelleVerzeichnisVersion)(Function(r) r.tblMessstelleVerzeichnisStorungsbereiches)
    dlo.LoadWith(Of tblMessstelleVerzeichnisVersion)(Function(r) r.tblMessstelleVerzeichnisVersionZahlerKanals)
    dlo.LoadWith(Of tblMessstelleVerzeichnisVersion)(Function(r) r.tblMessstelleVerzeichnisVersionVerantwortliches)
    dlo.LoadWith(Of tblMessstelleVerzeichnisVersion)(Function(r) r.tblMessstelleVerzeichnisAreal)
    dlo.LoadWith(Of tblMessstelleVerzeichnisVersion)(Function(r) r.tblDokumentes)
    dlo.LoadWith(Of tblMessstelleVerzeichnisVersionZahlerKanal)(Function(r) r.tblZahlerKanal)
    dlo.LoadWith(Of tblZahlerKanal)(Function(r) r.tblZahlerVersion)
    dataContext.LoadOptions = dlo
 
    Dim progress As New ProgressDialog(dataContext)
 
    items = RadGridViewMessstellen.SelectedRows.Select(Function(c) CType(c.Tag, tblMessstelleVerzeichnisNeue)).ToList()
 
    progress.MessstellenPage = Me
    progress.MessstelleItems = items
    progress.ShowDialog()
 
End Using

No need to check DialogResult, just for blocking thread stepping out of the using block.

Any suggestions why the ProgressBar isnt updated when function runs. 
When work is completed the RadProgressBar shows the full Progress.

thx
Dimitar
Telerik team
 answered on 19 Feb 2015
3 answers
183 views
Hi,

Is there a way to get the filename of the currently opened document when the Open dialog is used from the ApplicationMenu button group? I want to display current filename in the form caption.

Also, is there anyway to force RichTextEditor to ONLY use docx files (ideally looking to remove the other buttons from the Application menu).

Regards,

Lee.
Dimitar
Telerik team
 answered on 19 Feb 2015
4 answers
447 views
Hello all, i was wondering if anybody could help me figure out how to take the current week view in the scheduler and create a pdf that's in a landscape/horizontal view of it?

Thanks all,

Phil
Hristo
Telerik team
 answered on 19 Feb 2015
1 answer
184 views
When i have about a number of item int the property grid that generate a school bar. If you scroll the scroll bar up and down, the contents of the property grid goes all wonky where the content just start to bounce and the scroll gets all mess up. It gets to the point where the property grid contents moves all the way to the top and leaves an bunch of empty space in the bottom. I have attached a screenshot of it. I need a solution for this, because i have a product that needs to ship.

Thanks,
Jerome.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Feb 2015
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?