Telerik Forums
UI for WinForms Forum
1 answer
788 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
4 answers
208 views

Hello

 

I have been trying for weeks now to just get a working version of scheduler.

That being said ? Here is what I have done.

 

  1. I have read every document concerning scheduler 
  2. I have watch numerous videos on the topic
  3. I have downloaded all known documentation.
  4. I have downloaded all examples on the site
  5. I have copied working code from example back to the same access data base.
  6. I have also taken the db schema for sql and created the tables"Still to no avail"

Still unable to get this to work.

 

I am new to telerik 
Also I am self taught dabbler

But unable to figure out what my issue is..

 

My requirements for integrating scheduler in to my new born application is...........

  • I have to use a local sql .mdf file that can go with project. "Not access"
  • I need the standard just out of the box capabilities to start
  • I will be creating custom appointment dialogs later
  • Also I will need the ability to create appointments in the background with out selecting cell to activate appointment dialogs.

My question is can any one give me a working scheduler 

That can actually save appointments " Persisting " that can have recurrences active.

 

I have tried databinding directly through the schedulerdatabindingsource module .

And also tried hard coding this for info mapping .

Done everything I know to do .

Using the newest latest greatest 2017 devcraft.

Please some one help so I can move on.

 

Thanks Jeff

 

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Apr 2020
3 answers
132 views

I have a table in protected part of the document. I just use it to properly format some read-only data. Style of all borders is set to None.

How can I disable any kind of interaction with the table? This includes the pop-up "select all" button above the table's top-left corner, and Design and Layout tabs in ribbon bar. They should not appear. Context menu should also be trimmed, but I think I can handle that one.

Dimitar
Telerik team
 answered on 22 Apr 2020
6 answers
646 views
Hi,

Ik would like to display a tooltip on a cell when the text in the cell has an ellipsis.
The AutoEllipsis nicely adds the Ellipsis when the text is to big for the cell, but instead of having the users change the width of the column i would like a tooltip which shows the entire text.

I couldn't find documentation on how to do this so if someone can point me in the right direction...

Kind regards
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Apr 2020
1 answer
113 views
Good morning
I set UseMnemonic to True in CommandBarButton and added the ampersand to the text but the underscore is not seen. Why?
Thank you
Nadya | Tech Support Engineer
Telerik team
 answered on 21 Apr 2020
3 answers
165 views

Hi.

How to save TreeView. I have no problem read data from database, like this:

 

   Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

        Me.TblSkydeHoldTableAdapter.Fill(Me.SkyttecenteretDataSet.tblSkydeHold)

        Me.RadTreeView1.DisplayMember = "name"
        Me.RadTreeView1.ParentMember = "pid"
        Me.RadTreeView1.ChildMember = "id"
        Me.RadTreeView1.ValueMember = "id"

        Me.RadTreeView1.DataSource = Me.GetSampleData()

    End Sub

    Private Function GetSampleData() As DataTable

        Dim dt As New DataTable()
        Dim dc As New DataColumn()
        dc.ColumnName = "id"
        dc.DataType = GetType(Integer)
        dt.Columns.Add(dc)
        Dim dc1 As New DataColumn()
        dc1.ColumnName = "name"
        dc1.DataType = GetType(String)
        dt.Columns.Add(dc1)
        Dim dc2 As New DataColumn()
        dc2.ColumnName = "pid"
        dc2.DataType = GetType(Integer)
        dt.Columns.Add(dc2)


        Me.TblSkydeHoldTableAdapter.Fill(Me.SkyttecenteretDataSet.tblSkydeHold)

        For Each dRow As DataRow In Me.TblSkydeHoldTableAdapter.GetData
            Dim dr As DataRow = dt.NewRow()
            dr(0) = dRow.Item("dr0")
            dr(1) = dRow.Item("dr1")
            dr(2) = dRow.Item("dr2")
            dt.Rows.Add(dr)
        Next

        Return dt

    End Function

 

But my problem starts when i want to save back to database. When i add a new node, the node have no parentmember value or valuemeber value. Is it possible to add those values automaticly when a new node is created?

Kindly Peter

 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 21 Apr 2020
3 answers
118 views

I am creating ScatterSeries

                    var scatterSeria = new ScatterSeries
                    {
                        XValueMember = "COLUMN0", YValueMember = "COLUMN1", 
                        HorizontalAxis = horizontalAxis1, 
                        VerticalAxis = verticalAxis1,
                        Shape = new CircleShape(),
                        BackColor = Color.Red,
                        BorderColor = Color.Black,
                        PointSize = new SizeF(10.0f, 10.0f),
                        IsVisibleInLegend = true
                    };
But the border of the shape is not drawn in black on the chart. But the same shape is drawn in the legend with a black border.

In a legend, I draw a shape using

        private void LegendElement_VisualItemCreating(object sender, LegendItemElementCreatingEventArgs e)
        {
            e.ItemElement = new LegendItemElement(e.LegendItem);
            if (!(e.LegendItem.Element is ScatterSeries seria)) return;
            e.ItemElement.MarkerElement.Shape = seria.Shape;
        }

How to set the border color for the shape on the chart?

Nadya | Tech Support Engineer
Telerik team
 answered on 21 Apr 2020
1 answer
1.1K+ views

Hi, I've got  a TabControl, with several TabPages, with RadGridViews i nthem.

I pretty much let the GUI do most of the wiring up of the grids & data..

Everything seems to be working except, I'm getting the above message when I

Add a new Row.

As soon as the row is added, I get the icon on the row, and that message.

The row adds just fine, and I can update it, & delete it as well.

 

Without posting the entirety of the projects code, is there a place I might look to first, to find why I've

apparently got two datareaders open?

Attached is what I see after adding that new row, and scrolling to the bottom of the data grid.

Rich

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Apr 2020
4 answers
350 views
Hello,  I apologize if I am missing something obvious here but, should the radButton be resizing to the text it contains?  If I take a standard button, put long text into it and set autosize = true the button will expand to the size of the text.  Can I do this with the radButton? 

Thank you,
Tyler
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Apr 2020
2 answers
85 views

Hello,

I use radrangeselector to quick scroll and zoom-in my radchartview.

At first, I show a part of my chart by using radrangeselector. The export as image works great. Only the part that I zoomed is exported.

But when I print by calling "RadChartView1.printpreview()", the image which I got is shifted.

Please find the photos in attach files.

You can download my demo in this link:

https://www.dropbox.com/s/kjabhazib59wfrd/DemoPrintChart.zip?dl=0

 

Great Regards,

Kun

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