First:
I'm using an .ascx web user control that gets loaded OnInit with ViewState turned off entirely on the web app due to other issues(not related to this post).
Second:
The radgrid is programatically adding the columns based on the folder selected in the tree on the left. When I select a row and hit a button to perform an action my RadGrid1.SelectedItems.Count = 0?
I'm using the same methods to get these types of values on other pages with the only major difference being the columns are added into the markup and not via the codebehind.
Here's 2 examples. 1 is a grid that's working and 1 is the one created programatically. You can see there's an extra GUID or something in the name.
1. Grid that's working's Checkbox:(RadGrid1)
2. Grid that's not working's checkbox: (grdProjectFolderContent)
I understand that with ViewState being turned off for the web application I've lost a lot of the information that makes my life a bit easier but unfortunately it had to be that way and I'm guessing this is jst one of the issues I'll face as I start my regression testing.
Any help is appreciated. Thanks.
I'm using an .ascx web user control that gets loaded OnInit with ViewState turned off entirely on the web app due to other issues(not related to this post).
Second:
The radgrid is programatically adding the columns based on the folder selected in the tree on the left. When I select a row and hit a button to perform an action my RadGrid1.SelectedItems.Count = 0?
I'm using the same methods to get these types of values on other pages with the only major difference being the columns are added into the markup and not via the codebehind.
Here's 2 examples. 1 is a grid that's working and 1 is the one created programatically. You can see there's an extra GUID or something in the name.
1. Grid that's working's Checkbox:(RadGrid1)
id="ctl00_ctl00_mc_cpMain_C3823986-1DC5-48B4-A950-516AF5401F9D_RadGrid1_ctl00_ctl24_columnSelectCheckBox"
2. Grid that's not working's checkbox: (grdProjectFolderContent)
id="ctl00_ctl00_mc_cpMain_C3823986-1DC5-48B4-A950-516AF5401F9D_CAA11BE1-D9B5-412D-B2C5-F747BFA04B6E_grdProjectFolderContent_ctl00_ctl04_columnSelectCheckBox"
I understand that with ViewState being turned off for the web application I've lost a lot of the information that makes my life a bit easier but unfortunately it had to be that way and I'm guessing this is jst one of the issues I'll face as I start my regression testing.
Any help is appreciated. Thanks.