Protected Sub gridJourneys_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles gridJourneys.ItemDataBound If e.Item.OwnerTableView.Name = "Journeys" Then If TypeOf e.Item Is GridDataItem Then Dim dataItem As GridDataItem = CType(e.Item, GridDataItem) Dim x As TimeSpan = TimeSpan.Parse(dataItem("IdlingTime").Text) idlingTime = (idlingTime + x) Dim y As Double = Double.Parse(dataItem("DistanceTravelled").Text) distanceTravelled = (distanceTravelled + y) Dim z As TimeSpan = TimeSpan.Parse(dataItem("TimeTaken").Text) timeTaken = (timeTaken + z) ElseIf TypeOf e.Item Is GridFooterItem Then Dim footerItem As GridFooterItem = CType(e.Item, GridFooterItem) footerItem("DistanceTravelled").Text = distanceTravelled.ToString("F2") 'footerItem("TimeTaken").Text = timeTaken.ToString footerItem("TimeTaken").Controls.Add(New LiteralControl("Total: " & timeTaken.ToString & "<br/>")) footerItem("TimeTaken").Controls.Add(New LiteralControl("Idling: " & idlingTime.ToString)) End IfHi,
I am using the FileExplorer and I have EnableAsyncUpload set to true. I have also applied these modifications so that the Open menu option will always force a download.
With the Telerik AsynchUpload control, I can use the OnClientValidationFailed to verify the status of an upload. I need to be able to do this when clicking the Upload toolbar button within FileExplorer. But I don’t want to validate a “failed” upload; I want to validate a “successful” upload.
And I’m not sure that either test can be preformed when forcing a download, since I am actually invoking my browser’s “Save As” feature, as opposed to a Telerik download feature.
Any suggestions?
Thanks,
Steven
I have this column in a grid:
<telerik:GridDateTimeColumn DataField="empfangen" HeaderText="Empfangen" SortExpression="empfangen" UniqueName="empfangen" DataType="System.DateTime" ShowFilterIcon="False" ReadOnly="True" AllowFiltering="True" />
and i must disable the filtering calendar -> AllowFiltering="False" with Formdecorator turned on and using IE8.
(no problem with IE7 or 9 or FF)
Error is Javascript error on line 276 of RadFormDecorator.js -> 'r.height=n+"px";'
Versioninfo: Telerik.Web.UI, v.2012.3.1016.40 (Dev) [Download] (UI Language mostly German)
does any other out there have this problem? is it possible to turn of filter for IE8 only?
regards Marcel
<asp:UpdatePanel ID="upnlLeaveHistory" runat="server" UpdateMode="Conditional"> <ContentTemplate> ……………… <telerik:RadGrid ID="rgLeaveHistory" runat="server"> <MasterTableView> <Columns> <telerik:GridTemplateColumn DataField="Remarks"> <HeaderTemplate> <asp:LinkButton ID="HeaderRgLeaveHistory_Remarks" CommandName="Sort" CommandArgument="Remarks" Text=“Remarks” runat="server"/> </HeaderTemplate> <ItemTemplate> <asp:Label ID="lblItemRgLeaveHistory_Remarks" runat="server" Text='<%#Eval("Remarks")%>' /> </ItemTemplate> </telerik:GridTemplateColumn> </Columns> </MasterTableView> <FilterMenu EnableImageSprites="False"></FilterMenu> </telerik:RadGrid> </ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID="btnAction"/> <asp:PostBackTrigger ControlID="ddlLeaveYear"/> </Triggers> </asp:UpdatePanel>