@Nadal that was it, one method in my code was inputting a wrong parameter, after I checked the value it was returning I found it didnt give the proper value so when I did enter the proper value I no longer got the error! thanks
the error is a JS error: Microsoft JScript runtime 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 '<script type='text/j'.
@ircmaxell i already know how to check if its an image. I made a working example, only thing left is I want to allow users to upload excel sheets too...
how can I allow my users to submit anything but a script file like a .php file...An excel file and image screen shot are all they would usually submit in a form...
i suppose that might work but the extra trouble or time id spend on it wouldnt be worth it, my users are mainly the team so i can expect them to be sensible
there is an api I am using and its devs are shitty...once I submit a form using the API it redirects me to an ugly page with xml reports showing....they have a "technician" working on it....I prefer just redirecting...