I am working on a simple form to generate a report in Excel format. There are a few text boxes and date pickers and then a button. The event for the button runs a length SQL query and then creates an excel file with the results and presents the file using Response.OutputStream. The page in itself works fine but I'd like to add a RadAjaxLoadingPanel while the button event is working. I've tried at least a half dozen different methods and it seems all I can ever get is either the loading panel goes off but the file is never presented or nothing happens at all. Can someone point me to a demo or something that does this?
I've tried the AjaxLoadingPanel Demo and the AjaxLoadingPanel - Explicit Show/Hide
I have a hierarchical grid with two levels.
The Parent grid rows contain a student's ID (student_reference) , Name, course id (Expr1) , class code (Group) and the total number of notes created for that student.
The Detail rows contain the note details ( Student ref ,Note Type,Subject, Note content, Date created and ID of the member of staff who created the note)
When a new note is created it is added to the detail grid and the notes database table.
I now need to know how to update the parent row with the total number of notes when a new note is added. I need to also update the associated dataset which is a property of the User control containing the grid..
Rows can only be added to the notes database table. They cannot be deleted or updated.
Below is the definition of the grid from the ascx file.
<telerik:radgrid runat="server" id="RadGridClassOverview" showfooter="false" width="100%" enableajax="true" showstatusbar="true"
allowaddingrecords="false" autogeneratecolumns="false" allowsorting="false" allowpagesizeselection="False"
onitemdatabound="OnItemDataBoundHandler" ondetailtabledatabind="RadGridOverview_DetailTableDataBind"
allowpaging="True" skin="Bootstrap" pagesize="30" onneeddatasource="RadGridClassOverview_NeedDataSource"
OnItemCommand="RadGridClassOverview_ItemCommand" onprerender="RadGridClassOverview_PreRender" cssclass="table table-striped">
<PagerStyle Mode="NextPrev" Position="Bottom" PageSizeControlType="RadComboBox"></PagerStyle>
<MasterTableView AutoGenerateColumns="false" DataKeyNames="Student_reference, Expr1, Group" TableLayout="Auto" HierarchyLoadMode="ServerOnDemand" EnableHierarchyExpandAll="true" HierarchyDefaultExpanded="false" EditMode="EditForms" RetainExpandStateOnRebind="False">
<DetailTables>
<telerik:GridTableView AutoGenerateColumns="false" DataKeyNames="note_ref" Width="100%" EnableHierarchyExpandAll="true" CommandItemDisplay="Top" EditMode="EditForms" name="GridNotes">
<CommandItemSettings AddNewRecordText="Create New Note" />
<NoRecordsTemplate>
<div>
There are no notes to display</div>
</NoRecordsTemplate>
<Columns>
<telerik:GridButtonColumn CommandName="Edit" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" HeaderStyle-VerticalAlign="Middle" Text="View" UniqueName="View">
</telerik:GridButtonColumn>
<telerik:GridBoundColumn DataField="student_id" HeaderText="note_ref" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" HeaderStyle-VerticalAlign="Middle" UniqueName="Student_ref" Display="false" runat="server" ReadOnly="true">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="note_ref" DataType="System.Int32" HeaderText="note_ref" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" HeaderStyle-VerticalAlign="Middle" UniqueName="note_ref" Display="false" runat="server" ReadOnly="true">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="course" HeaderText="code" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" HeaderStyle-VerticalAlign="Middle" UniqueName="course" Display="false" runat="server" ItemStyle-Width="10px" HeaderStyle-Width="10px">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="course_name" HeaderText="Subject" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" HeaderStyle-VerticalAlign="Middle" UniqueName="qualname" HeaderStyle-Width="200px" ItemStyle-Width="200px" ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="noteType" HeaderText="Type" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" HeaderStyle-VerticalAlign="Middle" UniqueName="noteType" Display="false">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="typeDesc" HeaderText="Note Type" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" HeaderStyle-VerticalAlign="Middle" UniqueName="typeDesc" ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
</telerik:GridBoundColumn>
<telerik:GridDateTimeColumn DataField="created" HeaderText="Created" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" HeaderStyle-VerticalAlign="Middle" UniqueName="created" DataFormatString="{0:dd/MM/yyyy}">
</telerik:GridDateTimeColumn>
<telerik:GridBoundColumn DataField="created_by" HeaderText="Created" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" HeaderStyle-VerticalAlign="Middle" UniqueName="created_by" Display="false" ItemStyle-HorizontalAlign="Left">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="note_content" HeaderText="Created" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" HeaderStyle-VerticalAlign="Middle" UniqueName="note_content" Display="false" ItemStyle-HorizontalAlign="Center">
</telerik:GridBoundColumn>
</Columns>
<EditFormSettings EditFormType="Template">
<EditColumn UniqueName="View">
</EditColumn>
<FormTemplate>
<table style="width: 85%" border="1" >
<asp:Panel ID="pnlAdd" runat="server" Visible="false">
<tr style="border:solid">
<td colspan="2"><b>Create New Note</b><br /></td>
</tr>
<tr>
<td colspan="2">
<asp:Label ID="lblqualcode" runat="server" Text='' ></asp:Label>
<br />
Select Note Type<br />
<telerik:RadComboBox ID="RadComboBoxNoteType" runat="server" EmptyMessage="Select NoteType" CausesValidation="False"
HighlightTemplatedItems="true" Height="100px" Width="450px" DropDownWidth="450px" EnableAutomaticLoadOnDemand="False" AutoPostBack="true"
AppendDataBoundItems="true" Visible="true" CssClass="ComboBox" OnSelectedIndexChanged="RadComboBoxNoteType_SelectedIndexChanged">
</telerik:RadComboBox>
</td>
</tr><tr><td colspan="2">Mindset habits<br />Please select the mindset habits to link to this note</td></tr>
<tr><td colspan="2">
<telerik:RadListBox ID="ListBoxhabits" runat="server" RenderMode="Lightweight" CheckBoxes="true">
<Items>
<telerik:RadListBoxItem Text=" Time" />
<telerik:RadListBoxItem Text=" Engagement" />
<telerik:RadListBoxItem Text=" Response" />
<telerik:RadListBoxItem Text=" Resources" />
<telerik:RadListBoxItem Text=" Organisation" />
</Items>
</telerik:RadListBox>
</td></tr>
<tr>
<td colspan="2">
Enter Note content
<br />
<asp:TextBox ID="txtNoteContent" runat="server" Text="" CssClass="notecontent" TextMode="MultiLine" BorderStyle="Solid" style="width:450px">
</asp:TextBox><br />
<br />
<br /><br />
<asp:Label ID="lblMessage" runat="server" Text=''></asp:Label>
</td>
</tr>
<tr>
<td colspan="2">
<asp:Button ID="btnSave" CausesValidation="False" Text="Save"
runat="server" AutoPostBack="True" CommandName="PerformInsert"></asp:Button>
<asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False"
CommandName="Cancel"></asp:Button>
</td>
</tr>
</asp:Panel>
<asp:Panel ID="Paneldetail" runat="server" Visible="false">
<tr>
<td colspan="2">
<b>Note Details</b><br />
</td>
</tr>
<tr>
<td colspan="2">
<asp:Label ID="LabelDetails" runat="server" Text='<%# Bind("note_content") %>'></asp:Label>
</td>
</tr>
</asp:Panel>
</table>
</FormTemplate>
</EditFormSettings>
</telerik:GridTableView>
</DetailTables>
<Columns>
<telerik:GridBoundColumn DataField="Student_reference" HeaderText="Student ID" UniqueName="Student_reference" runat="server" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Expr1" HeaderText="class" UniqueName="Expr1" Display="false" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Group" HeaderText="class" UniqueName="Group" Display="false" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left">
</telerik:GridBoundColumn>
<telerik:GridCalculatedColumn DataFields="p_forenames,p_surname" Expression='{0}+" " +{1}' HeaderText="Name" UniqueName="student_name" Display="True" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" ItemStyle-Width="250px">
</telerik:GridCalculatedColumn>
<telerik:GridBoundColumn DataField="p_surname" HeaderText="Name" UniqueName="p_surname" Display="false" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="p_forenames" HeaderText="Name" UniqueName="p_forenames" Display="False" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="attendance" HeaderText="Attendance" UniqueName="attendance" DataFormatString="{0:N0}%" Display="True" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="100px">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="spms_level" HeaderText="SPMS Level" UniqueName="spms_level" Display="True" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="150px">
</telerik:GridBoundColumn>
<telerik:GridButtonColumn DataTextField="total_notes" HeaderText="Total Notes" UniqueName="total_notes" runat="server" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" CommandName="ViewNotes" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="100px" HeaderStyle-Wrap="true">
</telerik:GridButtonColumn>
</Columns>
<PagerStyle Mode="NextPrev" Position="Bottom" PageSizeControlType="RadComboBox"></PagerStyle>
</MasterTableView>
<ClientSettings EnablePostBackOnRowClick="true">
<Selecting AllowRowSelect="true"></Selecting>
</ClientSettings>
<SelectedItemStyle BackColor="Gray" BorderColor="Blue" BorderStyle="Dashed" BorderWidth="1px" />
</telerik:radgrid>
If the filename contains a 'COMBINING RING ABOVE' (U+030A) (for example U+0041 + U+030A instead of U+00C5) the SaveAs-method on the UploadedFile-object throws a file not found exception.

