|
|
Entries for October 2009
1. System.Web.Script. Serialization. JavaScriptObjectDeserializer. DeserializePrimitiveObject
After google a while, and find a lot of same errors in DNN forum without a solution. and for my case this is only happened to FF old versions.
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MRA 4.6 (build 01425))
After I up... continue reading »
min-width does not work in well IE, even with IE7 and set DOCTYPE to strict. I did not get it work. Also I donot want to use expression due to its performance. It will kill your brower. After google I found a better solution, it using pure div + css. the link is "How to Use CSS to Solve min-width Problems in Internet Explorer". It works find w... continue reading »
Posted on Tuesday, Oct 20, 2009 by Aspernet
In: CSS | 0 Comments | 535 Views |
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 »
Today we upgraded our DNN from 4.9.5CE to DNN 5.1.4CE. The upgrade process is smooth, and there is one error during upgrade. But everyting is working fine so far. The Host and Admin links changed a lot. It takes some time to get use it. The Dashboard link under Host is still there, but the control file(ascx) is not found. I have tried to fix i... 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 »
We have one project that required us to merge serval microsoft word documents into one single file. To achive this, I made a class library, which is able to merge multiple word documents into one follow some sequence. The source code is:
public class DocMerger
{
... continue reading »
Sometimes in the development process, it is necessary to run one and only one instance.
Mutex class, known as the body of each split is a synchronization primitive, it is only granted to a thread exclusive access to the shared resource.
When two or more threads simultaneously access a shared resource, the system need to use the synchronization me... continue reading »
I have added the DNN module and Skin Object for Google custom search, with Adsense support. The module and skin object are using JavaScript to trigger the search function, No form and Postback required, I am using this skin object replace the dnn core search skin object. The reason is that I only need the google search. I have disabled th... continue reading »
If you use the automatic backlinks services of "www.automaticbacklinks.com" for DNN, you will find that AB does not provide a module for DNN, and the source code they given for .net does work with DNN also. The main problem is the code provided by AB does support UrlRewriter.
So I have to write the module myself. Basicly the module should support ... continue reading »
|
|