A month ago the drivers in my Laptop got corrupted and I’ve to call the dell helpdesk.
The call lasted for more than 2 hours (I was literally crying inside b’coz I’d a pre-paid mobile) and I was routed to 3 divisions of the call center.
Finally it was decided that the only way out is to install Factory Settings in my Laptop.
The steps are as follows:
1. Restart the machine
2. When the Machine gets booted press F8 repeatedly
3. The Screen will show many options one of them is Install Factory Settings.
Thursday, January 10, 2008
DefaultButton
In a given page we can have both a Form DefaultButton and also Panel DefaultButton.
A Panel’s DefaultButton takes high priority then the Form in that panel level.
We can’ve DefaultButton for the Form in both the Master and in the Page.
So naturally the Page’s Default Button gets precedence.
What if we’ve decided to have only Panel DefaultButton in a page but the page gets inherited from
A Master Page which has a Form DefaultButton?
Override the Master’s DefaultButton by setting the Page’s default button as null
*********************************************************************
Page.Form.DefaultButton = null;
*********************************************************************
A Panel’s DefaultButton takes high priority then the Form in that panel level.
We can’ve DefaultButton for the Form in both the Master and in the Page.
So naturally the Page’s Default Button gets precedence.
What if we’ve decided to have only Panel DefaultButton in a page but the page gets inherited from
A Master Page which has a Form DefaultButton?
Override the Master’s DefaultButton by setting the Page’s default button as null
*********************************************************************
Page.Form.DefaultButton = null;
*********************************************************************
Tuesday, January 8, 2008
Application_Error File not Found
I had an Application_Error in every page and the Server.GetLastError() was file not found.
The issue is I was unable to trace which file was not found. I even looked into Event Viewer but dint get any clue.
I googled and after a couple of hours got a solution from one of the forums.
The answer is when you do a debug and have the break point in Application_Error in Global.asax.cs now maximize the IE window of the application and see the status bar. It should show the file which the application was trying to retrieve. This is the file which was not found
The issue is I was unable to trace which file was not found. I even looked into Event Viewer but dint get any clue.
I googled and after a couple of hours got a solution from one of the forums.
The answer is when you do a debug and have the break point in Application_Error in Global.asax.cs now maximize the IE window of the application and see the status bar. It should show the file which the application was trying to retrieve. This is the file which was not found
Subscribe to:
Comments (Atom)