Telerik Forums
UI for WinForms Forum
6 answers
166 views
Hi

I have a GridView with 3 column, Id, Name and Quantity
I have created a group using the Name column.
I have a GroupEvaluate that calculates the total quantity in a group and displays it on the group header.

My gridView is bound to a DataSource (AccountRowBindingSource) containing and Generic List of Linq2SQL objects (called RowsToAdd).
My first problem: When I add rows to my RowsToAdd the GroupSummaryEvaluate event is not fired so my group header is not recalculated.
However, If I expand the group, I can see all added rows.

To force the GroupEvaluate event to trigger I added a ResetBinding call, like this
AccountRowBindingSource.DataSource = RowsToAdd
AccountRowBindingSource.ResetBindings(False)

After the change, the GroupSummaryEvaluate event is fired and the correct summary is displayed in the header.
BUT..
Now Groups in the RadGrid randomly expands. I can see that its the ResetBindings that is making this happen.
So, Why is the groups expanding even though I have set the AutoExpandGroups = false?

Regards
Per



Julian Benkov
Telerik team
 answered on 07 Feb 2011
1 answer
154 views
I created a VB.NET 2010 Windows Form application project, added a Windows Form, then added a RadButton to the form.  I set the Theme Name to OfficeGlass through the Smart Tag.  In design view, the button is rounded with a dark blue gradient.  It looks fine in design view, but when I run my application, the button goes back to the default theme style (light blue).

Why is the button theme changing at run-time?

Thanks,
Chris
Nikolay
Telerik team
 answered on 07 Feb 2011
2 answers
162 views
Hi,

I have a winform where i generate a RadGridView at runtime with three GridViewTextBoxColumn for editing and bind data at runtime. For one particular cell in a row alone i need a Combobox instead of Textbox. This also must be done at runtime dynamically. Can you advice on how to implement this?

thanks
J Sagayanathan
Richard Slade
Top achievements
Rank 2
 answered on 07 Feb 2011
1 answer
107 views
Is there a property on the radgrid that will stop a column from being part of the horizantal scroll. For eg:- When the grid scrolls horizantally, I do not want the left most column to scroll as I want it to remain on the screen. Similarly, on a vertical scroll, I do not want the column headers to disappear from the screen.

Thanks
Deepak
Richard Slade
Top achievements
Rank 2
 answered on 05 Feb 2011
3 answers
408 views
Hi Guys,

I have a situation like a tool window is populated with different radforms name. When I click a radform name from the tool window menu list that radform appear in raddock. When user click on different radform name that form will appear.
Now the problem is when click the name of radform which is already opened it couldn't got activated. Any suggestion to resolve the issue. I highly appreciate the reply. Please find the snap shot of the scenario for clear picture. 
Kind Regards.

     
Richard Slade
Top achievements
Rank 2
 answered on 05 Feb 2011
2 answers
290 views
Hi

Error: The type initializer for 'Telerik.VSX.WinControls.ThemeResolutionService' threw an exception.

When creating a new RadControls WinForms or ASP.NET Rad Web  project using the latest builds as of today

In Visual Studio 2010 Utlimate/Windows 7 x64 I start...
Tererik > RadControls for Windows > Create new Telerik Project.
Give my project a name. Click ok.  Then I get this error.
The type initializer for 'Telerik.VSX.WinControls.ThemeResolutionService' threw an exception
My project folder is created and that's all.

So far to resolve, I have:
Run Visual Studio 2010 setup in repair mode.
UnInstalled RadControls_WinForms_2010_3_10_1215_dev
ReInstalled RadControls_WinForms_2010_3_10_1215_dev.msi

Any help will be appreciated.

Thanks
Rick Hubka
Top achievements
Rank 1
 answered on 04 Feb 2011
2 answers
102 views
I am using Grid1  to display data  and Grid2 To display Transpose
============== From RadGrid1=================================
id____ComboBoxColumn1_____ComboBoxColumn2______ComboBoxColumn3
1            PTN                                  KKA                                DDK

==============Want to display RadGrid2======================
HeaderLabel __________ HeaderCboCustomerID
ComboBoxColumn1           PTN        
ComboBoxColumn2           KKA    
ComboBoxColumn3           DDK
  • I want to transpose Grid to display data  on Event CurrentRowChanged
    Private Sub Grid1_CurrentRowChanged(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.CurrentRowChangedEventArgs) Handles Grid1.CurrentRowChanged
        UpdatePanelInfo(Me.Grid1.CurrentRow)
       //' I want to transpose Grid1 to display data Grid2  too.
    End Sub

**How i can ?
Jack
Telerik team
 answered on 04 Feb 2011
8 answers
1.0K+ views
Hello,

is it possibly to get the index of the last visible row?

Regards,
Thomas
Alexander
Telerik team
 answered on 04 Feb 2011
5 answers
476 views
When I set the CurrentRow on a row that is visible, the row is selected correctly.  However, when I set the CurrentRow on the Grid and it is not visible in the current scroll area of the Grid, it doesn't scroll to the CurrentRow.  And when you click the scrollbar, it automatically scrolls, but the wrong row is selected (the index always seems to be +1).

Example:

grdAwesome.MasterGridViewInfo.CurrentRow = grdAwesome.Rows[3];

works as expected, but

grdAwesome.MasterGridViewInfo.CurrentRow = grdAwesome.Rows[69];

doesn't work, as detailed above.

~DuckLeg
 |
 |
/|\
Jack
Telerik team
 answered on 04 Feb 2011
1 answer
141 views

I'm having a problem getting the mappings to work out. The dates and text items (subject, description, etc) seem to work fine, however id fields do not, nor do any of the boolean values (visible, all_day, etc.) I know the field names are correct. Oracle does not have a boolean field type, so I can return a number or a string. Any ideas?
A condensed version of the code is:

daTemp.Fill(dtAppts)
Dim appointmentMappingInfo As New Telerik.WinControls.UI.AppointmentMappingInfo()
appointmentMappingInfo.Start = "APPT_START"  '  One of the mappings
appointmentMappingInfo.BackgroundId = "BACKGROUND_ID"   '  One of the mappings
SchedulerBindingDataSource1.EventProvider.Mapping = appointmentMappingInfo
SchedulerBindingDataSource1.EventProvider.DataSource = dtAppts
RadScheduler1.DataSource = SchedulerBindingDataSource1

Later
Art

 

Dobry Zranchev
Telerik team
 answered on 04 Feb 2011
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
Iron
Iron
Sergii
Top achievements
Rank 1
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
Iron
Iron
Sergii
Top achievements
Rank 1
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?