Telerik Forums
UI for WinForms Forum
2 answers
704 views

I have a GridView with some bound data. I have an unbound checkbox on the first column... This checkbox simply acts as a marker for further processing... eg on all checked rows, data is saved when a button is pressed...

On change of each checkbox I need to run some validation... which I won't go into here...So I use the event MyGridView_ValueChanged(object sender, EventArgs e).

From this event I use the following code to go through each row and find all the checked checkboxes...

            foreach(GridViewRowInfo gvri in MyGridView.Rows)
            {
                if (Convert.ToBoolean(gvri.Cells["chkSelected"].Value) == true)
                {
                       // Happy Days
                 }
            
}

Even though checking this checkbox fires the ValueChanged event, when this code is run, there are no values that return true for the checkboxes.  If I select another checkbox, the first one now appears as true, but the one I just selected remains false... Why does this not show the changed value in the grid?  Also can you advise if this is possible using any other events / properties?

Thanks

Mohammed
Top achievements
Rank 1
 answered on 19 Jul 2016
1 answer
98 views

Hi,

We are building a pivot table using Telerik to display figure for different dimension.  But my client also require the pivot table to able to select one of the cell (figure) and show the records related to that figure:

For example

             Jan 2016

Type A        10

Type B          8

The requirement is to click the figure 10 and somewhere show the 10 records which fits the criteria Jan 2016 and Type A.

Is there anyway to do so?

Thanks

Hristo
Telerik team
 answered on 19 Jul 2016
1 answer
246 views
Hey
I added a button in the start menu of RadRibbonBar. The problem is the button stays visible on the screen even after clicking it. How do I hide the start menu after the button is clicked?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Jul 2016
1 answer
124 views
Is there a correct implementation to use this functionality between pivot grid and chart view.

Looking at it from an external perspective drilling down into a bar would effectively apply 1 or more filters to the data that correspond the bar selected. 

Many Thanks
Hristo
Telerik team
 answered on 18 Jul 2016
1 answer
125 views

Evaluating product;

 

How can I cancel a SelectedIndex change for a RadListView??

 

Thanks!

Dimitar
Telerik team
 answered on 18 Jul 2016
11 answers
1.5K+ views
I moved my code to a different virtual machine after getting back from a trip.  I just discovered that I can no longer use the mouse to either select or move any Rad GUI elements in my project.  Instead, I have a listing of icons for all Rad components at the bottom of the editing screen, in a window that I cannot dismiss.  I cannot figure out how this happened.

If I start a new project, it's fine, and everything works as expected.

No regular windows components are affected.  Those I can still select with the mouse, even when they're in a RadForm. 

I imagine there is a simple solution, but I can't figure it out.

Thanks


Dimitar
Telerik team
 answered on 18 Jul 2016
2 answers
199 views

Hi

I'm writing a subclass of a radtileelement and one of it's child LightVisualElements needs to emulate a button.

I've written the following code which emulates a regular/plain windows button but I wondered if there was a quick method to copy the style from the border primitive belonging to a button on the form to my LightVisualElement so that my element will maintain the appearance of a button border without needing to do it all manually. (Ive not touched theming yet as Ive only been doing this a few days so far and want to start feeling comfortable understanding the controls first.)

 

01._buttonElement = new LightVisualElement();
02._buttonElement.TextAlignment = ContentAlignment.MiddleCenter;
03._buttonElement.AutoEllipsis = true;
04._buttonElement.MinSize = new Size(0, 30);
05. 
06._buttonElement.DrawFill = true;
07._buttonElement.BackColor = SystemColors.ButtonFace;
08. 
09._buttonElement.DrawBorder = true;
10._buttonElement.BorderBoxStyle = BorderBoxStyle.FourBorders;
11._buttonElement.BorderBottomColor = SystemColors.ButtonShadow;
12._buttonElement.BorderRightColor = SystemColors.ButtonShadow;
13._buttonElement.BorderTopColor = SystemColors.ButtonHighlight;
14._buttonElement.BorderLeftColor = SystemColors.ButtonHighlight;

Czeshirecat
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 15 Jul 2016
1 answer
318 views

I've got a custom cellelement and column that contains a RadWebBrowserElement. Clicking inside the document does not trigger the cellclick(other regular columns work fine). I've tracked down the event I need and added an onclick listener to it with: _webBrowserElement.WebBrowserItem.WebBrowserControl.Document.Click += Document_Click;

Clicking inside the document fires Document_Click but I'm assuming I have to somehow have Document_Click fire the cellclick event but am unclear how to do this.

Any help would be much appreciated,

Thanks

Hristo
Telerik team
 answered on 15 Jul 2016
2 answers
244 views

Hello,

I encounter a strange behavior with my RadForm window:

When I maximize my Form, a boarder exists where the Form is not rendered and the background /application behind is visible and usable. See the attached screenshot.

If the form is not maximized everything is OK.

This issue occurred after updating from the previous version to the latest version, and this issue exists only on Computers that do not have Visual Studio Installed (standard users of the software). On the development machine the maximized state is OK too.

Do You have an idea how to solve this problem? Or do You have a workaround?

Thanks for your help!

Regards,

Ingo

LIMA Factory
Top achievements
Rank 1
 answered on 15 Jul 2016
1 answer
128 views
I'm currently using version 2013.1.321.20 and would like to upgrade to a newer version. When I try to run the installer though, it's blocked because my company doesn't allow us to run 7zip .exes. Is a later version available in a different format? Thanks.
Dimitar
Telerik team
 answered on 15 Jul 2016
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
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
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?