tag:blogger.com,1999:blog-7805972021499203804.post3559334144907002058..comments2023-10-30T06:24:14.411-07:00Comments on ASP.NET,C#.NET,VB.NET,JQuery,JavaScript,Gridview: Regular expressions to validate file extension before file upload in javascript using asp.netSuresh Dasarihttp://www.blogger.com/profile/01337689983379917267noreply@blogger.comBlogger22125tag:blogger.com,1999:blog-7805972021499203804.post-52640585485200848242016-07-10T18:43:30.485-07:002016-07-10T18:43:30.485-07:00Hi
I want to upload .pdf files only and open those...Hi<br />I want to upload .pdf files only and open those files in new tab<br />not to be downloadwfdsharehttp://wfdshare.comnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-61196152654211408752015-09-02T23:21:31.438-07:002015-09-02T23:21:31.438-07:00this is working in IE only javascript is not worki...this is working in IE only javascript is not working in MozillaCara Mengatasi Kumpulbagi Errorhttp://www.wdfshare.com/2015/08/cara-mengatasi-kumpulbagi-error.htmlnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-49418332997494118412015-08-31T20:39:48.008-07:002015-08-31T20:39:48.008-07:00this is working in IE only javascript is not worki...this is working in IE only javascript is not workingVMware Player 7.1.2 Build 2780323http://www.wdfshare.com/2015/08/vmware-player-712-build-2780323.htmlnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-44545154790853257502015-02-01T07:06:10.787-08:002015-02-01T07:06:10.787-08:00this is working in IE only javascript is not worki...this is working in IE only javascript is not working in MozillaAnonymoushttps://www.blogger.com/profile/01869691956305249746noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-6592586927238603982014-06-10T02:53:09.344-07:002014-06-10T02:53:09.344-07:00Where to place the 'function' in a child f...Where to place the 'function' in a child form which is connected to a master? There is no heading tag in child form.!!Anonymoushttps://www.blogger.com/profile/12896655640042370832noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-55114686444369591742014-05-21T22:15:29.708-07:002014-05-21T22:15:29.708-07:00Sir i m trying to load an image when log in is don...Sir i m trying to load an image when log in is done to the master page, but i need to check the format of the image before it loads can u help me<br /> Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-74766556829018146912014-04-02T13:02:40.207-07:002014-04-02T13:02:40.207-07:00espero les ayude amigos!
var extensiones=/\.(gif|...espero les ayude amigos!<br /><br />var extensiones=/\.(gif|jpg|jpeg|png|PNG|JPEG|JPEG|GIF)$/i;<br />var miarchivo="demo.jpg"; <br />if(extensiones.test(miarchivo)){<br />alert("true");<br />}else{<br />alert("false");<br />}<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-67278567961810639182014-03-18T06:06:19.838-07:002014-03-18T06:06:19.838-07:00if some has changed the extnsion of a file like .e...if some has changed the extnsion of a file like .exe or .html to jpeg or doc or pdf and then uploaded means what is going to happen?it will upload..so i want to validate a file irrespective of its extensionAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-69592561678835511352013-05-21T04:09:47.822-07:002013-05-21T04:09:47.822-07:00sir can u please tell me that how to check validat...sir can u please tell me that how to check validation for images and if image format is correct then it must upload itpriyankanoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-80924189220094722682013-04-24T22:43:23.744-07:002013-04-24T22:43:23.744-07:00Sir,could u please help me how to display image in...Sir,could u please help me how to display image in image control after selecting file using FileUpload i my page???Anonymoushttps://www.blogger.com/profile/15867481028510511735noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-24723013218653209642013-04-24T22:32:11.542-07:002013-04-24T22:32:11.542-07:00Sir Suresh, i have copied same code as u have prov...Sir Suresh, i have copied same code as u have provided above,but it has no effect on "FileUpload1" to give validate format...could u please tell me the reason or problem behind<br />Anonymoushttps://www.blogger.com/profile/07456613465739280778noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-78508013540542619702013-04-18T05:48:15.490-07:002013-04-18T05:48:15.490-07:00mozilla firefox not supportedmozilla firefox not supportedAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-25411499695215516972013-02-23T01:15:49.157-08:002013-02-23T01:15:49.157-08:00Hi
I want to upload .pdf files only and open thos...Hi<br />I want to upload .pdf files only and open those files in new tab<br />not to be downloadmanjuhttps://www.blogger.com/profile/17215301153547812250noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-36749417229390787202012-12-04T04:14:48.578-08:002012-12-04T04:14:48.578-08:00Hi Sir,
I have used this expression for validati...Hi Sir,<br /><br /> I have used this expression for validating file extension in javascript .But the problem is like this works fine in IE and chrome but doesnt work in Firefox is there any mistake in my expression.<br /> /^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w].*))+(.jpeg|.JPEG|.gif|.GIF| .png|.PNG|.jpg|.JPG|.bmp|.BMP)$/;Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-55030297428083229662012-09-26T22:36:42.248-07:002012-09-26T22:36:42.248-07:00hi can you give me some code where i have only cha...hi can you give me some code where i have only characters and only one special character in my text box please!!!!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-4315327101780564232012-05-31T11:22:07.324-07:002012-05-31T11:22:07.324-07:00@Suresh Gupta...
In javaScript you must use return...@Suresh Gupta...<br />In javaScript you must use return false as mentioned in above code then if condition fails it will show alter message and stop the execution of functionSuresh Dasarihttps://www.blogger.com/profile/01337689983379917267noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-91000406355069663332012-05-31T08:52:29.851-07:002012-05-31T08:52:29.851-07:00Hiiii this is working on clientside and accordingl...Hiiii this is working on clientside and accordingly shows error when we try to upload some other file which is not desired.But at that time how to relate this javascript code to backend .aspx.vb code so that image should not be saved in database.suresh guptahttps://www.blogger.com/profile/01822778929803707522noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-53607205327894744722012-05-20T01:21:51.612-07:002012-05-20T01:21:51.612-07:00not working in firefoxnot working in firefoxAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-12310324018530988362012-04-12T23:15:10.780-07:002012-04-12T23:15:10.780-07:00when i used jquery and ajax....
it is not working....when i used jquery and ajax....<br />it is not working..<br /><br />any solutions. ??Er. Maharshi Pandyahttps://www.blogger.com/profile/16208394540568447105noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-40840081317438697612011-10-24T22:05:56.448-07:002011-10-24T22:05:56.448-07:00sir,
Do you have any project related to survey.
OR...sir,<br />Do you have any project related to survey.<br />OR How can we strore survey result in database.Mohammad Razahttps://www.blogger.com/profile/03539682226870667453noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-78354050276722883222011-05-21T06:51:27.306-07:002011-05-21T06:51:27.306-07:00hi john,
here i am validating file before u...hi john,<br /> here i am validating file before upload in clientside this is enough no need to link in service it will work for you based on your requirement.Suresh Dasarihttps://www.blogger.com/profile/01337689983379917267noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-79573074546579562032011-02-27T19:10:04.345-08:002011-02-27T19:10:04.345-08:00Can you please explain more how to link to the ser...Can you please explain more how to link to the server side etc.? Just need more complete instructions.Johnhttp://www.globalvoipmobile.comnoreply@blogger.com