Telerik Forums
UI for WinForms Forum
1 answer
217 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
64 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
57 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
110 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
112 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
91 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
238 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
145 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
151 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
1 answer
100 views
Hi,

I am using 2009 Q1 windows radcontrols in windows application. i would like to upgrade to new version.
I am referencing the  below article to upgrade to new version.
http://www.telerik.com/help/winforms/application_upgrade.html

I am not seeing Telerik menu in visual studio.
How to get Telerik menu in Visual studio ?
Where can i find the Telerik Project Upgrade Utility ?

Any help is appreciated.

Thanks
Veshala
Stefan
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)
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
ProgressBar
CheckedDropDownList
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?