Archive for Javascript
Debugging ASP,JavaScript,VBScript in IE & Firefox
Posted by: | CommentsDuring development debugging plays an important role as it reduces our development efforts in fixing the bugs.In this article we will describe some of the techniques to help you with debugging the ASP, JavaScript,VBScript in Internet explorer and Firefox.
Validate asp.net FileUpload control using JavaScript.
Posted by: | CommentsThis article explains about file upload control validation in JavaScript. By default when the user selects invalid format using the file upload control, the server control will not clear the content automatically. using the below code we can check the file extension and if it is not valid file extension then the textbox is cleared. This happens on the client side only using JavaScript.
How to handle PageRequestManager ParserError Exception?
Posted by: | CommentsRecently i was developing some AJAX enabled web page ( aspx) having update panel in it, almost entire development has been finished. Suddenly i got this following error.
Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. Details: Error parsing near ‘<HTML><HEAD><TITLE><’.
So it’s always difficult to find fix to these type of errors, But some how i managed at the right time. so thought of sharing the solution & the way how i moved towards solution.
Exported Excel sheet is not opening in IE new window?
Posted by: | CommentsRecently i was working on a task to export my reports in excel format, i found that my exported excel sheets are not opening in new browser window or in excel window , they are opening in the same page itself where i clicked the button to export data to excel sheet. I Googled the problem, i didn’t find any promising solution at all. Later i tried the same functionality in my friend’s machine there it’s working fine. Then i thought there was some thing with settings of the client machine which are making my excel to open in the same window Here is the setting which made my Exported excel sheet to open in the same browser window.