Telerik Forums
UI for WinForms Forum
1 answer
166 views
hello,

i have used radgridview with tabbed child view.

I dont know how to retrieve the child rows for currently selected parent row.and also want to know on which radgridview event that code should be written.
pls provide code snippet for that.

thanks
rahul

Julian Benkov
Telerik team
 answered on 06 Apr 2010
1 answer
136 views
i  am using radgridview with tabbedchildview.

 i want to access  column of corresponding  childviewtemplate for  parent template's  current selected  row.
 i want code snippet for it .

thanks and regrads,
rahul uttekar.
Julian Benkov
Telerik team
 answered on 06 Apr 2010
1 answer
218 views
Hi,

I have a gridview with most of the data being read only as it depends on a key column. I'd like to have a GridViewCommandColumn that the user can click on, go to another winform and get back a number of values. These values should then be inserted into the new/edited row.

For example, the button might pop up a product search where I search for a product and when found, return the product name (read only) and product code (editable) to the gridview.

Have you any guidance on this? I tried searching the forums but the search falls over on 'GridViewCommandColumn'.

Edit: I've got the CommandCellClick event working and this works well within the grid if I used the code below, however, it does not work for new rows being added using the 'click here to add a new row' mechanism. The CommandCellClick event still fires and the value assignment does not cause an error, but it does not take effect either.

        cell.RowInfo.Cells("MyProductDescription").Value = "abcdef"
        cell.Value = Now.ToString() ' This also works, except when the row is a 'new' row added by the UI.

Thanks in advance

Ryan
Julian Benkov
Telerik team
 answered on 06 Apr 2010
1 answer
245 views
When I add a sort expression the grid appears to behave as follows during the initial databind:

  • First row is selected
  • Grid data is sorted
  • GridView scrolls it's content down to the row that was selected (which used to be the first row, but after sorting, is now at the bottom of the grid)

The desired behavior is to have the first row selected after sorting (instead of scrolling down to the previously selected row).  Does anyone know how to do this?
Julian Benkov
Telerik team
 answered on 06 Apr 2010
1 answer
253 views

I am displaying list of customers in a radComboBox. its value customerID should be saved into a FK_CustomerID column.
It does this propoerly. 

Now when i retrieve the same record , i would like to de-select the customer so that i can set FK_CustomerID to null in database.
but i see that there is no way to deselect the customer to reset FK_CustomerID back to null. 

How do i solve this ?  

Regards
Victor
Telerik team
 answered on 06 Apr 2010
1 answer
174 views
Hi !

I have a hierarchical grid view. In the Child grid I press add new row . When I try to validate that row in Validating event I cannot read any of this row fields values. All are null.
Do you have any example regarding new rows validating and how to read valued from the new rows. Because the values are on the screen but cannot be read through the code. I can read the values for already in grid rows but for this new row I can't .
The video example in Support web page  with grid validation is working only when edit already in database rows, if you try the same example for a new row is not working  !

Regards,
Mihai


Svett
Telerik team
 answered on 06 Apr 2010
5 answers
377 views
Hi,
I am encountering serious and massive flickering when i add all my controls in a table layout panel on a radform. even though flickeing do exist when there is no table layout, but increases tremendously when i add my controls to it.
are there any compatibility issues.
Any solutions...
As it doesn't look nice
Thankyou
Arul S V
Top achievements
Rank 1
 answered on 05 Apr 2010
1 answer
128 views
When I drag a date time picker onto a form with the normal control background, it looks one way compared to if I drag the control onto panel with a different color background.

Is there a way that I can keep the original style as it looks like on the control background (see attached screenshot)? Or would I have to modify the style somehow to make sure it never changes?

Thanks

-Matt
Deyan
Telerik team
 answered on 02 Apr 2010
2 answers
205 views

I am going through the testing and tyring out how to program the RAD Scheduler. I have created the SchedulerData database in MSSQL Server and then added 2 resources in the Resource table. After running the program, I did not see the data in the Resource List Box.

 

