I see a TON of articles about this and have tried many of the items, but none are working the way I hope....
We are using the datagrid for our reporting section in our software. As such there are many reports that have a lot of records, for example the one I am working with now has 51000+. This 'report' takes upwards of 30 seconds to load all of those records. Is that normal? Seems long to me.
I have played with the examples but none seem to allow us to have a 'report' where our clients can then filter the report by the columns and load quickly. The filter, saving the filter, etc works great! It just takes a long time to load. If we limit the number of rows it loads how do we do that such that the filter still work for ALL the possible records and not just the ones currently loaded?
Not sure if that makes sense or not :)
Thanks!!
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
</telerik:RadScriptManager> |
<asp:UpdatePanel runat="server" ID="updatePanel1"> |
<ContentTemplate> |
<asp:Button ID="btn_test" Text="Test" runat="server" /> |
<cc1:ModalPopupExtender ID="btn_test_ModalPopupExtender" runat="server" |
DynamicServicePath="" Enabled="True" PopupControlID="panelPopup" |
TargetControlID="btn_test"> |
</cc1:ModalPopupExtender> |
<asp:Panel runat="server" ID="panelPopup"> |
<telerik:RadEditor runat="server" ID="RadEditor1"> |
</telerik:RadEditor> |
</asp:Panel> |
</ContentTemplate> |
</asp:UpdatePanel> |
</asp:Content> |
I have embed a telerik spreadsheet control in one of my classic asp.net page. The spreadsheet is being loaded with contents of a xlsx spreadsheet. I am using a custom data provider to load the data from the spreadsheet into the Telerik Spreadsheet Control. Below is my code for custom data provider.
namespace SpreadsheetDemo
{
public partial class Spreadsheet : Page
{
private const string ProviderSessionKey = "Demo";
protected void Page_Load(object sender, EventArgs e)
{
SpreadsheetDocumentProvider provider;
if (Session[ProviderSessionKey] == null || !IsPostBack)
{
provider = new SpreadsheetDocumentProvider(Server.MapPath("~/App_Data/Visit_Tracker.xlsx"));
Session[ProviderSessionKey] = provider;
}
else
{
provider = (SpreadsheetDocumentProvider) Session[ProviderSessionKey];
}
rdSpreadsheet1.Provider = provider;
}
}
}
I am able to perform all the operations how ever I want to enable the "History" feature that is available for the workbook class.
I have added the namespace
using Telerik.Windows.Documents.Spreadsheet.History;
in my solution however I am not able to access the History object for the spreadsheet control "rdSpreadsheet1"
Can anyone please let me know how to access the history feature for the spreadsheet control.
I am working on a maintenance project which was written using VB.NET on v4.0, this code is not written by me, It was written by some different dev team long time ago.
My job is to run this code and deploy it on IIS. When i run this code on my local machine, it works fine. But when deploy it on IIS and run it, Then I am getting this weird error. Which i have never seen and i never worked with ASP.NET Web forms.
I have checked in bin folder for Telerik.Web.UI.dll. All files are in place and they are licensed dll's.
I even check in web.config it has been registered over there.
Please help me out.
Thanks
Jawand Singh
Hi,
In short, I've set the Interval for the RadDateTimePicker to 15 minutes from code. It looks like this is not working since the TimeView shows the default interval in Hours. However, when picking one of the Hours, the selected value reveals it returns the expected value.
For example, if you click on 01:00 hrs, it returns 00:15. Click on 02:00, it returns 00:30.
Is this a bug? Or am I overlooking something here? Thanks in advance!
Here's the code for the DateTimePicker in the page:
<
telerik:RadDateTimePicker
ID
=
"radDateTimeStart"
Skin
=
"MetroTouch"
DatePopupButton
=
"False"
runat
=
"server"
AutoPostBack
=
"False"
ShowPopupOnFocus
=
"True"
MinDate
=
"01/01/1000"
MaxDate
=
"01/01/3000"
Visible
=
"False"
CssClass
=
"SilverTextInput"
>
<
Calendar
ID
=
"calCombiStart"
runat
=
"server"
>
<
SpecialDays
>
<
telerik:RadCalendarDay
Repeatable
=
"Today"
ItemStyle-CssClass
=
"rcToday"
/>
</
SpecialDays
>
</
Calendar
>
<
TimeView
ID
=
"timeCombiStart"
runat
=
"server"
Columns
=
"4"
TimeFormat
=
"HH:mm"
ShowHeader
=
"false"
></
TimeView
>
</
telerik:RadDateTimePicker
>
And here's how it is set from code, in an ASP:Repeater
RadDateTimePicker radDateTimeStart = (RadDateTimePicker)e.Item.FindControl(
"radDateTimeStart"
);
RadTimeView timeCombiStart = radDateTimeStart.TimeView;
TimeSpan t =
new
TimeSpan(0, 0, 15, 0, 0);
timeCombiStart.Interval = t;
timeCombiStart.Columns = 4;
Do note: I also tried setting the Columns value from code to be sure I was in the right Control which proved it was.
For clarification I took a screencam from the behavior as described: https://www.youtube.com/watch?v=mWCEnbWrVoM
I would like to show a time series over 6 months with a line chart and daily data points (so roughly 180 points). But I would only like to show tick lines (and labels) for the first of each month. If I use BaseUnit="Months" I only get one data point per month displayed. If I don't, I can't seem to suppress the tickmarks for each day which gets overly crowded.
A simple example of what I'm going for attached.
I imagine I'm missing something simple but can't see it. Would appreciate any advice. Thanks.
Hello,
I'm wondering if there's an easy way to copy data from a specific row in a grid. I have looked up examples however they have all dealt with copying the entire grid rather than data within specific rows. A simple example would be a grid with two columns, the first contains the data to be copied within a standard GridBoundColumn and the second is a button (GridButtonColumn) to copy data from the row. If I click the copy button for a given row it would copy the data contents (from the GridBoundColumn) for that given row and put it on the clipboard. Is this possible?
Thanks