Hi!
I need help.
I use RadAsyncUpload to upload file (.xls or .xlsx) and save in a directory.
Now, I need read this file and populate a GridView with these rows. How I can make it? How I call this control as methot in my .cs?
Other question... I use TargetFolder to save file, but this function works just in LocalHost, in webserver, I can't save file (IIS7).
Tks!
below is my GridView with all columns in my Excel template.
Att.
Caio Vinicius.
I need help.
I use RadAsyncUpload to upload file (.xls or .xlsx) and save in a directory.
Now, I need read this file and populate a GridView with these rows. How I can make it? How I call this control as methot in my .cs?
Other question... I use TargetFolder to save file, but this function works just in LocalHost, in webserver, I can't save file (IIS7).
Tks!
<div class="qsf-demo-canvas"> <telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" MultipleFileSelection="Automatic" TargetFolder="~/Uploads" OnFileUploaded="btnImportFile_OnClick" /> <telerik:RadProgressArea runat="server" ID="RadProgressArea1" /> </div>below is my GridView with all columns in my Excel template.
<asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="false" GridLines="None" Visible="false"> <Columns> <asp:BoundField DataField="MainFolder" /> <asp:BoundField DataField="SecondLevel" /> <asp:BoundField DataField="ThirdLevel" /> <asp:BoundField DataField="FourthLevel" /> <asp:BoundField DataField="Classification" /> <asp:BoundField DataField="OWNER" /> <asp:BoundField DataField="OWNER2" /> <asp:BoundField DataField="OWNER3" /> <asp:BoundField DataField="OWNER4" /> <asp:BoundField DataField="GroupR" /> </Columns> </asp:GridView>Att.
Caio Vinicius.