Click here to Skip to main content
15,896,606 members

Comments by Member 10871138 (Top 5 by date)

Member 10871138 28-May-18 5:43am View    
I want to delete the files in the repeater from the "~/files" folder.

I know that we need two loops.
First, read the repeater, then delete the file from server with "FileUrl" and Repeat again.
Member 10871138 26-May-18 22:55pm View    
yes.
ican delete file from server.
File.Delete(Request.MapPath("~/" + FileUrl));
but i want to delete multiple files from server with urls in repeater
Member 10871138 5-Mar-18 4:46am View    
you are right
i changed code
thanks
Member 10871138 5-Mar-18 3:36am View    
I tried
but not working

<asp:CheckBox ID="MyCheckBox" onclick='MyFunc(<%#Eval("ID")%>)' runat="server" />

div
id="<%#Eval("ReminderID")%>"
/div



MyFunc(id)
{
$(id).slideToggle("500");
}
Member 10871138 5-Jul-17 4:06am View    
Thanks Bryian Tan
Perfect and accurate