Telerik Forums
UI for WinForms Forum
1 answer
125 views

Hi, I need to filter empty text, i try to figure how to archive this with Demo Utility with "equal" and leaving empty textbox, but the events do not work as expected.

How can i do it?

 

Thank you

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Jun 2017
8 answers
685 views

Hi,

 

I have a week is selected, then I click a date more, how can I get the last date I have just clicked.

 

Look forward your reply,

Pham Thanh

Brian
Top achievements
Rank 1
 answered on 01 Jun 2017
3 answers
131 views

Hi,

I have a 1 column 3 row view for my RadCalendar. The problem is that I can's navigate to the previous months or following months using the "<<" "<" ">" ">>" buttons and I'm not sure why. I don't know if there's something specific I have to enable or what. In my Default.aspx file I have the following code:

<telerik:RadCalendar ID="RadCalendar1" runat="server" MultiViewRows="3" EnableMultiSelect="False" CssClass="RadCalendarMultiView RadCalendarMultiView_Default" EnableWeekends="True" FastNavigationNextText="&amp;lt;&amp;lt;" SelectedDate="">
                  <SpecialDays>
                        <telerik:RadCalendarDay Date="" Repeatable="Today">
                            <ItemStyle CssClass="rcToday" />
                        </telerik:RadCalendarDay>
                    </SpecialDays>
                    <WeekendDayStyle CssClass="rcWeekend"></WeekendDayStyle>
                    <CalendarTableStyle CssClass="rcMainTable"></CalendarTableStyle>
                    <OtherMonthDayStyle CssClass="rcOtherMonth"></OtherMonthDayStyle>
                    <OutOfRangeDayStyle CssClass="rcOutOfRange"></OutOfRangeDayStyle>
                    <DisabledDayStyle CssClass="rcDisabled"></DisabledDayStyle>
                    <SelectedDayStyle CssClass="rcSelected"></SelectedDayStyle>
                    <DayOverStyle CssClass="rcHover"></DayOverStyle> 

                    <ViewSelectorStyle CssClass="rcViewSel"></ViewSelectorStyle>
                </telerik:RadCalendar>

 

Most of the CssClass codes loaded automatically after doing edits on the design page. 

If anyone has any idea what I'm missing, please let me know.

Thanks, 

Samara

Samara
Top achievements
Rank 1
 answered on 01 Jun 2017
2 answers
227 views

Hi Team.

I was able to create custom radcheckeddrowdownlistelement in radgridview, but can figure out how to bind datasource when adding rows since each row with the custom radcheckeddropdownlistelement will different datasouce bind to it. Below is my code:

// Custom checkbox list

Public Class CheckBoxListCellElement
    Inherits GridDataCellElement
    Public Sub New(ByVal column As GridViewColumn, ByVal row As GridRowElement)
        MyBase.New(column, row)
    End Sub
    Private checkBoxListElement As RadCheckedDropDownListElement
    Protected Overrides Sub CreateChildElements()
        MyBase.CreateChildElements()
        checkBoxListElement = New RadCheckedDropDownListElement
        Me.Children.Add(checkBoxListElement)
    End Sub
    Protected Overrides Sub SetContentCore(value As Object)
        If Me.Value IsNot Nothing AndAlso Me.Value IsNot DBNull.Value Then

            Me.checkBoxListElement.Text = Convert.ToString(value)
        End If
    End Sub



    Protected Overrides ReadOnly Property ThemeEffectiveType() As Type
        Get
            Return GetType(GridDataCellElement)
        End Get
    End Property
    Public Overrides Function IsCompatible(data As GridViewColumn, context As Object) As Boolean
        Return TypeOf data Is CheckBoxListColumn AndAlso TypeOf context Is GridDataRowElement
    End Function
End Class
Public Class CheckBoxListColumn
    Inherits GridViewDataColumn
    Public Sub New(ByVal fieldName As String)
        MyBase.New(fieldName)
    End Sub
    Public Overrides Function GetCellType(row As GridViewRowInfo) As Type
        If TypeOf row Is GridViewDataRowInfo Then
            Return GetType(CheckBoxListCellElement)
        End If
        Return MyBase.GetCellType(row)
    End Function
