Telerik Forums
UI for WinForms Forum
1 answer
123 views
We have upgraded to the new 2010.2.10.0914 version of the GridView (from version 2010.1.10.308). 

In the prior version that we were using, when entering the filter row the grid still maintained the databound selected row.  In the new version this does not seem to be the case.  As soon as a cell in the filter row is clicked then the selected data row is no longer selected.

The behavior of maintaining the selected data, when entering into the filter row, is needed for our application.  How can this be accomplished in the new version of the GridView?

Thank you for any help and information you can provide.
Jeremy
Martin Vasilev
Telerik team
 answered on 21 Sep 2010
1 answer
207 views
Hi,

i hav a radgridview and a gridviewcheckboxcolumn in it.
when i click on checkbox why cell click event if not fired for checkbox.
or what is the other way to handle this checkbox checked event in gridview.

currently i am using Mouse Click event but there is one problem with it

 

 

 

 

Private Sub gridViewHome_MouseClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles gridViewHome.MouseClick 
   
  
Dim element As RadElement = Me.gridViewHome.ElementTree.GetElementAtPoint(e.Location) 
   
If TypeOf element Is RadCheckmark Then 
   
If (IsNothing(gridViewHome.Rows(gridViewHome.CurrentRow.Index).Cells("User").Value)) Then 
   
RadMessageBox.Show("Task Cannot Assign/UnAssign if the task", "Cannot Assign/UnAssign Task", MessageBoxButtons.OK, RadMessageIcon.Info) 
   
End If 
   
End If 
   
End Sub

when i click on the checkbox the mouse click event is fired and message box is also shown and after that when i click on Ok Button of Mesaage Box. the CheckBox is "Checked"
i dont this the Checked if the condition is satisfied.

please suggest.

Thanks

 

 

 

 

Siingh
Top achievements
Rank 2
 answered on 21 Sep 2010
1 answer
146 views
Hi,

I have created a grid that needs to show totals and highlight the totals if they exceed a certain amount.  Like a time sheet going over 40 hours for a week or  8 hours in a single day.

I have not been able to find a way to capture the CellElement to modify the GridViewSummaryRow cells.

I have tried a few different ways such as the following.

   private void rg_CellFormatting(object sender, CellFormattingEventArgs e)
        {

            if (e.CellElement is Telerik.WinControls.UI.GridSummaryCellElement)
            {
                e.CellElement.DrawFill = true;
                e.CellElement.NumberOfColors = 1;
                e.CellElement.BackColor = Color.Crimson;
                e.CellElement.Font = new Font("Verdana", 10);
            }

}

I never see a GridSummaryCellElement come up during the formatting.  I was wondering if I am just going about it wrong or maybe its the order in which I am constructing my grid?

Quick view of my load:
            BuildGrid();
            PinColumns();
            BindGrid();
            CreateSummaryRow();

I can provide more detail if needed.

Any thoughts?

Thanks,

Chris


Christopher
Top achievements
Rank 1
 answered on 20 Sep 2010
1 answer
172 views
Hi @all,

is it possible to use a multicombobox (checkbox elements) in a gridview column? i cant find something about this.

Thank you
Markus
Jack
Telerik team
 answered on 20 Sep 2010
1 answer
186 views
Hi,

Is there any way to add a link button(hyperlink) column in GridView for windows.(2010 sp1)
Jack
Telerik team
 answered on 20 Sep 2010
1 answer
166 views
Hi-

I'm using the Radspineditor for numeric entry.  It has a lot of conveniences that I'd like to keep, rather than switching to an entirely different control.  One problem that we're running into though is an inconsistency in the way validation is getting handled:

When a character is appended to the text in the editor (let's say it already contains "0.00000"), most non-numeric characters will automatically be rejected- This sounds a windows "beep".

Some symbols, like an open-parenthesis or an underscore, don't cause the beep, but are still rejected.  I've noticed that these symbols will also cause the "Validating" event for the RSE to fire off, while the non-numeric characters mentioned earlier will not.  Even if I do nothing in my "Validating" event code, the offending character is rejected.

My task is to try to make the character-by-character validation behavior consistent, but I haven't found a way to do that with the events that are available.  I need to always know during the validation event when a character will be rejected.  Currently, I don't have any visibility of that: The beep-rejected characters don't fire the Validating event, and when Validating fires for the silently-rejected characters, I can't see the true text in the control.

Any suggestions?  Is there something I'm missing?

thanks!
Peter
Telerik team
 answered on 20 Sep 2010
11 answers
270 views
I'm working with RadScheduler for Winforms, still working with the 2010_1_10_504 release, and I would like more control of the Occurrences collection of the Appointment object. With Exceptions, there is an Add method. But Occurrences seems to be read-only.

I want finer-grained control of the editing capabilities I have with Occurrences. I've got a custom appointment class, am using a custom appointment factory, custom dialogs for editing appointments and recurrence rules. I am writing Occurrences to their own table, and wish to maintain them myself.

Any tips on how to achieve this objective would be much appreciated. I'm aware that I can override CreateOccurrence, but have still not reached my objective.

Update: all the occurrences of my recurring appointment show up in the scheduler. However, I have apparently not succeeded in building the Occurrences collection for a recurring appointment. The recurrence icon does not show up on the various occurrences within the scheduler.

My main point is that there is an inconsistency in the way one can populate Exceptions and Occurrences. If I could handle both the same way, the coding I'm attempting to do would be easier.
Dobry Zranchev
Telerik team
 answered on 20 Sep 2010
1 answer
127 views
I'm just wondering why the theme color scheme is so much different after Q2 2010 SP2 then it was prior to the new service pack.  The color scheme of the new theme doesn't seem to match other Telerik controls as well as the previous version and because of it the scheduler seems really out of place in my UI.  It's unfortunate because SP2 patched a bug that I reported, but now I can't decide if the look of the UI or implementing this new feature is more important.

Is there anyway to go back to the SP1 office 2007 (lightblue) theme in SP2?

To clarify, I think the new theme looks more polished, with the new navigation buttons, appointments, etc.  But I feel as if the move from a light blue to a darker blue on the theme makes the scheduler stick out among other Telerik controls with the same theme.
Dobry Zranchev
Telerik team
 answered on 20 Sep 2010
9 answers
390 views
Hello

I have a simple question. I have trying to implement a simple drag and drop operation from a RadTreeView node to another .NET control (in my case it is a control that represents a model diagram). I have failed so far. Can I do that with the RadTreeView control? I certainly can do with the .NET treeview control.

Thanks for your help.

Regards

Philip

Dobry Zranchev
Telerik team
 answered on 20 Sep 2010
1 answer
153 views
I'm working with 2010 Q1, and I cannot override ProcessCmdKey to trap the left and right arrow key events.  It will work in a form without the tabstrip, but not in a form with a tabstrip.  Is this a known issue?

My project is pretty far along using this version, and converting to the new version would basically require writing a new project and copying the code over.  The automatic upgrade stuff in 2010 Q2 SP1 is not appearing, probably due to the fact that my project uses Q1 dlls.  Replacing those dlls with Q2 versions causes a multitude of errors to appear.

Any ideas?

thanks,

David
Stefan
Telerik team
 answered on 20 Sep 2010
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?