Telerik Forums
UI for WinForms Forum
1 answer
95 views

If my parent node has several nodes that have several nodes when I use the Filter, it correctly filters.

However, in a filtered state, I check some boxes either in an indeterminate state or checked state, I notice that removing the filter also removes the checkboxes I had placed. What I was trying to achieve was have the user may filter and check any they may want, remove the filter and evaluate before doing another filter.

But if every time they check something in a filtered state and it gets removed in a non-filtered state, it defeats the purpose of the filter.

Any workaround?

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Feb 2018
5 answers
197 views

Hi !

 

I'm trying to get the code behind the formatting menu for forms like aligning, uniforming the size, spacing (vertically, horizontally).. Because I have my own application with forms and I need to control them like I can do it with Visual Studio.

 

Can anyone help me please ?

 

Thank you !

Hamza
Top achievements
Rank 1
 answered on 06 Feb 2018
11 answers
2.2K+ views
I have a form with a grid view which I have bound to a dataset (MS SQL database).  The table that I am binding to has a couple fields that have default values when adding new records.  I have figured out how to populate default values using the DefaultValuesNeeded event of the gridview control.  However this event only seems to fire if the user clicks the (click here to add new row) button at the bottom of the gridview.  I am trying to use a radButton to call a procedure to delete the row rather than use the default button at the bottom of the gridview.  I have tried using both the Add() and AddNew() functions of the gridview.  The Add() function will not work since my gridview is bound to a datasource.  The AddNew() will create a new row but it bypasses the DefaultValuesNeeded event.  I tried the code below but it didn't work - it errors out trying to set the first default value saying that no default value is specified for the second field:

Dim rowInfo As GridViewRowInfo = radGridInventoryRuns.Rows.AddNew()
rowInfo.Cells("RunYear").Value = Year(Now())
rowInfo.Cells("DateCreated").Value = Now()

 Is there anyway to mimic the behaviour of the button at the bottom of the gridview without actually clicking it.  I am using VS 2012 (vb.net) and the Q1 2014 version of the Telerik controls.
Dimitar
Telerik team
 answered on 06 Feb 2018
1 answer
574 views

Assume MultiSelect = true; And also assume they are all checkboxes.

Scenario--

I multi-select several nodes and when they are selected, I want to check any node within my selection and select all nodes that are selected..

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Feb 2018
6 answers
788 views

I have my gridview working with data tables for the data sources for both the master template and the child template.  Can you tell me how to do two things?

1.  I would like to set the width for that column that expands and collapses the child rows.  (It has that [+] and [-] symbol in it.)

2. Is there a way to collapse the child rows for a parent row when I click to expand a different parent row?

 

Thank you,

Gary

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Feb 2018
2 answers
119 views

I have a radgrid which has a context menu attached to it (this is not a header context menu).

I need to customize the context menu based upon which column has been clicked.

How to I retrieve the unique name of the column that has been clicked when the OnRowContextMenu  event fires in javascript?

Can you please point me to documentation that provides this information or failing that provide a code snippet.

 

e.g.

 

var TelerikRowContextMenu =  function (sender, eventArgs) {
            var objEventTarget = eventArgs.get_domEvent();
 
            var lngRowNumber = eventArgs.get_itemIndexHierarchical();

            var strColumnUniqueName = ??????????????????????????;

 

}

 

Alan
Top achievements
Rank 1
 answered on 06 Feb 2018
0 answers
88 views

Hello...

i have headache for this scenario ... i don't know what best scenario i need to use 

i have grid 

User can insert new data but if i doesn't valid it will show to another from that show master table... 

but if valid the next column on grid will fill with data...( i use LINQ) 

i have tried many solution but nothing work for me... 

help me plz... 

 

 

Hengky
Top achievements
Rank 1
Veteran
 asked on 06 Feb 2018
1 answer
492 views

Hello,

How to get row index / position on validating ... ? 

i have use this code 

       Dim baris As Integer = GridDetail.CurrentRow.Index 

and the return always -1 

how to fix this...  ?

*i use vb.net

Thanks

Hengky
Top achievements
Rank 1
Veteran
 answered on 06 Feb 2018
4 answers
217 views

After getting my listview to display custom items correctly (see http://http//https//www.telerik.com/forums/custom-listview-items) I noticed that my data is not being displayed correctly. I'm getting differing results, but often the first item in the list will mirror the last, but not all of the data. See the attached screenshot. The red values show what they should be. They are all ok except the first two values of the first item. I'm quite sure my DataSource is set up correctly as I can view it in debug. Maybe you could explain how SynchronizeProperties works, as I can't find an explanation of it in the docs. Perhaps I'm using it incorrectly. The code for creating the datasource is below.

_dataSource = new BindingList<RuleItemVisualItemDef>();
_myRule.RuleItemDefs.ForEach(def => _dataSource.Add(
    new RuleItemVisualItemDef
    {
        RuleItemId = def.RuleItemId,
        Sequence = def.Sequence,
        Name = def.Name,
        RuleItemText = GetRuleItemTextFor(def)
    }));
lstvwRuleItems.DataSource = _dataSource;
Tino
Top achievements
Rank 1
 answered on 06 Feb 2018
1 answer
67 views

I'm adding RadWebBrowserElement items to my rotator at run time.

To make it easier, I added a sample at design time and set up the properties for the embedded web browser in the property designer, eg suppressing errors, disabling links etc. I planned to copy/paste these from the designer.cs file into my factory, but I can only see the properties associated to the RadWebBrowserElement itself in the designer.cs file.

Where are they stored please?

 

 

 

Dimitar
Telerik team
 answered on 05 Feb 2018
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
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
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
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?