I have a with GridClientSelectColumn (checkbox) column. It seems I cannot set the checkboxes from the data using a DataTable. So I am forced to set the checkboxes in my in a second data pass. The grid is being used to select rows, the checks are the data, the user has picked rows and is trying to update them in this application scenario.
protected void MemberGrid_PreRender(object sender, EventArgs e){ // For Checking CheckBox Column for time first time on Pageload if (!IsPostBack && mode == Team.Modes.Edit) { foreach (GridDataItem item in MemberGrid.MasterTableView.Items) { string memberStr = item[TeamData.MEMBER_ID].Text; if (team.HasMember(int.Parse(memberStr))) { CheckBox cb = (CheckBox)item[TeamData.TEAM_SELECT].Controls[0]; cb.Checked = true; item.Selected = true; } } }}
This works, but the problem is I must select the row (statement: item.Selected = true;). Only setting the Checked to true will not check the checkbox - I consider this a bug. Forcing the Selected state means that if you click on the grid, the selection is removed along with every check. I consider this an unacceptable interface for my users. Losing all your checked boxes so simply is bad. Additionally, checking a box does not remove the select from the rows - in fact, I cannot figure out a way to unselect without removing all the checks. All this has forced me to put this note on my web page above the grid.
Important tip, hold the Ctrl key down while selecting rows to avoid unselecting other rows.I do not know how this will impact tablet users that do not have a Ctrl key. I suspect editing your checked rows will not be possible. Changing a filter or sorting by column removes the selection along with all the checks (that is, it remove the user's data).
This forum post discusses checking boxes and stops at needing to select the row after the check only does not work.
George
When I am with two raddocks open and I click on one with items from a treeview, after a while clicking the treeview disappears and the dock goes blank, how can I resolve this? Follow the video link with the demonstration of the error.
Https://www.screencast.com/t/wzTL3upWl
Regards
Wiliam
I have a question about the behavior of the RadEditor control.
We have a page in our website that contains a RadEditor control. This page is on two different servers representing two different environments. Test environment and Production Environment. The page is the same page in both environments.
Here is the quandary, the RadEditor control is behaving differently on the two servers.
In the test Environment if I type the following into the control:
Test
Test
Test
Test
And then look at the HTML I see:
Test<br />
Test<br />
Test<br />
Test<br />
As I would expect.
However in the Production Environment if I type
Test
Test
Test
Test
Then look at the HTML I see:
< p>Test </p>
< p>Test </p>
< p>Test </p>
< p>Test </p>
I am at a loss as to why the behavior is so different. Is there some configuration that could be different between the servers / environments?
Why would the control behave differently like this?
Thanks for your help.
Gary Graham

Is there a way to populate a grid manually?
In my application I'm uploading a file with a list of sales orders and a few other columns that will have a server-side process. At the end of processing all the sales order list, I want to report back to the user in a nice grid all the sales orders and data that he uploaded with an additional column specifying the status of the operation.
So there is no database to bind the Grid. Is this doable with RadGrid?
How could this demo:
http://demos.telerik.com/aspnet-ajax/media-player/examples/applicationscenarios/video-gallery/defaultvb.aspx
be extended so, that the video can be watched in Full screen mode and scaled back to original Lightbox size?
Marc

Hi,
I have a radpivotgrid on my asp.net page.
I need to save and reload state but I need to store the XML in the db and not the id such as
Dim fileId As String = Session("CustomPersistenceSettingsKey").ToString()
RadPersistenceManager1.StorageProviderKey = fileId ''need xml here
How can i do that?
Thanks
Hi, i have a management problem,
i have a grid that have a query as datasource, grid is enabled to filter and paging, when i filter, it filter for all pages,
so the result is:
Page1 - result
Page2 - result etc etc
i want the it filtering for all the pages and then refresh the number of pages;
Now post some code because mi english is bad:
thank you.
| <telerik:RadScriptManager runat="server" ID="Scipr"></telerik:RadScriptManager> |
| <telerik:RadGrid runat="server" ID="rgrProva" Skin="Hay" |
| AutoGenerateColumns="false" AllowFilteringByColumn="true" |
| onpageindexchanged="rgrProva_PageIndexChanged" EnableLinqExpressions="false" |
| onneeddatasource="rgrProva_NeedDataSource" > |
| <PagerStyle Mode="NumericPages" /> |
| <ClientSettings> |
| <Selecting AllowRowSelect="true"/> |
| </ClientSettings> |
| <MasterTableView> |
| <Columns> |
| <telerik:GridNumericColumn UniqueName="colAnno" DataField="RIC.reqann"> |
| </telerik:GridNumericColumn> |
| <telerik:GridNumericColumn UniqueName="colNumero" DataField="RIC.reqnum" FilterControlWidth="40px" |
| AutoPostBackOnFilter="false" CurrentFilterFunction="Contains" FilterDelay="4000" ShowFilterIcon="false"> |
| </telerik:GridNumericColumn> |
| <telerik:GridBoundColumn UniqueName="colCliente" DataField="RIC.reqcli"> |
| </telerik:GridBoundColumn> |
| </Columns> |
| </MasterTableView> |
| </telerik:RadGrid> |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| } |
| private void _Load(int PageNumber) |
| { |
| rgrProva.AllowPaging = true; |
| rgrProva.PageSize = 15; |
| rgrProva.PagerStyle.Mode = GridPagerMode.NumericPages; |
| rgrProva.AllowCustomPaging = true; |
| FinitenessEntities context = new FinitenessEntities(); |
| var qReq = from n in context.RICHIESTE |
| orderby n.reqann, n.reqnum |
| select new {RIC = n }; |
| rgrProva.VirtualItemCount = qReq.Count(); |
| rgrProva.DataSource = qReq.Skip(rgrProva.PageSize * PageNumber).Take(rgrProva.PageSize); |
| } |
| protected void rgrProva_PageIndexChanged(object source, Telerik.Web.UI.GridPageChangedEventArgs e) |
| { |
| this._Load(e.NewPageIndex); |
| } |
| protected void rgrProva_NeedDataSource(object source, GridNeedDataSourceEventArgs e) |
| { |
| this._Load(0); |
| } |
How can I modify the query string of the DialogHandler.aspx from the RadEditor when a command is executed ?
I want to be able get the query string from my CustomFileBrowserProvider HttpContext parameter.
I tried:
function OnClientCommandExecuting(editor, args) {
var commandName =
args.get_commandName();
if (commandName
== 'ImageManager') {
editor.get_dialogOpener().set_additionalQueryString("&cmd=img");
}
else if (executedCommand == 'DocumentManager') {
editor.get_dialogOpener().set_additionalQueryString("&cmd=doc");
}
}
It only works the second time the file
browser is opened.


Hello Telerik,
I have an .ASPX page with a RadGrid that has AllowFilteringByColumn="true". When I filter on multiple columns, I get the expected resulting records.
My problem is when I put the same RadGrid in a user control and embed this user control in another .ASPX page.
When I filter on one column, it works fine. But when I filter on another column, it always overrides the previous filter. Filtering on multiple columns does not work. I've used Session variables to store the FilterExpression and tried applying it at various points but have not been successful.
I've exhausted so many hours trying to make this work, but to no avail.
Would you please create a working sample project (VB preferred) that shows this is at all possible?
Many thanks as always.
Virgil