End Class

 

// main form load event with the gridview

 Private Sub QuestionaireForm_Load(sender As Object, e As EventArgs) Handles Me.Load
       
     
        RadGridView1.Rows.Add(data1 to bind to customradcheckboxlist )
        RadGridView1.Rows.Add(data1 to bind to customradcheckboxlist )

    End Sub

 

However, I have seen the article on radgridview editor required for the radcheckeddropdownlist. But want the above code to work.

Thanks in advance.

Ali
Top achievements
Rank 1
 answered on 01 Jun 2017
2 answers
110 views

Hello All,

 

I am new to telerik platform and I am currently exploring and using UI for winforms 2016 Q1.

My problem is that I am trying to accomplish and implement a collapsible rad page view ( please see attached image ).

May I know how to achieve the same result? and is this possible?

 

Thanks.

 

Regards,

Meo

 

 

 

Wonder
Top achievements
Rank 1
 answered on 01 Jun 2017
4 answers
120 views

Hi. I want to display a gridview almost identical to the way it's displayed in the demo. I've spent hours trying to compare files but I still can't get the same behaviour.

I do have a couple of changes that I want.

There's only 3 columns in the datasource. CreationDate (datetime a record was created), ResultString (a string displaying a pass fail result), and a calculated column Date, which is the field I want to group on, which is just the date portion of CreationDate.

1) I want the grid to be set up grouped on the Date column automatically, as you've done with the City column in the demo. But I don't want the user to see the Grouping bar, or the Date column in the grid as it's only there for grouping purposes.

2) I can't see how the demo app gets the "City" button in the grouping bar. I can't emulate that at all. How is that done please? And can all that be hidden?

3) Another problem is formatting. If I show the Date column, the values in that column format correcty e.g. "01/02/2017", just showing short date with no time. But if I drag the Date column to the group bar then the group dividers show the time element e.g. "01/02/2017 00:00:00".
Trying to fix this I've added a Group Descriptor to the properties for the grid for Group, with format {0~:1d} but it doesn't seem to work (and also keeps disappearing from my Designer file)

Can you help please?

 

Dimitar
Telerik team
 answered on 31 May 2017
11 answers
311 views

I'm using RadDock 2017.2.502.40.

When I drag a toolwindow, that is initially docked, it becomes a floating window.  I am unable to resize the floating window.

Unfortunately, it seems, that by default the floating window cannot be resized.  I've created a fresh form with a RadDock so this behavior is right out of the box.

I've handled the FloatingWindowCreated event and set the FormBorderStyle per this post: 

http://docs.telerik.com/devtools/winforms/dock/object-model/customizing-floating-windows

But it seems to have no effect.  The floating window still cannot be resized.  I know the code is running because I've put in breakpoints.  The FormBorderStyle does change.

Just to make sure that something works, I've tried e.Window.Controls.Clear() and all the controls are gone when the floating window displays.  But it's not resizeable.

How do I make a floating tool window resizeable.

 

Thanks,

Steve

 

Dimitar
Telerik team
 answered on 31 May 2017
2 answers
97 views

I am replacing a 3rd party tool with Telerik....currently we have code with looks like this

grid.row.cells[testcolumname.index].text = "test"

However when I convert the control to Telerik, the column name I give it in the properties of the Control is not recognized.

Am I missing something?

Help!  

 

thanks

 

Jason
Top achievements
Rank 1
 answered on 30 May 2017
5 answers
273 views
Is there any build-in solution to save and restore the position of RadGridView's VerticalScrollbar?
Is there any build-in solution to save and restore the expand/collapse state of displayed groups?

I use RadGridView's SaveLayout() and LoadLayout() methods and it seems the values mentioned above are not being persisted to the layout file.
Gowtama
Top achievements
Rank 1
 answered on 30 May 2017
3 answers
105 views

Rad Grid - I want to use two rad grid And grid row move one grid to another grid row but I want to need cell .Which cell drop column.

So,How to get cell (Column) on two different rad grid drag and drop functionality

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 May 2017
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?