Telerik Forums
UI for WinForms Forum
21 answers
360 views
HI

Please let me know any way to display ONLY 'Clear value' item , when right click on the radgridview cell.

Thank You

Richard Slade
Top achievements
Rank 2
 answered on 24 Feb 2011
3 answers
163 views
Hi
why the time part in an excel filter of a date time column is set to '12:00' for all?
Can any one resolve this for me.
Alexander
Telerik team
 answered on 24 Feb 2011
3 answers
133 views
Hello, 
I have looked and see that some people report that the isvisible property is true or false depending on whether the row is filtered.
I don't find this in my project.

I have a gridview that is bound to a datatable.
When the user filters the rows, we want to be able to iterate over the unfiltered rows and update a value in a cell.

Whenever I iterate over the gridview.rows collection, the gridviewrowinfo.isvisible is always true, regardless of filter state.

Can anyone point me to what I'm doing wrong?

Here is a snipit of code
Dim mCellPos As Integer = rgvItemsAndProps.CurrentCell.ColumnIndex
            rgvItemsAndProps.BeginEdit()
            For Each gr As GridViewRowInfo In rgvItemsAndProps.Rows
                Dim y As String = gr.Cells(2).Value
                If gr.IsVisible = True Then
                    gr.Cells(mCellPos).Value = _ItemPropGridClipboard
                End If
            Next
            rgvItemsAndProps.EndEdit()
        End If



Richard Slade
Top achievements
Rank 2
 answered on 24 Feb 2011
15 answers
590 views
According to the documentation for the GridView control (v2010.3.10.1215):

Gets or sets the name data source property or database column to which the is bound. 

Gets or sets a string value representing the column's unique name in the Columns collection of the .  


However, the code below does not display the value for SQL field "ProjectTitle"

        GridViewTextBoxColumn1.FieldName = "ProjectTitle"
        GridViewTextBoxColumn1.HeaderText = "Title"
        GridViewTextBoxColumn1.Name = "Title"

Instead, I have to set the property Name to the SQL field. The property FieldName can be anything.

GridViewTextBoxColumn1.FieldName = "Foobar"
        GridViewTextBoxColumn1.HeaderText = "Title"
        GridViewTextBoxColumn1.Name = "ProjectTitle"


Can someone explain to me which is correct?  

By the way, I am binding to a SQLDataReader and AutoGenerateColumns is false.

Richard Slade
Top achievements
Rank 2
 answered on 23 Feb 2011
9 answers
260 views
Hello,

I have some code that worked up until Q2 2010 SP1, which no longer works in Q3 2010. RadGridView.Rows.Add(...) used to return the row index of the added row, but in Q3 2010 it returns -1.

I have a hierarchical GridView and the following code:

private void SetupRadGridviewRelation()
{
    GridViewRelation selfRelation = new GridViewRelation(this.radGridView1.MasterTemplate, this.radGridView1.MasterTemplate);
    selfRelation.ParentColumnNames.Add("IdCol");
    selfRelation.ChildColumnNames.Add("ParentIdCol");
    this.radGridView1.Relations.Add(selfRelation);
}
 public void LoadVariables
 {  
    foreach (var varModel in list)
    {
        var rowNum = radGridView1.Rows.Add(varModel.Id, varModel.ParentId, varModel.VarName, varModel.VarValue, varModel.VarUnits);
        radGridView1.Rows[rowNum].Tag = varModel;
    }
 }


Does anybody know of a solution. Is this a bug in Q3 2010?

Thanks.
Richard Slade
Top achievements
Rank 2
 answered on 23 Feb 2011
7 answers
271 views

Hello

I was looking for a way to set the active (default) child template in hierarchical radGridView programmatically.

but I could not find any property to set that.

Is there a way to do that?

hosein
Top achievements
Rank 1
 answered on 23 Feb 2011
5 answers
253 views
Good morning, i am having an odd problem when adding documentwindows to my radDock.
When i add a new tab, the tab allways open in the first position(left) of the first tab of my raddock, i have tried to change the position from "InFront" to "OnBack" but nothing changes. I use the radDock.AddDocument(documentWindow) method.

I want to know how i can make my tabs to open in the last position of the tabcontainer in my raddock instead of the first position.

Hope you can help me, best regards
Rui Silva
Richard Slade
Top achievements
Rank 2
 answered on 23 Feb 2011
3 answers
74 views
Problem with setting sort order. Please see following video: http://www.mjnet.si/SortOrder.avi
Richard Slade
Top achievements
Rank 2
 answered on 23 Feb 2011
14 answers
217 views
Hi All,

         Actually i am new to telerik controls. Am using c#. My senario is - I have a radgridview. Inside that first column and second column are comboxcolumns. Users are allowed to add rows to gridview. And then click save button to save all the rows into database. Once i select the project from my first combo column all the tasks based on that project should get binded in second combocolumn of that radgrid. I am able to bind the second column based on the first column selected value. However, My problem is- Once i go to 2nd row in the gridview. the first row's secondcolumn which i already selected goes blank. And 2nd rows value is visble. When i move to 3rd row, the first 2 rows selected value in 2nd column goes blank. I mean at a time only one row value is visible for 2nd column. Anyone kindly provide me with the solution.
Richard Slade
Top achievements
Rank 2
 answered on 23 Feb 2011
3 answers
171 views

Hello!

Mouse-wheel changes the value of read-only RadSpinEditor.

It seems this is a bug.

Thank you.

George Saveliev
Top achievements
Rank 1
 answered on 23 Feb 2011
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
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
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?