Telerik Forums
UI for WinForms Forum
1 answer
81 views

Hi, I have been asked to write a reporting program in Winforms (Vb.Net). It will need to dynamically create a variable number of rich text boxes on a form. For example: user chooses to create 5 rtboxes, clicks a button and all 5 will be created on the form aligned left, labelled and evenly spaced to fill the form. If 2 boxes are created then they will have an increased height and also fill the form.
The data entered in to these boxes needs to be ouputted to MS Word as a report.
Can anyone suggest a Telerik control(s) to best achieve this please?

 

Thanks,

John

Hristo
Telerik team
 answered on 16 Sep 2016
3 answers
265 views

It's completely essential to move the position of the Group Panel, for example below a Command Item bar, or below the Search Row.

Why a "toolbar" will be displayed under the group panel? It has no sense...

I've seen another thread asking the same, and it was solved... but for AJAX, Is it possible to do that on WinForms??

 

http://www.telerik.com/forums/position-group-panel-below-command-item-template

http://feedback.telerik.com/Project/108/Feedback/Details/46832-configurable-group-by-box-position

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Sep 2016
1 answer
219 views

Hi,

I'm not able to fix the SearchRow of the gridview to the end of the control. 

 

When I use the "SearchRowPosition = SystemRowPosition.Bottom", it appears at the end of the rows, but not fixed at the bottom of control, which is what I need.

Is it possible to do that?

 

Thanks in advance.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Sep 2016
12 answers
544 views
Hi,

I've done a search on the forums and found nothing about DataForms for WinForms, I know you can go through an Objects properties and build up a set of controls based on the object, but it would be nice if maybe telerik had a dat-entry form control which we could pass one object or a list of objects to it.

I've been looking around and found this:
Data-Entry Form
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Sep 2016
2 answers
154 views

With the GroupType set to Resource and the ActiveViewType set to Day I want the All Day Header Height to be set to 15. Everytime I set the height with the GroupType set to Resource it gets reset to the height of 25. As long as the GroupType is set to None the All Day Header Height gets set to the desired size. Here is the code I am currently using to set the height.

'Add any resources that aren't already in the collection
                    For Each nCrew In SelectedCrews
                        If IsNothing(nScheduler.Resources.GetById(nCrew.ID)) = True Then
                            nResource = New Telerik.WinControls.UI.Resource(New EventId(nCrew.ID), nCrew.Name)
                            nResource.Color = Color.Transparent
                            nScheduler.Resources.Add(nResource)
                            nScheduler.Resources.Item(nScheduler.Resources.Count - 1).SetDataItem(nCrew)
                        End If
                    Next nCrew
 
                    Dim nDayView As SchedulerDayView = nScheduler.GetDayView
                    If nDayView IsNot Nothing Then
                        nDayView.DayCount = 1
 
                        nDayView.ShowAllDayArea = True
                        nDayView.ShowHeader = False
 
                        'How many resource columns are displayed (cap at 7)
                        If nScheduler.Resources IsNot Nothing Then
                            If nScheduler.Resources.Count < 7 Then
                                nDayView.ResourcesPerView = nScheduler.Resources.Count
                            Else
                                nDayView.ResourcesPerView = 7
                            End If
                        Else
                            nDayView.ResourcesPerView = 7
                        End If
                    End If
 
                    nScheduler.GroupType = GroupType.Resource
 
                    Dim dayViewElement As SchedulerDayViewGroupedByResourceElement
 
                    If TypeOf nScheduler.SchedulerElement.ViewElement Is Telerik.WinControls.UI.SchedulerDayViewGroupedByResourceElement Then
                        dayViewElement = TryCast(nScheduler.SchedulerElement.ViewElement, Telerik.WinControls.UI.SchedulerDayViewGroupedByResourceElement)
                        If dayViewElement IsNot Nothing Then
                            dayViewElement.ResourceHeaderHeight = 25
                            dayViewElement.ResourcesHeader.Visibility = ElementVisibility.Visible
                            dayViewElement.AllDayHeaderHeight = 15
                        End If
                    End If
 
                    nScheduler.ResumeUpdate()
 
                    'Set up the Time Range on the Calendar
                    SetRuler(Me, nScheduler)

 

 

