When pasting data into the Telerik Spreadsheet (using ctrl+v) I get the Page Unresponsive pop-up in Chrome and the Long Script running warning in Internet Explorer. This happens when pasting 3 columns of data (one string, two decimals) over 300 rows.
I have extended the number of rows using RowsCount="1000" in the telerik:RadSpreadsheet tag on the aspx page (.NET 4.0).
Any tips on:
1. Speeding up performance of the paste?
2. How to extend the time before Chrome shows the Page Unresponsive pop-up? For up to 750 rows the paste will complete after 5 pop-ups are dismissed.
Thanks,
Rick
Hello,
When rendering a grid using Chrome for some reason the checkboxes are not visible (it's fine in firefox, ie 11, edge etc.) - though there are fairly significant differences between all of these usable. The version of Chrome I'm using is 60.0.3112.90 (64-bit). I'm not using any special styling or really any advanced techniques - pretty much stock standard grids. Any help would be great.
Thanks
Okay I am sure this has been hammered in the forums, but searching has not pulled me back the desired help. We have a grid in a RadWizard. We do NOT want the grid to postback on switching the tabs in the wizard, coming to or going to a different tab. The data is loaded using the NeedDataSource method. I read where setting the EnableViewState=False, it should not hit the NeedDataSource again, after the initial load.
<
telerik:RadGrid
runat
=
"server"
RenderMode
=
"Lightweight"
AutoGenerateColumns
=
"false"
EnableGroupsExpandAll
=
"true"
AllowMultiRowSelection
=
"true"
>
Regardless of ViewState being true/false, the method NeedDataSource is still being hit, wiping out the GridClientSelectColumn, because of the databinding. We tried setting the RadWizard property RenderedSteps="All" and "Active", but it did not matter. We need the grid to load once and never be loaded again, which is wiping out the checks. This grid is not update-able, editable, its just read only, with the option to check the GridClientSelectColumn.
How can we make this grid load once and never rebind itself again?
<
telerik:RadGrid
runat
=
"server"
ID
=
"RadGridFamily"
RenderMode
=
"Lightweight"
AutoGenerateColumns
=
"false"
Height
=
"300px"
EnableGroupsExpandAll
=
"true"
AllowMultiRowSelection
=
"true"
>
<
ClientSettings
AllowExpandCollapse
=
"true"
AllowGroupExpandCollapse
=
"true"
>
<
Selecting
AllowRowSelect
=
"true"
/>
<
Scrolling
AllowScroll
=
"true"
UseStaticHeaders
=
"true"
/>
</
ClientSettings
>
<
GroupingSettings
GroupByFieldsSeparator
=
" "
/>
<
MasterTableView
runat
=
"server"
DataKeyNames
=
"FamilyId, MemberId"
GroupLoadMode
=
"Client"
>
I have this code in my C# code behind page:
protected void gvEmailRedirectMaint_UpdateCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
{
GridEditableItem editItem = (GridEditableItem)e.Item;
string ID = (editItem["ID"].Controls[0] as TextBox).Text;
string RedirectEmailAddress = (editItem["RedirectEmailAddress"].Controls[0] as TextBox).Text;
string ModifiedBy = userID;
if ((e.Item is GridEditableItem) && (e.Item.IsInEditMode))
{
GridEditableItem edititem = (GridEditableItem)e.Item;
Regex regex = new Regex(@"^[A-Za-z0-9](([_\.\-]?[a-zA-Z0-9]+)*)@([A-Za-z0-9]+)(([\.\-]?[a-zA-Z0-9]+)*)\.([A-Za-z]{2,})$");
TextBox txtbx = (TextBox)edititem["RedirectEmailAddress"].Controls[0];
txtbx.Width = Unit.Pixel(300);
Label l1 = new Label();
l1.Width = Unit.Pixel(300);
Match match = regex.Match(txtbx.Text);
if (match.Success)
{
l1.Text = "";
}
else
{
l1.Text = "Please enter a valid email address";
}
}
When the user clicks the Update icon, I want to display a message if the email address is not in the proper format. I want the error message to display directly to the right of the email address textbox. But I can't get this to work. Can anyone help?
Hello,
Is there a way to add a confirmation popup via a script of the standard grid delete button on the far right of the row. I tried to call a javascript function from the OnDeleteCommand of the grid which creates a confirmation and continue on to the event if true. I couldn't get this to work however it didn't seem to like calling javascript from the control event. Any help appreciated.
Thanks
Hey, Do you guys have an example of using two listbox controls, with the second listbox is filtered by multi selected items from the first Listbox control?
An example:
I have two listbox controls, both using checkboxes with a check all button. ListboxCountry contains a list of counties. ListboxCity contains a list of cities. If I were to check off a country from ListboxCountry then only cities in that country will appear in ListboxCity. If I check off three counties from ListboxCountry then cities from those three countries will appear in ListboxCity. No checked countries then no cities.
I'm using v2017.2.711.40
Hi,
I would like to call a JavaScript function whenever an item is checked/unchecked in the excel-like filter list.
Please assist with an example of how this could be achieved.
Thank you,
Jas