Click here to Skip to main content
15,903,175 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: visiability a panel in masterpage Pin
Brij7-Aug-08 20:41
mentorBrij7-Aug-08 20:41 
AnswerRe: visiability a panel in masterpage Pin
janakinandhu7-Aug-08 23:14
janakinandhu7-Aug-08 23:14 
AnswerRe: visiability a panel in masterpage Pin
Guffa8-Aug-08 3:54
Guffa8-Aug-08 3:54 
QuestionDial Phone number from window form in .net Pin
Milind Panchal7-Aug-08 20:21
Milind Panchal7-Aug-08 20:21 
AnswerRe: Dial Phone number from window form in .net Pin
Abhijit Jana7-Aug-08 20:35
professionalAbhijit Jana7-Aug-08 20:35 
Questionshowing item of generic list in a gridview Pin
strawberrysh7-Aug-08 20:17
strawberrysh7-Aug-08 20:17 
QuestionError Handling and page Pin
Sasmi_Office7-Aug-08 20:07
Sasmi_Office7-Aug-08 20:07 
AnswerRe: Error Handling and page Pin
Abhijit Jana7-Aug-08 20:43
professionalAbhijit Jana7-Aug-08 20:43 
if you have any method where you didnt handle Exception , using Try , Catch then you have to handle the Error using Following way

1. Page Level

if you handel exception in page level there is a event Page_error where you can handle.

void Page_Error(Object o,EventArgs e)
  {
   // Handel your exception here.
  Trace.Write("Error Message " + Server.GetLastError());
  Server.ClearError();
  }


Note : You can print this Error in any conrols, because from Page_Error Event you dont have any access of any control

2. Application Level:

in Gloabl.asax , ther is and event which fires when any application level error happen.

void Application_Error(object sender, EventArgs e)
    {
        // Code that runs when an unhandled error occurs
        
    }


Hope this clear your doubt.

cheers,
Abhijit

GeneralRe: Error Handling and page Pin
Sasmi_Office7-Aug-08 21:53
Sasmi_Office7-Aug-08 21:53 
AnswerRe: Error Handling and page Pin
Abhijit Jana7-Aug-08 22:41
professionalAbhijit Jana7-Aug-08 22:41 
Questionhow to select/deselect all checkboxes in grid? Pin
balaji.t7-Aug-08 18:51
balaji.t7-Aug-08 18:51 
AnswerRe: how to select/deselect all checkboxes in grid? Pin
Abhijit Jana7-Aug-08 19:04
professionalAbhijit Jana7-Aug-08 19:04 
GeneralRe: how to select/deselect all checkboxes in grid? Pin
balaji.t7-Aug-08 20:47
balaji.t7-Aug-08 20:47 
GeneralRe: how to select/deselect all checkboxes in grid? Pin
Abhijit Jana8-Aug-08 2:13
professionalAbhijit Jana8-Aug-08 2:13 
AnswerRe: how to select/deselect all checkboxes in grid? Pin
balaji.t7-Aug-08 20:13
balaji.t7-Aug-08 20:13 
AnswerRe: how to select/deselect all checkboxes in grid? Pin
janakinandhu7-Aug-08 22:03
janakinandhu7-Aug-08 22:03 
QuestionLeftdiv hide and rightdiv appear in whole page [modified] Pin
Member 38798817-Aug-08 18:28
Member 38798817-Aug-08 18:28 
AnswerRe: Leftdiv hide and rightdiv appear in whole page Pin
Brij7-Aug-08 18:47
mentorBrij7-Aug-08 18:47 
GeneralRe: Leftdiv hide and rightdiv appear in whole page Pin
Member 38798817-Aug-08 18:58
Member 38798817-Aug-08 18:58 
QuestionASP.NET Active Directory Pin
Socheat.Net7-Aug-08 17:13
Socheat.Net7-Aug-08 17:13 
AnswerRe: ASP.NET Active Directory Pin
Abhijit Jana7-Aug-08 18:14
professionalAbhijit Jana7-Aug-08 18:14 
GeneralRe: ASP.NET Active Directory Pin
Socheat.Net7-Aug-08 18:21
Socheat.Net7-Aug-08 18:21 
GeneralRe: ASP.NET Active Directory Pin
Abhijit Jana7-Aug-08 18:26
professionalAbhijit Jana7-Aug-08 18:26 
AnswerRe: ASP.NET Active Directory Pin
Brij7-Aug-08 18:25
mentorBrij7-Aug-08 18:25 
GeneralRe: ASP.NET Active Directory Pin
Socheat.Net7-Aug-08 18:31
Socheat.Net7-Aug-08 18:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.