Telerik Forums
UI for WinForms Forum
3 answers
208 views
Hi !
I have a grid with first 2 columns read only and more other ReadWrite.


When I "Click here to add new row " and I click somewhere on the direction of these 2 columns Readonly, the DefaultValueNeeded event is not triggered .If I click on the direction where I have read write columns , this DefaultValueNeeded event is triggered.

Is this behavior normal ?

Regards,
Mihai

Nikolay
Telerik team
 answered on 21 Jun 2010
3 answers
282 views

I want to report 2 issues:
   1. The Telerik.WinControls.UI.RadRibbonBar is not correctly implement the System.ComponentModel.INotifyPropertyChanged ( see propeties like Expanded and CollapseRibbonOnTabDoubleClick)
   2. The property CollapseRibbonOnTabDoubleClick of the Telerik.WinControls.UI.RadRibbonBar does not work


Desired behaviour
: Given a form with an expanded RadRibbonBar docked, the groups and buttons to be always visible( to disable the collapsing of the RadRibbonBar)

Expected behaviour: Given a form with an expanded RadRibbonBar docked with the property CollapseRibbonOnTabDoubleClick setted to false. Any user double click maded at run-time on the tab ribbon buttons to not collapse the ribbon bar.

Steps to reproduce: Create a new WinForms solution. In the designer of the form insert from the toolbox a new RadRibbonBar. Add a tab(click on the Add New Tab ... button and insert a text), a group( click on the Add New Group ... button and insert a text) and a button in the group ( in the group bounds right click and from the contextual menu choose Add an item > RadButtonElement).
Open the code window by right clicking in the designer surface area and choosing from the contextual menu View code.
Insert in the form constructor, immediately after the InitializeComponent(); method call

  this.radRibbonBar1.PropertyChanged += new PropertyChangedEventHandler(radRibbonBar1_PropertyChanged);  
  this.radRibbonBar1.Expanded = true;  
  this.radRibbonBar1.CollapseRibbonOnTabDoubleClick = true;  
  this.radRibbonBar1.CollapseRibbonOnTabDoubleClick = false;  
 

Insert a new method in the form class:

 void radRibbonBar1_PropertyChanged(object sender, PropertyChangedEventArgs e)  
    {  
        if ("CollapseRibbonOnTabDoubleClick" == e.PropertyName || "Expanded" == e.PropertyName)  
                this.Text = string.Format("CollapseRibbonOnTabDoubleClick {0}       Expanded {1}"this.radRibbonBar1.CollapseRibbonOnTabDoubleClick, this.radRibbonBar1.Expanded);  
    }  
 
 

Run the application and double click the tab button( not the button in the group). Expected state of the form: a title bar with the text: CollapseRibbonOnTabDoubleClick false       Expanded true and the ribbon bar to be expanded( the group to be visible)

Could you please help me to reach the desired scenario described earlier? 

Deyan
Telerik team
 answered on 18 Jun 2010
1 answer
258 views
Can I only wraptext in row header without autosizerows in radgridview ?
Alexander
Telerik team
 answered on 18 Jun 2010
1 answer
243 views
Part of this is my lack of understanding of the new Visual Style Builder, but I am trying to take an existing theme and remove the extra highlighting on the current cell.  (We are using FullRowSelect selection mode on a readonly grid so it has been asked that we not show any interaction with the cells).

Previously I would open the theme up in the VSB, remove the extra states on the cell object and resave the theme as an XML file with a unique theme name.  Then I would include the xml file as a resource and load it up via a RadThemeManager as a resource.

How would I do the same thing with the new VSB?  

So far I've tried:

1) Opened the VSB
2) Loaded Office2010 as a package (found the package along with the source code).
3) Navigated to the GridView, expanded down to GridDataCellElement, then removed the IsSelected and IsCurrent element states (reverted to default No Style)
4) It appears to work correctly in the grid preview in the center
5) Saved the theme with a new name, but unchecked save as package to save it as an XML file (unchecked all controls except for the GridView)
6) Now I have a repository xml and a theme xml.  Not sure what to do with both of them, but including just the theme file as a resource like I used to doesn't quite work

Did I miss the documentation on how this should work?

Thanks
Adam
Nikolay
Telerik team
 answered on 18 Jun 2010
4 answers
168 views
Is there an up to date CAB Kit that has support for RadDock?

I've hunted around but can't seem to find it, and it appears that CAB is going away since numerous links are unresolved.  LOL

I hope there is someone still monitoring this forum.

Thanks,
Michael
Deyan
Telerik team
 answered on 18 Jun 2010
1 answer
142 views
Hi
I have a RadRibbonForm in my project.i want to set tooltiptext for close and minimize box.
but when i set tooltiptext property for Imagebuttonelement in Edit UI Elements for RadRibbonBar it does'nt work.


Please Help me.
thanks All .
Martin Vasilev
Telerik team
 answered on 18 Jun 2010
3 answers
239 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
245 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
82 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
84 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
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
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
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?