Telerik Forums
UI for WinForms Forum
3 answers
260 views
hey,
       When I set the RadDateTimePicker to Null value and try to open the popup after that the date is set to 1/1/1900. Is there any way to change that to open the popup with the date of today when the RadDateTimePicker instead of  1/1/1900?
Thanks
Dobry Zranchev
Telerik team
 answered on 17 Jun 2010
1 answer
250 views
Hi,

i am currently evaluating the Q2 2010 Beta and it's new RadListControl.
Now i've got a little problem with the ItemDataBound Event.

My scenario is
Target FRamework 4.0
RadListControl is bound to a BindingSource.
BindingSource is bound to a Entity Framework ObjectResult<T>.

By the way in Q1 2010 Sp2 everthing works as expected.

In the ItemDataBound Event i try to customize the displayed Text of each item.
The text should be build up by 2 Fields of the DataItem.
But there seems to be no more DataItem Object in the event args ???.

How can i achieve that with the new ListItemDataBoundEventArgs ?

Kind Regards
Kim
Victor
Telerik team
 answered on 17 Jun 2010
2 answers
91 views
Hello,

I've been using the winforms GridView within the same project fairly successfully until I have had attempted disiplaying a one to many relation programmatically.

It all seems to work except from that the tabs that appear underneath the master row are all labled "table".

My code is as follows :

            // folder details child view and relation 
            GridViewTemplate foldersTemplate = new GridViewTemplate(); 
            foldersTemplate.EnableGrouping = false; 
            foldersTemplate.AllowAddNewRow = false; 
            foldersTemplate.ShowColumnHeaders = false; 
            foldersTemplate.Columns.Add(new GridViewDataColumn(FDScheduleIdField) { IsVisible = false }); 
            foldersTemplate.Columns.Add(new GridViewDataColumn(FDFolderNameField) { Width = 400 }); 
            foldersTemplate.DataSource = _folders; 
            radGridView1.MasterGridViewTemplate.ChildGridViewTemplates.Add(foldersTemplate); 
 
            GridViewRelation foldersRelation = new GridViewRelation(radGridView1.MasterGridViewTemplate); 
            foldersRelation.ChildTemplate = foldersTemplate; 
            foldersRelation.RelationName = "upload_folders"; 
            foldersRelation.ParentColumnNames.Add(CUCompletedUploadIdField); 
            foldersRelation.ChildColumnNames.Add(FDScheduleIdField); 
            radGridView1.Relations.Add(foldersRelation); 
 
            // add logs child view and relation 
            GridViewTemplate logsTemplate = new GridViewTemplate(); 
            logsTemplate.EnableGrouping = false; 
            logsTemplate.AllowAddNewRow = false; 
            logsTemplate.ShowColumnHeaders = false; 
            logsTemplate.Columns.Add(new GridViewDataColumn(ULIdField) { IsVisible = false }); 
            logsTemplate.Columns.Add(new GridViewDataColumn(ULNameField) { Width = 400 }); 
            logsTemplate.DataSource = _logs; 
            radGridView1.MasterGridViewTemplate.ChildGridViewTemplates.Add(logsTemplate); 
 
            GridViewRelation logsRelation = new GridViewRelation(radGridView1.MasterGridViewTemplate); 
            logsRelation.ChildTemplate = logsTemplate; 
            logsRelation.RelationName = "upload_logs"; 
            logsRelation.ParentColumnNames.Add(CUCompletedUploadIdField); 
            logsRelation.ChildColumnNames.Add(ULIdField); 
            radGridView1.Relations.Add(logsRelation); 

But as I say the text in the tabs that appear under the master row both say "table".

How to I change this text so that it says either "Folders" or "Logs"?

Thanks
Mike
Top achievements
Rank 1
 answered on 17 Jun 2010
1 answer
88 views
Hi,

I'm using the visual Style builder to apply the themes to the RadRibbonBar.I have applied the images to the MDIMenu Minimize ,maximize and close buttons and applied this theme for the Radribbon form in my application.

When the child mdi form is opened it is looking good [since it is the radform],but when the child form is maximized it will ocuupy the mainMDI form and the MDIMenuButtons,items have the lot of gap in between them.

I have observed that, in Visual Style builder the MDIMenuButton items have the gap and that is applying to the my application form.

please find the screen shot.

Thanks,
Pradeep
Deyan
Telerik team
 answered on 17 Jun 2010
2 answers
151 views
Hi.  I have a strange problem.  I'm using a Telerik RadGridView on a RadForm.  During form Load I populate the control.  Then during form Show I try to set which row is selected (i.e. it's not the first row).

What I see afterwards is that the first row in the grid is Selected, but the row I wanted selected is "sort of" selected.  It's highlighted but not with the same dark/bold colors that the selected row is.  I've attached a screenshot just to make it more clear.

Here's my code to perform the selection.
        dgv.ClearSelection() 
        For Each row In dgv.Rows 
            If row.DataBoundItem.Equals(rowObject) Then 
                row.IsSelected = True 
                Exit For 
            End If 
        Next 
 

Can you help tell me what I'm doing wrong?  TIA!

(All code is .NET 3.5, Windows 7 x64, VS 2008.  I'm using the 2010 Q1 SP2 build / 2010.1.10.0504.)
Patrick Barranis
Top achievements
Rank 1
 answered on 17 Jun 2010
2 answers
176 views
Hi Telerik Team:

I am not able to apply a theme to a RadForm TitleBar portion (Which is not a seperate control). Hereby i have attached the screen shots which shows the difference for a both "WinForms Q3 2009 SP1" & "WinForms Q1 2010 SP2"

In WinForms Q3 2009 SP1
RadForm Titlebar portion is working fine with the theme

But nothing is happening in the RadForm Titlebar portion in WinForms Q1 2010 SP2.

I have converted the theme by using a 2010 style builder. but same results.

Kindly reply asp.

Very urgent.
Boryana
Telerik team
 answered on 17 Jun 2010
1 answer
121 views
Hello,

i would like to rebuild my CustomAppointmentDialog class with the new one in the CustomAppointmentDialogDemo, but i can't find the file for the "OutlookLikeAppointment" class. Is this file not available in the Demo ? 

Kind Regards,

Ramius
Dobry Zranchev
Telerik team
 answered on 17 Jun 2010
3 answers
290 views
Hello:

I have a problem with the following code:

Private Sub

 

 

RadForm1_Load(sender As Object, e As EventArgs)

 

tbGiftType.TextBoxElement.TextBoxItem.HostedControl.ContextMenuStrip =

 

New

 

ContextMenuStrip()

tbGiftType.TextBoxElement.MouseDown +=

 

New MouseEventHandler

 

(TextBoxElement_MouseDown)

LoadWrappingContextMenu()

End Sub

It's for quit the default context menu of radtextbox and put a context menu with my properties.
Wath's the code for it?

Thanks

David.

Martin Vasilev
Telerik team
 answered on 17 Jun 2010
1 answer
175 views

Hi,

         is there any event available for delete appointment.? I want to handle event for appointment delete. If there is no event available then is there any work around for it? I tried the event key down and checking the key code with delete. but even when i code as follows " e.SuppressKeyPress = false;" the selected appointment gets deleted from the UI. Or is there any way to disable the deleting of appointment?

Regards

Nitin

Dobry Zranchev
Telerik team
 answered on 17 Jun 2010
1 answer
186 views
The pageview does not support auto detection of mdi child windows the way the previous raddock control worked.  How do we solve this?

Deyan
Telerik team
 answered on 17 Jun 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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?