ASP.NET

In this asp.net section, we will talk about the asp.net technologies, asp.net tips, hacks. asp.net sample codes.
If you go to "http://sg.yahoo.com/?p=us" with Firefox 3.6 which is the latest version, you will see the following message: Why miss out? To see all the new Yahoo! home page has to offer, please upgrade to a more recent browser. Supported browsers include: Internet Explorer 7 optimized by Yahoo! ... continue reading »
My IIS suddenly does work with asp.net today, It shows me "Server Application Unavailable Error". I have tried "<WinDir>\Microsoft.NET\Framework\<Ver>\aspnet_regiis.exe -i" and "regsvr32 "<WinDir>\Microsoft.NET\Framework\<Ver>\aspnet_isapi.dll" but it does not work. After google a bit, I found it maybe user sercurity is... continue reading »
How to fix GridView's Header row while scrolling? I googled a lot, find some are using expression wich only work for IE and the performance is bad. Some are using TBody scroll, which also does not work well in all browsers. Also I found a JQuery plugin which is working very well in their demo page, but does not work for my case.  Below i... continue reading »
How to call server function using JavaScript, or How to trigger button's click event by using JavaScript. For example: You have a linkbutton in your page, and the linkbutton's click event will do something. <asp:LinkButton ID="lbtnGetDetails" runat="server" style="display:'none';" OnClick="lbtnGetDetails_Clicked" /> protected void lbtnGetDe... continue reading »
ASP.Net has 3 main Data Web Control: GridView/DataGrid, DataList, Repeater. The Repeater Web control has the greatest flexibility. The Html rendered by GridView and DataList are predefined by the .Net framework, for example some extra table and span tags. But Repeater will be strictly generate the specified Html tags, without addtional html tags. ... continue reading »
Under normal circumstances, we will only discuss/test our site is compatible with certain browsers, passively waiting for a browser compatible with our site to be unrealistic. Is there a browser smart enught to make changes for a non-compliant Web sites? IE8 is such a great browser, Microsoft is a such a great company. The story is like this, we... continue reading »
From last post: DNN DotNetNuke Viewstate Optimization, I have show you how to save the viewstate in disk by modifying the DotNetNuke framework. But there is a disadvantage, if you upgrade your DotNetNuke to a new version, you have to modify the files again. That is not the right solution, I have googled a lot and check the dotnetnuke's source file. And I foun... continue reading »
If you check DotNetNuke's home page's source, you will find that the ViewState will take a lot of space at the top of page. almost one whole page. This is not good for the SEO. Maybe Google is very smart now to handle this, but we are not sure about it. So how to remove the viewstate from the page?  In the Host Setting Page, DNN only provide 2... continue reading »
Why your dotnetnuke/asp.net web site is running slow, there are three main reasons: The internet connection is slow Your dotenetnuke hosting server is slow Your dotnetnuke is "unloaded" from memory How to solve this? Change to a faster internet connection Change your host to some better host, such as: PowerDNN Use some Keep Alive service, which ... continue reading »
Recently we have done a internal asp.net application for your Regional IT. Every thing is working fine both in out Development Server and Production Server.  But after we deployed into Client's server, we keep getting 406 Not Acceptable Error.  After some comunications with their supporter. No helpful, They just complain that it is our ap... continue reading »
Subscribe
Rss Feed Email Follow Us on Twitter
Search