Telerik Forums
UI for WinForms Forum
34 answers
466 views
Hi, this is my first post. I'm using RadGridView and I want some cells have different colour if a condition is fulfilled or some cells disabled if the same condition or another is fulfilled. I am handling CreateCell event but the problem is e.cellelement is always nothing and I get exception. I'm using RadControls for Windows 2010 Q2 SP2 trial.
I'm using Visual Studio 2008 (.NET 3.5 Framework, VB. NET) and I'm new using telerik rad controls.
Am I doing something wrong? Is this event the best for doing what I try to get? Thanks for the answers.



Dimitar
Telerik team
 answered on 16 Nov 2015
2 answers
681 views

Hi guys. 

Got some problems with the radgridview. I have a radgridview with some filters. If user filters the data i need to get row index for some updates. But for me row index is always -1 after filtering. Without filtering code works well.

  private void grdDetay_CellEndEdit(object sender, GridViewCellEventArgs e)
        {

            var listId = 0;
            var dtyid = 0;
           
            GridViewRowInfo row = this.grdDetay.CurrentRow;
            int rowIndex = row.Index;
            listId = Convert.ToInt32(grdDetay.ChildRows[rowIndex].Cells[0].Value);
            dtyid = Convert.ToInt32(grdDetay.ChildRows[rowIndex].Cells[1].Value);
            
       }
                ​

Dimitar
Telerik team
 answered on 16 Nov 2015
3 answers
746 views
HI

I have met a big problem.

I have new a TelerikWinFormsApp1 and the build process is normal.

but after drag/drop a RadPageView into Form1 the build process throw the error :

SeverityProjectCodeDescriptionFileLine
ErrorTelerikWinFormsApp1
Task could not find "LC.exe" using the SdkToolsPath "" or the registry key 
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\NETFXSDK\4.6\WinSDK-NetFx40Tools-x86". 
Make sure the SdkToolsPath is set and the tool exists in the correct processor specific 
location under the SdkToolsPath and that the Microsoft Windows SDK is installed

Just a simple Telerik control drag/drop...
I need to install the Windows 10 SDK ?
(https://dev.windows.com/en-us/downloads/windows-10-sdk)
If need, Why ???

*Registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\NETFXSDK\
 is not exists in my windows registry.
*My C:\Program Files\Microsoft SDKs\Windows\ have no 'v10.0A' folder.
*If drag/drop the radButton1, the build process is normal.

Environment:
Windows 7
Visual Studio 2015 Enterprise 
Telerik DevCraft 2015 Q2

Best regards

Chris

Hristo
Telerik team
 answered on 16 Nov 2015
1 answer
126 views

Hi all, I've attached a png of my issue. The shart is inside a table cell, as you can see only half of the chart is visible, no idea why this is?

 

Dimitar
Telerik team
 answered on 16 Nov 2015
2 answers
70 views

I don't understand why but if you place a RadTextBox or a RadTextBoxControl with a BackColorChanged event setup inside a RadPageView the BackColorChanged event is raised before the Form_Load method when you start the app without changing the BackColor of the RadTextBox. If you move the control outside the RadPageView the BackColorChanged event does not get raised which is the expected behavior.

I wonder if this is a known issue?

Any idea how to prevent the BackColorChanged event to get raised when the control is inside a RadPageView?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Nov 2015
4 answers
232 views

Hi - I need some help with rad panel borders in a WinForm.  I understand from other threads that the way to get a panel's borders to disappear is to set the PanelElement.PanelBorder.Visibility to "Collapsed".  This causes the border to disappear just fine, but it also affects the parent panel by making its borders disappear too.  See the attached image for how it looks.

Is there a way for me to get the child panels to have no border but also not affect the parent panel?  I want that border to remain as it is.

Side note: I have the two child panels inside the parent and set them to Dock left so that when the left control isn't needed that panel can be set to invisible and the panel containing the remaining controls will move to the left.

Thanks.

Bob
Top achievements
Rank 1
 answered on 13 Nov 2015
1 answer
152 views

I have added a custom column with a radSplitButton to my grid. When a button item is clicked, I would like to get the value from another cell in the row, delete the current row and delete other rows in the grid. I raise an event when a button item is clicked. I tried using the following code to subscribe to the event but the cellelement is nothing at this point. What is the best way to subscribe to the event?

 

  Private Sub dgvReconcile_CreateCell(sender As Object, e As Telerik.WinControls.UI.GridViewCreateCellEventArgs) Handles dgvReconcile.CreateCell
        Try
            If e.Column IsNot Nothing AndAlso Not e.CellElement Is Nothing Then
                If e.Column.Name = "CreateNew" AndAlso (TypeOf e.Row Is GridDataRowElement OrElse TypeOf e.Row Is GridNewRowElement) Then
                    Dim myElement As SplitButtonCellElement = DirectCast(e.CellElement, SplitButtonCellElement)
                    AddHandler myElement.NewClicked, AddressOf btnCreateNew_Click
                End If
            End If
        Catch ex As Exception
            MsgBox(ex.ToString)
        End Try
        
    End Sub​

Dimitar
Telerik team
 answered on 13 Nov 2015
5 answers
428 views
I am building the property grid at runtime and I want to use the standard property editors/Attributes  such as Password, browser, dropdown list, etc.    I've found examples of how to write custom editors, but in this case I want to leverage the build in editors.    How can I assign editor attributes at runtime for programmatically added items in a property grid ?

This is the WinForm version of the control , not WPF
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Nov 2015
5 answers
222 views
Hello,

First at all, I would like to say that I like Telerik UI for Winforms a lot, pretty much better than the basic controls of Visual Studio.

I'm using RadScheduler in TimeLineView to make the schedule of the salaries of my company.

The Scheduler is group by resources (the salaries) and show 3 weeks (see the screenshot for more details).

I would like to print the schedule similar (or "look like") as what the user see on his screen.

I looked the options in the PrintPreview things, but I didn't find how to make it.

Is it possible ? And how ?

Thanks in advance.

Sincerely,

Jérémy SIMAO

PS : Sorry for my bad English, I'm French so it's a bit difficult for me to explain it well.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Nov 2015
9 answers
1.7K+ views
Hi

are there is event like SelectionChangeCommitted in the rad ComboBox  in win forms ?
the pwoer of this event is that SelectionChangeCommitted is raised only when the user changes the combo box selection. if you use SelectedIndexChanged or SelectedValueChanged to capture user changes, because those events are also raised when the selection changes programmatically.

Stefan
Telerik team
 answered on 12 Nov 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)
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
AI Coding Assistant
+? 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?