GridDataItem item = e.Item as GridDataItem;string Value = item["columnID"].Text;string Value = item.GetDataKeyValue("ID")Hello Folks,
I am facing this problem from past one week. I request one and all to help me out ASAP if you have the solution.
We are working with an application in ASP.NET Framework [ 3.5] and using Telerik [2009.1.527.35] version.
One of the page(.aspx) has tab panel inside. In tab we have ‘Add’
Icon where it can open popup. This page has two JavaScript reference files i.e,
File1.js and File2.js
In File1.js -> In document.ready, we calling the ‘Function1()’
as Sys.WebForms.PageRequestManager.getInstance().add_endRequest(Function1);
Function1 () – sets to varFromChange to False.
In File2.js --> In PageLoad() method we are calling
the ‘Function2()’as Sys.WebForms.PageRequestManager.getInstance().add_endRequest(Function2);
Function2 () – sets to varFromChange to True.
Telerik.Web.UI.WebResource.axd library file has to execute these functions sequentially i.e., Function1() and Function2(). But in some scenarios these functions are not executing sequentially. We could not able to debug this functions as these are calling by Telerik library.
Due to this issue page data is not getting saved.
Here is Stack Trace :
Function2 [Line: 253, Col: 5],
File2.js
Anonymous function [Line: 6,
Col: 29366], Telerik.Web.UI.WebResource.axd
Sys.WebForms.PageRequestManager.prototype._endPostBack
[Line: 15, Col: 9894], Telerik.Web.UI.WebResource.axd
Sys.WebForms.PageRequestManager.prototype._scriptsLoadComplete
[Line: 15, Col: 26829], Telerik.Web.UI.WebResource.axd
Anonymous function [Line: 6,
Col: 195], Telerik.Web.UI.WebResource.axd
Anonymous function [Line: 6,
Col: 298], Telerik.Web.UI.WebResource.axd
Sys._ScriptLoader.prototype._loadScriptsInternal
[Line: 6, Col: 44836], Telerik.Web.UI.WebResource.axd
Sys._ScriptLoader.prototype._loadScriptsInternal
[Line: 6, Col: 44744], Telerik.Web.UI.WebResource.axd
Sys._ScriptLoader.prototype._loadScriptsInternal
[Line: 6, Col: 44744], Telerik.Web.UI.WebResource.axd
Sys._ScriptLoader.prototype._nextSession
[Line: 6, Col: 45193], Telerik.Web.UI.WebResource.axd
Sys._ScriptLoader.prototype._loadScriptsInternal
[Line: 6, Col: 44844], Telerik.Web.UI.WebResource.axd
Sys._ScriptLoader.prototype._nextSession
[Line: 6, Col: 45193], Telerik.Web.UI.WebResource.axd
Sys._ScriptLoader.prototype.loadScripts
[Line: 6, Col: 43462], Telerik.Web.UI.WebResource.axd
Sys.WebForms.PageRequestManager.prototype._onFormSubmitCompleted
[Line: 15, Col: 19820], Telerik.Web.UI.WebResource.axd
Anonymous function [Line: 6,
Col: 298], Telerik.Web.UI.WebResource.axd
Anonymous function [Line: 6,
Col: 29366], Telerik.Web.UI.WebResource.axd
Sys.Net.WebRequest.prototype.completed
[Line: 6, Col: 67411], Telerik.Web.UI.WebResource.axd
_onReadyStateChange [Line: 6,
Col: 62071], Telerik.Web.UI.WebResource.axd
Thanks in advance,
Radhakrishna G
I have the following code in my web page. I want to use static headers and allow users to be able to scroll within a RadGrid. Here is the code:
<table>
<tr>
<td>
<asp:gridview ID="gvSites"
runat="server"
AutoGenerateColumns="false"
ShowHeader="true"
HeaderStyle-HorizontalAlign="Left"
ItemStyle-HorizonitalAlign="Left"
ClientSettings-Scrolling-AllowScroll="true"
ClientSettings-Scrolling-UseStaticHeaders="true"
Height="575px">
<Columns>
<asp:TemplateField ItemStyle-Width="100px">
<ItemTemplate>
<asp:Label ID="lblSiteCode" HeaderText="Site Code" runat="server" Text='<%# Eval("SiteCode")%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="130px">
<ItemTemplate>
<asp:Label ID="lblBranchNumber" HeaderText="Branch Number" runat="server" Text='<%# Eval("BranchNumber") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="150px">
<ItemTemplate>
<asp:Label ID="lblLocationName" HeaderText="Location Name" runat="server" Text='<%# Eval("LocationName") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:gridview>
</td>
</tr>
</table>
But none of my header text is displaying. What am I doing wrong?
Very simple case, the X-axis has dates, but the day _before_ is being shown on the access. Date input looks like:
2017/8/7
2017/814
But 0/6 and 8/13 are shown. See attachment. This happens in all cases regardless of number of records.
<telerik:RadHtmlChart ID="burndownChart" runat="server" DataSourceID="dsBurndown" Skin="Web20"> <PlotArea> <XAxis DataLabelsField="WeekDate"> </XAxis> <YAxis Name="$"> </YAxis> <Series> <telerik:AreaSeries AxisName="$" DataFieldY="Spent" Name="Spent" Stacked="True"> <LabelsAppearance Visible="true" DataField="WeekDate"></LabelsAppearance> </telerik:AreaSeries> <telerik:AreaSeries AxisName="$" DataFieldY="Remaining" Name="Remaining" Stacked="True"> </telerik:AreaSeries> </Series> </PlotArea> </telerik:RadHtmlChart>