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
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.
| 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; |
| 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(); |
| } |
| } |
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.