Click here to Skip to main content
15,908,173 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionkind of thumbnails Pin
NadyaS8-Jan-07 1:46
NadyaS8-Jan-07 1:46 
AnswerRe: kind of thumbnails Pin
Not Active8-Jan-07 2:47
mentorNot Active8-Jan-07 2:47 
Questionhow to return on the same previous page Pin
Amit Sk Sharma8-Jan-07 1:44
Amit Sk Sharma8-Jan-07 1:44 
AnswerRe: how to return on the same previous page Pin
Malcolm Smart8-Jan-07 1:51
Malcolm Smart8-Jan-07 1:51 
GeneralRe: how to return on the same previous page Pin
Not Active8-Jan-07 2:46
mentorNot Active8-Jan-07 2:46 
AnswerRe: how to return on the same previous page Pin
Not Active8-Jan-07 2:45
mentorNot Active8-Jan-07 2:45 
QuestionDisplaying a list of files in a directory with clickable link Pin
Omkar Ghaisas8-Jan-07 1:31
Omkar Ghaisas8-Jan-07 1:31 
AnswerRe: Displaying a list of files in a directory with clickable link Pin
Malcolm Smart8-Jan-07 2:01
Malcolm Smart8-Jan-07 2:01 
How about iterating through the array and creating hyperlinks for each file? One thing to consider is the files are going to be on the server, the user is on a client machine. The list might have drive letters in the path, ie c:\\myshare\\myfile.txt whereas the user would really want to see these as \\server\myshare\myfile.txt.

<br />
<br />
Array<string> mylistofFiles<br />
<br />
//populate array<br />
<br />
foreach( string myFile in mylistofFiles )<br />
{<br />
    HyperLink lnk = new HyperLink();<br />
    lnk.Text = "Click to view " + myFile;<br />
    lnk.NavigateUrl = myFile;<br />
    yourForm.Controls.Add( lnk );<br />
}<br />


This is from memory, and really a 'concept', not a concrete solution. If the file extension is registered on the users system, the correct app will open it for viewing.




Regards

Angel
*********************************************


GeneralRe: Displaying a list of files in a directory with clickable link Pin
Omkar Ghaisas8-Jan-07 2:27
Omkar Ghaisas8-Jan-07 2:27 
GeneralRe: Displaying a list of files in a directory with clickable link Pin
Not Active8-Jan-07 2:39
mentorNot Active8-Jan-07 2:39 
GeneralRe: Displaying a list of files in a directory with clickable link Pin
Omkar Ghaisas8-Jan-07 2:42
Omkar Ghaisas8-Jan-07 2:42 
GeneralRe: Displaying a list of files in a directory with clickable link Pin
Not Active8-Jan-07 3:04
mentorNot Active8-Jan-07 3:04 
Questionasp 2.0 wizard control Pin
P.P.K.Reddy8-Jan-07 0:52
P.P.K.Reddy8-Jan-07 0:52 
AnswerRe: asp 2.0 wizard control Pin
minhpc_bk8-Jan-07 8:59
minhpc_bk8-Jan-07 8:59 
QuestionSearch button Pin
nclauder8-Jan-07 0:25
nclauder8-Jan-07 0:25 
AnswerRe: Search button Pin
minhpc_bk8-Jan-07 8:38
minhpc_bk8-Jan-07 8:38 
GeneralRe: Search button Pin
nclauder8-Jan-07 18:54
nclauder8-Jan-07 18:54 
QuestionMe.IsValid Pin
Dayekh7-Jan-07 23:58
Dayekh7-Jan-07 23:58 
AnswerRe: Me.IsValid Pin
Electronic Screw8-Jan-07 0:22
Electronic Screw8-Jan-07 0:22 
GeneralRe: Me.IsValid Pin
Dayekh8-Jan-07 0:40
Dayekh8-Jan-07 0:40 
GeneralRe: Me.IsValid Pin
Haissam8-Jan-07 0:46
Haissam8-Jan-07 0:46 
GeneralRe: Me.IsValid Pin
Dayekh8-Jan-07 1:34
Dayekh8-Jan-07 1:34 
GeneralRe: Me.IsValid Pin
Dayekh8-Jan-07 4:16
Dayekh8-Jan-07 4:16 
QuestionStart ASP.NET State Service Programmatically Pin
John Gathogo7-Jan-07 23:00
John Gathogo7-Jan-07 23:00 
AnswerRe: Start ASP.NET State Service Programmatically Pin
seee sharp7-Jan-07 23:09
seee sharp7-Jan-07 23:09 

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.