Click here to Skip to main content
15,897,273 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionGridView in ASP.NET 2.0 & C# Pin
Jacob Dixon28-May-08 4:02
Jacob Dixon28-May-08 4:02 
QuestionMicrosoft JScript runtime error: Object doesn't support this property or method Pin
eyeseetee28-May-08 3:00
eyeseetee28-May-08 3:00 
AnswerRe: Microsoft JScript runtime error: Object doesn't support this property or method Pin
Imran Khan Pathan28-May-08 3:06
Imran Khan Pathan28-May-08 3:06 
GeneralRe: Microsoft JScript runtime error: Object doesn't support this property or method Pin
eyeseetee28-May-08 3:21
eyeseetee28-May-08 3:21 
GeneralRe: Microsoft JScript runtime error: Object doesn't support this property or method Pin
eyeseetee28-May-08 4:36
eyeseetee28-May-08 4:36 
Questiongridview problem Pin
Miss Maheshwari28-May-08 2:44
Miss Maheshwari28-May-08 2:44 
AnswerRe: gridview problem Pin
eyeseetee28-May-08 2:54
eyeseetee28-May-08 2:54 
QuestionAltering File Names On Download Pin
Sam Heller28-May-08 2:01
Sam Heller28-May-08 2:01 
I have an upload section to a site I have built where users can upload whatever files they want. Upon upload a new name is created using a randon string generator and saved into one folder. The new name and the original name are then stored in a database. Simple

The files are then displayed in a table on a page where the name of the link is the original name and the randon string name is the absolute link to the real file. This works fine but the file once downloaded comes with the random string as it's file name. How can I alter the name of the file back to it's original name when selected for download?

I don't have access to IIS so this needs to be done in code on the fly?

Many Thanks
AnswerRe: Altering File Names On Download Pin
Vasudevan Deepak Kumar28-May-08 2:28
Vasudevan Deepak Kumar28-May-08 2:28 
GeneralRe: Altering File Names On Download Pin
Sam Heller28-May-08 2:39
Sam Heller28-May-08 2:39 
GeneralRe: Altering File Names On Download Pin
Vasudevan Deepak Kumar28-May-08 2:40
Vasudevan Deepak Kumar28-May-08 2:40 
GeneralRe: Altering File Names On Download Pin
Sam Heller28-May-08 4:42
Sam Heller28-May-08 4:42 
GeneralRe: Altering File Names On Download Pin
Sam Heller28-May-08 5:16
Sam Heller28-May-08 5:16 
GeneralRe: Altering File Names On Download Pin
Vasudevan Deepak Kumar28-May-08 18:29
Vasudevan Deepak Kumar28-May-08 18:29 
GeneralRe: Altering File Names On Download Pin
Sam Heller29-May-08 1:18
Sam Heller29-May-08 1:18 
GeneralRe: Altering File Names On Download Pin
Vasudevan Deepak Kumar28-May-08 18:40
Vasudevan Deepak Kumar28-May-08 18:40 
GeneralRe: Altering File Names On Download Pin
Sam Heller29-May-08 1:14
Sam Heller29-May-08 1:14 
QuestionHow to list SQL servers and their databases on all computers in domain Pin
S.Aijaz28-May-08 1:53
S.Aijaz28-May-08 1:53 
AnswerRe: How to list SQL servers and their databases on all computers in domain [modified] Pin
Sherin Iranimose28-May-08 2:14
Sherin Iranimose28-May-08 2:14 
AnswerRe: How to list SQL servers and their databases on all computers in domain Pin
Vasudevan Deepak Kumar28-May-08 2:29
Vasudevan Deepak Kumar28-May-08 2:29 
QuestionTreeview Control Pin
meghamaharshi28-May-08 1:33
meghamaharshi28-May-08 1:33 
AnswerRe: Treeview Control Pin
Imran Khan Pathan28-May-08 1:40
Imran Khan Pathan28-May-08 1:40 
AnswerRe: Treeview Control Pin
eyeseetee28-May-08 2:19
eyeseetee28-May-08 2:19 
GeneralRe: Treeview Control Pin
meghamaharshi28-May-08 2:31
meghamaharshi28-May-08 2:31 
GeneralRe: Treeview Control Pin
eyeseetee28-May-08 2:52
eyeseetee28-May-08 2:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.