or
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="true" HeaderStyle-Wrap="false" EnableHeaderContextMenu="true"EnableViewState="false" AllowPaging="true" PageSize="20" Skin="Default"EnableEmbeddedScripts="false" EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false" RegisterWithScriptManager="false"AllowSorting="true" GroupingEnabled="false"> <MasterTableView TableLayout="Fixed" /><PagerStyle AlwaysVisible="true" Mode="NextPrevAndNumeric" /><ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true" ColumnsReorderMethod="Reorder" Resizing-AllowColumnResize="true" Resizing-ResizeGridOnColumnResize="true" > <Scrolling UseStaticHeaders="true" AllowScroll="true" ScrollHeight="20px" /> </ClientSettings></telerik:RadGrid>Hi
I have two radupload on my form. How can I add progress bars to both?
I have tried to look at samples but they are bit complicated for a beginner like me.
Thanks
Regards
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %> <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <telerik:RadScriptManager ID="RadScriptManager1" Runat="server"> </telerik:RadScriptManager> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:EnterpriseDevConnectionString2 %>" SelectCommand="SELECT [Ref], [LineNum], [SKU], [Qty], [ActualQty], [ExportedQty], [Exported] FROM [InboundGoodsLines] WHERE ([Ref] = @Ref)"> <SelectParameters> <asp:ControlParameter ControlID="RadGrid2" DefaultValue="Ref" Name="Ref" PropertyName="SelectedValue" Type="String" /> </SelectParameters> </asp:SqlDataSource> <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:EnterpriseDevConnectionString2 %>" SelectCommand="SELECT [Ref], [Vendor], [SupplyingSite], [ActualDate], [AuthorisedBy] FROM [InboundGoods]"> </asp:SqlDataSource> <telerik:RadGrid ID="RadGrid2" runat="server" DataSourceID="SqlDataSource2" AllowFilteringByColumn="true" > <MasterTableView DataKeyNames="Ref" AllowFilteringByColumn="true" DataSourceID="SqlDataSource2" TableLayout="Auto" PageSize="1"> <DetailTables> <telerik:GridTableView runat="server" DataKeyNames="Ref" DataSourceID="SqlDataSource1" > <ParentTableRelation> <telerik:GridRelationFields DetailKeyField="Ref" MasterKeyField="Ref" /> </ParentTableRelation> </telerik:GridTableView> </DetailTables> </MasterTableView> </telerik:RadGrid> </form> </body> </html> RadGrid grid = new RadGrid();
grid.AutoGenerateColumns = true;
grid.ExportSettings.ExportOnlyData = true;
grid.ExportSettings.IgnorePaging = true;
grid.ExportSettings.OpenInNewWindow = true;
grid.DataSource = myCollection;
grid.DataBind();
grid.MasterTableView.ExportToExcel();
}