Following code is typed under the Load Event.

 


' create and assign appointment mapping


        Dim appointmentMappingInfo As New AppointmentMappingInfo()  
        appointmentMappingInfo.Start = "Start" 
        appointmentMappingInfo.[End] = "End" 
        appointmentMappingInfo.Summary = "Summary" 
        appointmentMappingInfo.Description = "Description" 
        appointmentMappingInfo.Location = "Location" 
        appointmentMappingInfo.BackgroundId = "BackgroundID" 
        appointmentMappingInfo.StatusId = "StatusID" 
        appointmentMappingInfo.RecurrenceRule = "RecurrenceRule" 
        appointmentMappingInfo.Resources = "FK_AppointmentsResources_Appointments" 
        appointmentMappingInfo.ResourceId = "ResourceID" 
        SchedulerBindingDataSource1.EventProvider.Mapping = appointmentMappingInfo  
        SchedulerBindingDataSource1.EventProvider.DataSource = SQLSchedulerDataDataSet.Appointments 
' create and assign resource mapping
 
        Dim resourceMappingInfo As New ResourceMappingInfo()  
        resourceMappingInfo.Id = "ID" 
        resourceMappingInfo.Name = "ResourceName" 
        SchedulerBindingDataSource1.ResourceProvider.Mapping = resourceMappingInfo  
        SchedulerBindingDataSource1.ResourceProvider.DataSource = SQLSchedulerDataDataSet.Resources 

' create and assign appointment mapping


        Dim appointmentMappingInfo As New AppointmentMappingInfo()  
        appointmentMappingInfo.Start = "Start" 
        appointmentMappingInfo.[End] = "End" 
        appointmentMappingInfo.Summary = "Summary" 
        appointmentMappingInfo.Description = "Description" 
        appointmentMappingInfo.Location = "Location" 
        appointmentMappingInfo.BackgroundId = "BackgroundID" 
        appointmentMappingInfo.StatusId = "StatusID" 
        appointmentMappingInfo.RecurrenceRule = "RecurrenceRule" 
        appointmentMappingInfo.Resources = "FK_AppointmentsResources_Appointments" 
        appointmentMappingInfo.ResourceId = "ResourceID" 
        SchedulerBindingDataSource1.EventProvider.Mapping = appointmentMappingInfo  
        SchedulerBindingDataSource1.EventProvider.DataSource = SQLSchedulerDataDataSet.Appointments 

 

In the appointment table I have the following fields
ID
Summary
Start
[End]
RecurrenceRule
MasterEventId
Location
Description
BackgroundId

and in the resource table I have the following fields
ID
Name
Image



Thanks for your help.

 

 

Dobry Zranchev
Telerik team
 answered on 02 Apr 2010
2 answers
184 views
Hi Guys

I am working the example on the following link
http://www.telerik.com/help/winforms/binding_to_custom_fields.html

and when I added the following code

Imports

 

Telerik.WinControls.UI.IAppointmentFactory

 


Public Class CustomAppointmentFactory  
 Implements IAppointmentFactory
 #region IAppointmentFactory Members  
 Public Function CreateNewAppointment() As IEvent  
  Return New AppointmentWithEmail()  
 End Function
#End Region  
End Class  
On my import statement I am getting the following error
Error 1 'IAppointmentFactory' for the Imports 'Telerik.WinControls.UI.IAppointmentFactory' does not refer to a Namespace, Class, Structure, Enum or Module.

The following error message is on the line Implements IAppointmentFactory
Error 2 Class 'CustomAppointmentFactory' must implement 'Function CreateNewAppointment() As IEvent' for interface 'Telerik.WinControls.UI.IAppointmentFactory'.

And thrid error is String constant expected on the line  #region IAppointmentFactory Member

I have referenced the necassary dlls. I am using VS2005.
Thanks
JJ
Dobry Zranchev
Telerik team
 answered on 02 Apr 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
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
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?