Displaying the Error Info |
8/5/2003 4:11:19 PM |
ASPRunnerPro General questions | |
![]() When ever there is any sql error the page display the error message . however user will not understand really what is the problem. Is there any way that I can just display like this"
|
|
![]() |
Sergey Kornilov admin 8/8/2003 |
Hi, |
M
|
MaxLm 8/17/2003 |
When ever there is any sql error the page display the error message . however user will not understand really what is the problem. Is there any way that I can just display like this" Please enter information on this fiels:
|
![]() |
swat author 8/19/2003 |
For regarding input validation I guess this will work: |
M
|
MaxLm 8/19/2003 |
Hello swat: |
![]() |
swat author 8/19/2003 |
MaxLm,
|
![]() |
swat author 8/25/2003 |
This is under aspfunctions.asp page and line 527 or 529 starts with |
M
|
MaxLm 8/26/2003 |
Hey thanks again. Will try to use this one and see how goes.. |
![]() |
swat author 8/26/2003 |
I have changed my Error page completly and it is very user friendly version... let me know if you need help. |
M
|
MaxLm 8/26/2003 |
Hey Swat, I do not have a regular HTML page to put the javascripts to. I am using only ASP and gerated by ASP runner. So the pages are the standard _list.asp, _edit.asp. Where shall I put the javascripts? Should it be part of the \includes\jsfunctions or added to the .asp pages. |
![]() |
swat author 8/26/2003 |
This is under aspfunctions.asp page and line 527 or 529 starts with table to displat errors : <p align=center><font size=+1>Error happened</font></p> <table border="0" cellpadding="3" cellspacing="1" width="700" bgcolor="#000000" align="center"> <tr><td bgcolor="#ccccff" colspan=2 align=middle><font size=+1><b>Technical information</b></font></td></tr> <tr bgcolor="#cccccc"><td width="293" bgcolor="#ccccff"><b>Please Fill Following </b></td><td width="392" align="left"></td></tr> <% if Request.Form("Description")= "" then %> <tr bgcolor="#cccccc"> <td height="26" bgcolor="#ccccff"><b>Description</b></td> <td align="left">Text</td> </tr> <% end if %> <% if Request.Form("Month")= "" then %> <tr bgcolor="#cccccc"><td bgcolor="#ccccff"><b>Month</b></td><td align="left"></td></tr> <% end if %> </table> I have this for solution how to display error : <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=518&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' />
|
M
|
MaxLm 8/27/2003 |
Oh I see. I thought the js codes above before that need to be included. Thanks again. |