Telerik Forums
UI for WinForms Forum
4 answers
156 views

Hi, I'm having a problem after upgrading from version 2009 Q3 SP1 to 2010. I´ve run and debbuged your "performance" example and the problem is there too, so I assume that there is a bug in the new version. 
The problem arises when I try to get the value (doing this radgridview1.Rows[0].Cells[0].Value) of any cell of the grid, I always get an empty string but it is shown correctly in the screen. It is worth mentioning that i'm using GridViewColumnTexts in my grid.

Tell me if you need more info. Hope to hear about you soon. Regards

Jack
Telerik team
 answered on 15 Mar 2010
9 answers
431 views

Hello,
I have a problem with the isPinned property on the radGrid rows :

I have to pin the first row and the first column of my grid, this works great with the first column (the first column is locked on the left of my grid) but with the first row… the first row is duplicated.

And, of course, edit of the first line don’t work like all others rows of the radGrid (click on the first or the second row edit the first row).

 

For pin rows and column I use this code (c#) :

 

if (radGridViewGrille.MasterGridViewTemplate.Rows.Count > 0 )

{radGridViewGrille.MasterGridViewTemplate.Rows[0].IsPinned = true;

}

 

if (radGridViewGrille.MasterGridViewTemplate.Columns.Count > 0 )               

{radGridViewGrille.MasterGridViewTemplate.Columns[0].IsPinned = true;

}


So the question is : How can i remove the duplication of the first row to have the same behavior than the pinned collumn? 

Regards.

 

Jack
Telerik team
 answered on 15 Mar 2010
2 answers
295 views
I am trying to conditionally enable and disable a CellElement based on the previous cells value. The code below works fine if the number of rows visible on the GridView appear all on one screen. If the rows exceed one screen and are scrollable, I get a null reference exception on "rowInfo.Cells[7].CellElement.Enabled = false;". Any ideas why it might be happening or a perhaps a better way to do this would really be helpful.

foreach ( var rowInfo in radGridView1.MasterGridViewTemplate.Rows ) 
            { 
                if ( ( !( (bool)rowInfo.Cells[6].Value ) ) ) continue
                rowInfo.Cells[7].CellElement.Enabled = false
            } 
 
 radGridView1.Columns[6].IsVisible = false
AY
Top achievements
Rank 1
 answered on 13 Mar 2010
5 answers
204 views
I have the following situation.
        private void radMenuItem1_Click( object sender, EventArgs e )  
        {  
            dlgAssignSplits dlgSplits = new dlgAssignSplits();  
            if ( dlgSplits.ShowDialog() == DialogResult.OK )  
            {  
                //dlgSplits.Task  
                int insertAt = FindRowPosition();  
                ClipGrid gridItem = new ClipGrid();  
                List<ClipGrid> gridItemsList = UpdateClipTaskGrid();  //Gives back 6 rows  
                //gridItem = gridItemsList[insertAt];   // Changes the values in the row.  
                gridItem.Task = dlgSplits.Task;  
                gridItem.AssignedArtist = dlgSplits.Artist;  
                gridItem.AssignStatusDesc = dlgSplits.Status;  
 
                gridItemsList.Insert( insertAt, gridItem );  //gridItemsList has 7 Rows now  
 
                grdClipTask.DataSource = gridItemsList;  
                grdClipTask.Refresh();  //Form displays only 6 Rows.  
                  
                dlgSplits.Dispose();  
            }  
        } 


Please help me figure out why the stinkin grid won't update.
Anthony Terra
Top achievements
Rank 1
 answered on 12 Mar 2010
1 answer
448 views
1.  I've added a RAD context menu manager to my form.
2.  I've added a RAD context menu to my form.
3.  I've set the RadContextMenu property of my RadGridView appropriately.

At run time, when I right-click, I still see the default context menu and not mine. 

What gives?

Interstingly enough, I've found that my context menu DOES show up if there are no rows in my grid.  As soon as there are rows in my grid, the default context menu is displayed.


...AND THEN THERE WAS LIGHT!!!!

Ok, you must open the Property Builder for the Grid View.  Then you must select the "GridViewTemplate".  Then set the "AllowCellContextMenu" to false.  This seems pretty cheesy I must say.  Alot of work just to get the context menu that I want to be shown to be displayed.  Wouldn't one property on the grid itself be sufficient...something like "UseRadContextMenu"?
Nikolay
Telerik team
 answered on 12 Mar 2010
9 answers
644 views

HI,
    I have one issue regarding RadTabStrip. I have created two pages(Page 1 and Page 2) in RadTabstrip.In both the pages i have added two Radio Buttons and One Text box.Now I have subscribed Validating event of Text boxes of both the pages. I also have subscribed TabSelecting event of RadTabStrip.
                                                  Now in my scenario if validation of current Text Box is not done,I should not be able to select different tabPage.so to achieve this i have made  args.Cancel = true; this statement in TabSelecting Event.

C# Code :

private void radTabStrip1_TabSelecting(object sender, Telerik.WinControls.UI.TabCancelEventArgs args)
        {
            if (!Valid)
            {
                args.Cancel = true;
            }
        }

Here Valid is globla variable showing i need to stop tabChange.

Problem :

Suppose now i am on Page 1 and entered some Invalid entry in TextBox and I click on  page 2. Validation fires from Text Box and force me to be on page 1. Here Page 2 is not selected.This is fine for me,But now if i made Valid Entry in Text Box then I am able to change tab but not able to click( or change) Raido button on Page 1. Here I am suppose to change or select Radio button on same page in case of valid entry in Text Box.

Dobry Zranchev
Telerik team
 answered on 12 Mar 2010
1 answer
168 views
Is there a way to filter the appointments on the calendar dynamically?  I would like the user to have a few options to select from as far as what appoinments that they see.

I tried one method of filtering which is probably not the most efficient but could not get it to work anyways. I have a dataset that was built from code.  I tried rebuilding the dataset but it does not work because I get an error message about the table already existing.  I even tried removing the relationships and datatables before rebuilding but still get errors.  I tried dataset.Reset and dataset.clear but when I try to reuse the dataset I still end up with errors when adding the tables/relationships again.

I started researching a dataViewManager but have not got that to work yet.

If anybody has any suggestions it would be appreciated.


Dobry Zranchev
Telerik team
 answered on 12 Mar 2010
2 answers
216 views
how do i know when a document is selected in RadDock? is there any event fired when the selected document window changes?

i have tried using the Selected event of documentTabStrip under the RadDock but it doesn't fire when the selection is changed
Shaihan
Top achievements
Rank 1
 answered on 12 Mar 2010
1 answer
151 views
Hi,

I've tried to remove a row from RadGridView programmatically using Remove, RemoveAt methods of GridViewRowCollection, but the count of rows in collection is still the same (radGridView.Rows.IsReadOnly = false).

Regards,
Oleg
Julian Benkov
Telerik team
 answered on 12 Mar 2010
1 answer
161 views
Hi,

Is there a way to get the bindingnavigator to correctly reflect the radgridview after/during filtering?  I have the code that fixes it after sorting, but I don't have anything to fix it while filtering  so that it shows the correct number of records and that the go to beginning and go to end do the right thing.

Any ideas?

Thanks,

Eyal
Julian Benkov
Telerik team
 answered on 12 Mar 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?