rpsu,
Please check the following article:
Restricting Files by Extensions and Types:
Restricting Document Files by Extensions and Types:
>>Is there any way I can show supported files types on dialog box. I don't want my customer to go and try some file and when he clicks upload he knows it is not supported. Instead some text letting him know what is supported would greatly help.
Yes. You can get the file Extensions and Types.
For example, open InsertImage.Frame.aspx file. You can find the following code:
foreach (string ext in secset.ImageFilters)
{
.....
}
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx