Telerik Forums
UI for WinForms Forum
2 answers
206 views
Hi,
 probably someoneelse already ask it but i didn't find the right post.

In my grid the first column is a commandcolumn. I use it for open a modal form, to chose the Article from the Warehouse.
When i choose it, i update some columns, like price, max quantity, idarticle, etc
But if i try to insert a new row in this way, i got an error.
In a previous post: "the new row is created when one or more of editors in the new row are open for the first time".
I can't do this, because the first operation is to chose the Article.
How can i solve this problem? There is a way to fire the command it creates the row?

 
    Private Sub RadGridView1_CommandCellClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadGridView1.CommandCellClick 
' I chose the article from warehouse 
'... 
' Then i set data in row from selected article 
                RadGridView1.CurrentRow.Cells("IdArticle").Value = IdArticle 
                RadGridView1.CurrentRow.Cells("Quantity").Value = Quantity 
                RadGridView1.CurrentRow.Cells("Price").Value = Price 
                RadGridView1.CurrentRow.Cells("DataMovimento").Value = Date.Today 
        End If 
    End Sub 

Thank you

Ellis
Ellis
Top achievements
Rank 2
 answered on 21 Jun 2010
5 answers
395 views
Hello,
I would like to let the forecolor of text in the datarow become red in a row when some special condition happened,but the RadGridView can't
satisfy my requirment,

How can I use the properties of BackColor,FroeColor,RowBackColor,RowForeColor,CellBackColor and CellForeColor in the RadGridView directly without using the VisualElement Class and ConditionalFormattingObject Class ?

I ever tried to convert the type of RadGridView  to VisualElement and ConditionalFormattingObject,but it failed ....

I can't find the method to solve this problem,I need your help
ps:The version of the RadControls is "Winforms Q1 2008 SP1"

Thanks a lot,
Best Regards.
Nikolay
Telerik team
 answered on 21 Jun 2010
0 answers
101 views
Hi,
i recognized that its not possible to get the AutoCompleteMode working when a MaskedMode is enabled.

I got a MaskedEditBox. The user should enter ip adresses. But i want to give him some of his entered ip´s before. But it´s doesnt work. Are there any workarounds for this problem ?
Dieter
Top achievements
Rank 1
 asked on 21 Jun 2010
3 answers
223 views
Hello,

I'm wondering if it's possible to get the chart coordinates given a screen coordinate. I'm implementing changing chart values by dragging points, and in the MouseMove or MouseUp event, I want to get the YValue corresponding to the Location (screen coordinates) provided in the MouseEventArgs.

Any help would be appreciated.

Thanks,
Baris
Dwight
Telerik team
 answered on 21 Jun 2010
3 answers
220 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
289 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
267 views
Can I only wraptext in row header without autosizerows in radgridview ?
Alexander
Telerik team
 answered on 18 Jun 2010
1 answer
259 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
175 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
146 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
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?