Brian
Top achievements
Rank 1
 answered on 14 Sep 2016
4 answers
264 views

Hi,

I am using the code below to drag the value of a specific field in a grid towards another grid and it works fine, until the moment that I filter the grid. Then this function returns the rowindex on the screen and not the actual rowindex in the grid.

How do I get the 'real' rownumber in order to drag the right data?

 

Thanks.

 

       private void gridTrekker_MouseDown_1(object sender, MouseEventArgs e)
        {
            var currentCell = gridTrekker.ElementTree.GetElementAtPoint(gridTrekker.PointToClient(Cursor.Position)) as GridDataCellElement;
            if (currentCell != null)
            {
                var rowIndex = currentCell.RowIndex;
                if (rowIndex >= 0)
                {
                    this.gridTrekker.CurrentRow = this.gridTrekker.Rows[rowIndex];
                    this.gridTrekker.CurrentRow.IsSelected = true;
                    gridTrekker.DoDragDrop("T-" + gridTrekker.CurrentRow.Cells["Kenteken"].Value, DragDropEffects.Copy);


                }
               
            }

Hristo
Telerik team
 answered on 14 Sep 2016
1 answer
181 views
Hi,

Do you plan (in nearest feature) to update kendo date picker with better support for mobile devices? (Date picker appears in random places and do not use available space.)
Is there any simple option to turn off kendo date picker if given conditions are met (screen resolution, browser) to use native date pickers?

Our goal is to make our application usable on mobile devices.
Stefan
Telerik team
 answered on 14 Sep 2016
1 answer
83 views

Hello,

Is there way to control the way GridView data is exported to PDF? Right now, the data on the exported PDF(generated using GridViewPdfExport) resembles exactly like that of the Grid. But, I have a different requirement.  Let's say, my Gridview has n number of rows and m number of columns, when I export I would like to see only some data to be displayed on the first page of the exported PDF with links to subsequent pages which would contain additional data.

Thanks,

Santosh

 

Dimitar
Telerik team
 answered on 14 Sep 2016
2 answers
115 views
When using a Radform in Winforms, if I maximize the form it now shows a thick border around the form. This border is transparent and obscures the edge of the form, all the way around. This happens in docking forms too, when floating and maximized. This only happens in Windows XP and Windows 7 - Windows 10 is fine (not tested on Windows 8). This has happened since the latest update - 2016 SP2. Before then this did not happen. Please investigate.
Nick
Top achievements
Rank 1
 answered on 14 Sep 2016
4 answers
237 views

Hi..Telerik Team

How to clear all cells value after binding a data then reload data. Here's my code.

Class Module

    Public Function GetDataTable(ByVal Query As String) As DataTable
        Dim adapter As New SqlDataAdapter()
        Dim mydt As New DataTable()
        Using Conn As New SqlConnection(DBConnection)
            adapter.SelectCommand = New SqlCommand(Query, Conn)
            adapter.Fill(mydt)
        End Using
        Return mydt
    End Function

---> i use above function to binding data into my grid and succeed

- Click NEW button then clear all cells value just loaded.My code as below

    Me.RadGridView1.DataSource = New DataTable()

- Click LOAD button to load another data

    dim vQstr as string = "SELECT * FROM table"

    RadGridView1.DataSource = objDB.GetDataTable(vQStr)

1. problem is when i load another data, my grid didnt show any data. Please kindly help

2. can manually save gridview data records into database by clicking a button, but user allows to add, edit and delete row before do saving

Thank you

Hristo
Telerik team
 answered on 13 Sep 2016
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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?