Telerik Forums
UI for WinForms Forum
1 answer
81 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
118 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
138 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
59 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
105 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
751 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
153 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
387 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
152 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
1 answer
145 views
Hi,

I'm using the timelineview with Timescales.Hours. I would like to set the view so that the first hour displayed in the left side would be the one that has the first appointment of the day.

How can I achieve this in the code (vb.net)?

a) I know that I can set the start date, but can I set the start hour somehow? If I know, for example, that the first appointment is at 14:15, can I set the start hour to 14:00?

b) Or can I scroll to the first appointment of the day, so that the first appointment would be displayed in the left side of the view?

I'm using Telerik UI for Winforms Q3 2014 SP1


Br,
Pirjo
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
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
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
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?