Interesting thing is that breakpoints doesn’t work for User Controls in asp.net but you could still do the debugging if you write debugger; keyword before the line where you want to set the breakpoint. The visual studio will automatically detect this keyword in your code and would pause the execution at that line in debug mode.
But in my case even the debugger keyword was not working. Whenever visual studio designer used to encounter this keyword, VS used to halt at the first line of page’s markup (pagename.asps[dynamic]), and by this I could not find that exactly which of my debugger statement got hit.
The issue seems to be of the page’s temporary file/markup generated by VS.
I deleted the website’s .pdb file from project’s bin folder and things started working.
Hope this information would help someone other there in coding world.
Use $(document).ready feature of JQuery as belows:
// your code here
this._form is null or not an object
Because of this error all my AJAX controls and page postback stopped working.
Finally searching on the internet i found the cause and cure of this problem.
Here the closing of script tag is not correct, through its an empty tag but somehow it needs to be closed as a old fashioned way, like done below:
Preloading means loading an object (graphics, text, movie) before showing it to output.
A good example is of preloading in flash files, when you see a loader before displaying the content, and after loading site shows a smooth experience of flow of data.
This is mostly used when there is an mouser over images to be loaded. If user mouse overs an image and then you loads the new mouse-over image it may take a few seconds to load, which leads to a small blank image over the image area. By pre-loading the image you can show mouseover image instantly without any delay.
We have to use the Head tag of html as this is the one which loads on first page executiution.
pic1= new Image(190,53);
pic2= new Image(190,53);
The above code lods two images naming productSmall.gif and storeSmall.gif respictively from images directory. It creates a new object of image and assigns it a dimention and a file to load.
The document.imags condition has been used to determine that the browser supports the images or not.