Telerik Forums
UI for WinForms Forum
7 answers
1.6K+ views

Hello I need to programmatically change the colors of a cell specified by its index , i.e. not the selected cell.

I know that the colors can/must be set on the cellelement but I have not found how to get the cellelement of a cell by it's index (or column name) in the currentrow

    e.currentrow(7).cellelement does not exists

and I have tried   e.CurrentRow.Cells(7).style.BackColor=Color.Blue but it has no effects

Thanks in advance

Pierre-Jean

Nadya | Tech Support Engineer
Telerik team
 answered on 30 Apr 2020
1 answer
971 views
I'm trying to add a checkbox to all column headers of a GridView, however I cannot see an easy way to accomplish it.  Basically, I have a dynamically generated set of columns (which each can contain a different editor).  I want a checkbox in the header cell which will allow me to enable/disable that column, however I cannot see a way to do it (I basically want to replicate the 'EnableHeaderCheckBox' functionality of the GridViewCheckBoxColumn, except on all columns regardless of data type).  Can anybody offer any advice on how this can be acheived?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Apr 2020
3 answers
92 views

is it possible to drop a hyperlink object - as a custom cell, no doubt - into a virtual grid

I downloaded the example from another post in this forum but it was for a checkbox

I found a HyperlinkElement but it is calling for the specific row and column before instantiating

any assistance is greatly appreciated

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Apr 2020
1 answer
240 views

Hi I am developing an application where Image URLs are saved onto a SQL database (Local paths) The images are in a JPEG/PNG format. Would it be possible to get the Image URLs from the database and insert them into the carousel? If so please can I get some help on how to do so :)

Kind regards

Nadya | Tech Support Engineer
Telerik team
 answered on 29 Apr 2020
14 answers
3.7K+ views
Hello,

I've tried to find some info on this but I'm not sure what the problem really is.  Overall I have a master/detail record situation.

I have a datasource bound to a RadGrid and to form items in a "detail" view above the grid. When I click a row the form items in the detail view update with the current record data.  Works great, drop down's and all.  However, the RadDateTime picker has me puzzled.  It updates fine until it hits a record with a null value for the date. Rather than going blank it holds the last date that it received. I expected it to go blank on a null value.  The datepicker supports a 'work order closed' field and will remain null until some point in the future.

Is there something i'm missing? or am I going against best practice and there is a better way?

Thanks,

Dean.
Nadya | Tech Support Engineer
Telerik team
 answered on 29 Apr 2020
1 answer
162 views
I am using the Excel-like filtering in my Winforms application and I have a few GridViewComboBoxColumns that have their datasources set from stored procedures programatically instead of from the database table that I am using for the datasource for the rest of the columns.  Because of this, the filters are not automatically filling in the options for these columns like they do for the columns that use the main datasource.  I have used the technique described here: https://www.telerik.com/forums/custom-gridview-filter-popup to add custom options to the filters where needed, but once selected and OK is clicked, nothing happens.  When I add a break point in the FilterChanging event, I see that the column has been selected as a filter source based on the Property Name, but there is no value and no expression in the filter.  Is there something I have to do to format the values added to the DistinctListValues so that they pass a value and expression?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Apr 2020
11 answers
754 views

I am working on rewriting our grid reporting system using the Telerik GridView. I have run into one thing I have no been able to do. When I group a report, I need to show a summary row for all group levels. I have attached an example of what I need to do. In it I am grouping on two columns: View & User Id. I show a summary row for each user (pink) and then another summary row for each view (blue). 

I have tried to do the same thing with the gridview but i have  only been able to show a summary row for the lowest level group. 

 Does any one have an suggestions on how to do this?

 

 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 28 Apr 2020
3 answers
186 views
First, I have prepared my data in a radTreeView control.
Then, how assign treeview to RadListFilterPopup?


Please refer the pciture from attachment.
Any way can be done?


RadHostItem h = new RadHostItem(this.radTreeView1);


void radGridView1_FilterPopupRequired2(object sender, Telerik.WinControls.UI.FilterPopupRequiredEventArgs e)
{
    if (e.Column.Name == "Store")
    {
        e.FilterPopup = new RadListFilterPopup(this.radTreeView1, true);
    }
}
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Apr 2020
2 answers
82 views

Hi

I am trying to make a search function in a treeview.

Using this code will find what i am looking for:

 

       Dim result As RadTreeNode() = RadTreeView1.FindNodes("Anders And")

        result(0).RootNode.ExpandAll()
        result(0).Selected = True

but all nodes are expanded, like 'expand1.png'

I would like it to look like 'expand2.png'

Kindly Peter

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Apr 2020
3 answers
125 views
In demo editor it is possible to select text with double-click, and right-click the text, and have Cut and Copy menu items disabled in context menu. One has to be very fast, but it's not hard to reproduce it. Sometimes even Cut is enabled and Copy is disabled. Not sure if this is a bug or by design.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 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)
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?