Telerik Forums
UI for WinForms Forum
1 answer
146 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
331 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
105 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
155 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
135 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
1 answer
85 views
If I have a list of objects that supports IEditableObject then I see some strange results when I remove a row.
The EndEdit function is called on the next element in the list or the previous if I remove the last element. The MS DataGrid does not call the EndEdit function when deleting a element.

Best Regards
Ole Oscar Johnsen
Julian Benkov
Telerik team
 answered on 02 Apr 2010
3 answers
63 views
I'm seeing some strange behaviour when you put items in the right column of the start menu and you have childitems in the left column.

The popup for the childitems of the left always sits at the top and if you're left column item is further down to the bottom, there is a disconnect between the two of them. Trying to move the mouse from the left column item to it's child items popup, closes the popup before you get there. When there are no items in the right column, the popup stays, but when you have items in the right column, they receive the focus, and it closes the popup.

To reproduce:

Create a new RadRibbonForm
Add 4 items to the StartMenuItems
Add 1 subitem to the last item of the StartMenuItems
Add 4 items to the StartMenuRightColumnItems

Now, when you hover over the last StartMenu item, you can't get to the child item.

Tim
Tim Weckx
Top achievements
Rank 1
 answered on 01 Apr 2010
1 answer
257 views
Hi !

I have a grid with many columns . When I click add new row I would like to have some default values in some of my columns. How I can do that ?

Best regards,
Mihai
Julian Benkov
Telerik team
 answered on 01 Apr 2010
4 answers
248 views

Hi

I’m very new with the telerik, I’m trying to find a control from radGridview.I implements in .Net Grid control ( sample code is given below) But I cant do the same in radGridView. Can anyone give me any idea to implement this in radGridview. I need your help.

Code snippets:

        foreach (GridViewRow row in dgrdInbox.Rows)

        {

          

            CheckBox cbBox = (CheckBox)row.FindControl("cbYesNo");

             

           if (cbYesOrNo.Checked)

            {

                  // Do something

}

else

{

// Do something

}

                    }

 

 

Thanks in advanced. 

Md. Marufuzzaman

Johny
Top achievements
Rank 2
 answered on 01 Apr 2010
2 answers
82 views
I am using Q1 2010 and am a bit perplexed by the new visual style builder. I understand how it works I just can't get it too do what I want. This is what I want to do:

  1. Load the default theme for the combobox.
  2. Make null item text a different color.
  3. When a null value is selected the border of the combobox is yellow.

This is probably easy and intuitive but I had finally conquered the old style builder and just don't have the time to tamper around with this one until I get it right. Any insight on this would be great. Thanks!
Todd Miller
Top achievements
Rank 1
 answered on 01 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)
Chart (obsolete as of Q1 2013)
Form
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?