Click here to Skip to main content
15,893,161 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to raise events while clicking a datalist item or a particular Row?? Pin
Michael Sync16-Aug-07 23:48
Michael Sync16-Aug-07 23:48 
Questionphoto gallery (urgent!) Pin
Milind Panchal15-Aug-07 21:34
Milind Panchal15-Aug-07 21:34 
AnswerRe: photo gallery (urgent!) Pin
N a v a n e e t h15-Aug-07 21:40
N a v a n e e t h15-Aug-07 21:40 
GeneralRe: photo gallery (urgent!) Pin
Milind Panchal15-Aug-07 21:42
Milind Panchal15-Aug-07 21:42 
GeneralRe: photo gallery (urgent!) Pin
Michael Sync15-Aug-07 22:02
Michael Sync15-Aug-07 22:02 
Questionhow do i Filter extensions in FileUpload Control Pin
Amit.Amit.Amit...15-Aug-07 21:22
Amit.Amit.Amit...15-Aug-07 21:22 
AnswerRe: how do i Filter extensions in FileUpload Control Pin
Michael Sync15-Aug-07 21:25
Michael Sync15-Aug-07 21:25 
AnswerRe: how do i Filter extensions in FileUpload Control Pin
N a v a n e e t h15-Aug-07 21:33
N a v a n e e t h15-Aug-07 21:33 
Amit.Amit.Amit..... wrote:
now i want, user not able to upload .exe file

for that i need to specify filter fo extensions


Specifying filter is not possible in file upload control. But you can check the file extension like this and alert user regarding that

if (File1.PostedFile.FileName.EndsWith(".exe"))
{
    //Display message
}
else
    //Upload



AnswerRe: how do i Filter extensions in FileUpload Control Pin
metallica_rock1015-Aug-07 23:09
metallica_rock1015-Aug-07 23:09 
AnswerRe: how do i Filter extensions in FileUpload Control Pin
metallica_rock1015-Aug-07 23:09
metallica_rock1015-Aug-07 23:09 
AnswerRe: how do i Filter extensions in FileUpload Control Pin
mangrovecm15-Aug-07 23:52
mangrovecm15-Aug-07 23:52 
GeneralRe: how do i Filter extensions in FileUpload Control Pin
Christian Graus15-Aug-07 23:26
protectorChristian Graus15-Aug-07 23:26 
GeneralRe: how do i Filter extensions in FileUpload Control Pin
Michael Sync16-Aug-07 0:03
Michael Sync16-Aug-07 0:03 
GeneralRe: how do i Filter extensions in FileUpload Control Pin
Amit.Amit.Amit...16-Aug-07 1:31
Amit.Amit.Amit...16-Aug-07 1:31 
QuestionThe SourceCode Manage Pin
codelinks15-Aug-07 21:20
codelinks15-Aug-07 21:20 
AnswerRe: The SourceCode Manage Pin
Michael Sync15-Aug-07 21:23
Michael Sync15-Aug-07 21:23 
GeneralRe: The SourceCode Manage Pin
codelinks15-Aug-07 21:38
codelinks15-Aug-07 21:38 
AnswerRe: The SourceCode Manage Pin
N a v a n e e t h15-Aug-07 21:36
N a v a n e e t h15-Aug-07 21:36 
AnswerRe: The SourceCode Manage Pin
Christian Graus15-Aug-07 23:27
protectorChristian Graus15-Aug-07 23:27 
GeneralRe: The SourceCode Manage Pin
Michael Sync16-Aug-07 0:08
Michael Sync16-Aug-07 0:08 
GeneralRe: The SourceCode Manage Pin
codelinks16-Aug-07 0:26
codelinks16-Aug-07 0:26 
GeneralRe: The SourceCode Manage Pin
Michael Sync16-Aug-07 1:33
Michael Sync16-Aug-07 1:33 
QuestionASP.NET menu control is not working with IE6.0 Pin
salon15-Aug-07 20:58
salon15-Aug-07 20:58 
AnswerRe: ASP.NET menu control is not working with IE6.0 Pin
Michael Sync15-Aug-07 21:02
Michael Sync15-Aug-07 21:02 
GeneralRe: ASP.NET menu control is not working with IE6.0 Pin
salon15-Aug-07 23:09
salon15-Aug-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.