iFrame & Modal PopUp
Undesired Behaviour: I tried to call a ASP.Net Ajax Modal Popup from master page code and child page has got one HTML iFrame. Modal Popup didn’t appear while the code was executed. Fix: Add...
View ArticleSimulating Button Click() Event in Firefox
We cannot directly simulate click event in Firefox. Add the following code to register mouseclick event for the button. HTMLElement.prototype.click = function() { var evt =...
View ArticleIE8 renders blank sub menu items for ASP:Menu
This is a known issue. Add following CSS class to your page. .IE8Fix { z-index:100; } And, apply that CSS to your menu’s DynamicMenuStyle. <asp:Menu ID="ApplicationMenu" runat="server"...
View ArticleinnerText for Firefox
Firefox doesn’t recognise innerText property. Below is the fix. var AmountLabelControl = document.getElementById('lblAmount'); var amount; if (AmountLabelControl.textContent) { // Firefox... amount =...
View ArticleAdding external files to VS project
Sometimes, we need to include files while publishing our web application in Visual Studio. But, those files (e.g. pdf) are not published together. In that case, make sure the file is in project....
View ArticleJavaScript pageLoad() for MasterPage and ContentPage
Sometimes, we need to use pageLoad() function in both MasterPage and ContentPage to get something done. But, if we add two function with such same name, that function residing in ContentPage will be...
View ArticleVisual Studio 2008 SP1 Data Source Windows Problem
I haven’t used data source that much as I have been working on web projects for quite some time. Today, I gotta take a look at our previous Windows program and realized that nothing happened when I...
View ArticleAjax Tab Panel Disappearing in Chrome
After postback, entire Ajax Tab Panel becomes invisible in Chrome. Fix is: <compilation debug=”false” strict=”false” explicit=”true”> Credit goes to XJ.
View Article