Telerik Forums
UI for WinForms Forum
1 answer
156 views
Hi,

I am using a datagrid in which all editable columns are shown in a different color which i am doing on cell formatting , however when data is entered in cells which is invalid i want to change the back color to Red .
 
Here i want to make sure that user is taken back to cell in which he was doing editing also when the value he has enetred is correct the back color should change back to editable back color.

Also can't we show errortext in cell directly rather then showing it on grid.

Thanks
Anuj
Martin Vasilev
Telerik team
 answered on 05 Feb 2010
6 answers
298 views
Hello

I have a docking manager with 2 panels. one fixed and one auto hide.
When the auto hide panel is activated I want it to open the full width of the docking manager but at the moment it only opens a 1/4 (ish) the way.
I have tried setting the "minimumsize" and the "minsize"  and the "size" attribute but none of them seem to make any difference, although I cannot find any documentation on the "minsize" attrib.

Is it possible to do this?

Thanks

Bex
Nikolay
Telerik team
 answered on 05 Feb 2010
4 answers
307 views
Hello,
I am searching to reproduce the outlook pane style in my application. In the radcontrols for winforms I found the panelbar which can be used as outlook bar when the group style is set to OutlookNavPane. It's almost like the official outlook bar.
But I didn't see the button wich allows to collapse the panelbar to a minimal state (icons still visible on the left...)

Can you tell me please If the PanelBar control allows that ? I absolutely need this functionnality..

Thank you
frederic szymczak
Top achievements
Rank 1
 answered on 04 Feb 2010
0 answers
129 views
' Comunicação com a Camada BLL 
 
        Dim obj As New EspecialidadesBLL 
 
        especialidadesDataGridView.DataSource = obj.Listagem() 
 
 
 
        ' Atualizando os objetos TextBox 
 
        idesp.Text = especialidadesDataGridView(0, especialidadesDataGridView.CurrentRow.Index).Value.ToString() 
 
        TextBox16.Text = especialidadesDataGridView(1, especialidadesDataGridView.CurrentRow.Index).Value.ToString() 
 
        TextBox6.Text = especialidadesDataGridView(2, especialidadesDataGridView.CurrentRow.Index).Value.ToString() 


hi all

now i'm using telerik winform Q3 2009

in this code above, i dont have any error when using datagridview, but when i want to use radgridview i get this error:


Error 1:    Class 'Telerik.WinControls.UI.RadGridView' cannot be indexed because it has no default property. 

 Error 2:    'Index' is not a member of 'Telerik.WinControls.UI.GridViewRowInfo'.   

how can i solve this error????????????


rizu mussa
Top achievements
Rank 1
 asked on 04 Feb 2010
5 answers
661 views
Hey folks,

I figure if there is any way to hide repeated cell values in my grid. I attached a screenshot and want to hide the redundant information in the first 3 columns. I am wondering if there might be an intelligent way of doing with the grid control.

Has anybody of you guys a cool idea to me?

I attached a screenshot which shows my actual grid and a grid which looks like it should be.
At this moment I do not have any idea except of iterating thorugh the rows. Additonally the difficulty is that this is a hierachy grid which is bound to the childtemplate by the first thre rows. So the best way should be formatting the cells with the fore color white, right?

Any thought?! ;)

Thanks in advance.

Best

Svett
Telerik team
 answered on 04 Feb 2010
1 answer
1.1K+ views
Hi,

I have hierarchical RadGridView where MasterGridViewTemplate.AutoExpandGroups is set to False. Code for binding is like this.
PatientGridView.DataSource = currentPatientList
GridGroupByExpression patientExpression = new GridGroupByExpression(); 
patientExpression.Expression = "FullName as FullName format \"{1}\" Group By OrderID"; 
PatientGridView.MasterGridViewTemplate.GroupByExpressions.Add(patientExpression); 

After binding I want to programatically expand some groups by certain condition. I have tried with following code but it doesn't work:

            foreach (GridViewRowInfo row in PatientGridView.Rows) { 
                if (someCondition == true) { 
                    row.IsExpanded = true
                    row.IsSelected = true
                    PatientGridView.GridNavigator.SelectRow(row); 
                } 
            } 


Can you advise how to programmatically expand specific group in RadGridView where all groups are collapsed by default?

Regards,
Tomislav
Nikolay
Telerik team
 answered on 04 Feb 2010
5 answers
408 views
hi
iam trying to add some rows in code
the firsr row is added alone then ina loop all other rows are added
but the grid acts in very stupid way that its added the firts row and adds all other row on top of it
i have chnaged the way the new row added to buttom and also tried the top but nothing works
can u plz help couse iam very unhappy using this grid and if some more problems appears i will throw it away
Nick
Telerik team
 answered on 04 Feb 2010
4 answers
241 views
I've migrated a winform project to the 2009.3.9.1203 version of your controls and I have several issues:

- I can't open a form in VS designer, it says:
 System.InvalidCastException: Unable to cast object of type 'Telerik.Charting.Styles.Unit' to type 'Telerik.Charting.Styles.Unit'.
The error occurs with these lines:

chartMarginsTitle1.Bottom = ((Telerik.Charting.Styles.

Unit)(resources.GetObject("chartMarginsTitle1.Bottom")));

 


- my RadGrids lose their Size property, their width takes big big values, and I need to reset them manually....
Nick
Telerik team
 answered on 04 Feb 2010
1 answer
189 views
Hi All,
          I have check boxes in the gridview for each row. When i checked a particular row's checkbox the enrire row should be selected. It is working but when i checked another checkbox, the previous checked row is not selecting. Only current row is selected. I need to select all the rows which i have checked.

I tried in this way,

            

 

private void GridView_MouseUp(object sender, MouseEventArgs e)

 

{

    for

(int i = 0; i < GridView.Rows.Count; i++)

 

    {
        if (GridView.Rows[i].Cells["chk"].Selected == true) //CellElement.RowInfo.IsSelected)

 

    {

 

        //GridView.Rows[i].Cells["chk"].RowInfo.IsSelected = true; 
        GridView.Rows[i].Cells["chk"].CellElement.RowElement.IsSelected = true;

 

    }

 

    else //if (Convert.ToBoolean(GridView.Rows[i].Cells["chk"].RowInfo.IsSelected))

 

    {

 

 

        //GridView.Rows[i].Cells["chk"].RowInfo.IsSelected = false;

 

        GridView.Rows[i].Cells[

"chk"].CellElement.RowElement.IsSelected = false;

 

    }

}                   

i tried with mousedown and mouse click also. It is not working.
note: The checkbox column is added to grid programatically.



       

Jack
Telerik team
 answered on 04 Feb 2010
1 answer
171 views
I have a dialog box with a number of checkboxes.  All have text that is entered and visible in design mode but at runtime half of them do not display the text.  Any thoughts?

TIA
Dobry Zranchev
Telerik team
 answered on 04 Feb 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
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?