repeater control

Posted by Falak under ASP.NET on 9/12/2009 | Views : 1026 | Status : [Member] | Replies : 4
My question is how to display directive file in repeater control(vb.net)




Responses

Posted by: RtpHarry on: 9/12/2009 [Member] [MVP] Bronze

Up
0
Down
What do you mean by "directive file"?

Its not a term I am familiar with?

Falak, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Raja on: 9/12/2009 [Member] Starter

Up
0
Down
@RtpHarry
I think he want to list the files and folders in the repeater control, Falak if this is what you wanted, go through below article.

http://www.dotnetfunda.com/articles/article548-common-operation-with-files-and-folders-in-aspnet.aspx

Thanks

Regards,
Raja, USA

Falak, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Falak on: 9/13/2009 [Member] Starter

Up
0
Down
my question is
how to display many file in repeater control
for example we upload many file
file store in folder i want to see file name file path
and i aslo want open and save the file
file name file path hyperlink
Ali.doc app_data\ali.doc openfile
when we click on openfile file then ask me open save or cancel
same as if different file then what procedure use
i think u understand my questiion
i w8 4 ur reply

Falak, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rtpharry on: 9/16/2009 [Member] [MVP] Bronze

Up
0
Down
You need to use a file handler to serve up the files.

This would be a good starting point:

http://blogs.msdn.com/petel/archive/2005/12/01/499189.aspx

If you put the files in the app_data folder then it is impossible to access them via the url so they will be protected.

You can still access them via the code in your httphandler though.


To enhance it further you could use url rewriting to hide the httphandler and make it look like the url is a real filename.

Falak, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response