Author Archives: jinweijie

Fix IE Blocking iFrame Cookies Problem

For security reason, Internet Explorer block the cookie manipulation of a page when the page is inside an iframe. This is really ridiculous because the two frames are totally two different sites and the security policy has already block the dom operation between the two frames. Why block the cookie operation inside the iframe itself?… Read More »

IE在ssl下CacheControl问题

今天碰到一个问题,IE在ssl(https)环境下,下载文件,会出现如下错误信息: “Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later.” 查了一下KB (http://support.microsoft.com/default.aspx?scid=KB;EN-US;q316431&),原来是IE的一个bug,在2007年的时候已经有了,但微软到现在还没修复,唉~ 原因大致是这样的: 在ssl下,ie强制no-cache,如果no-cache已经在header里存在了,那么ie就不缓存文件了,所以文件找不到。(好莫名的说法啊) 尝试在下载页面里设置Response.CacheControl, 没有效果。最后,索性调用Response.ClearHeaders();,把Header全部清空,然后再设置Content-Type等属性,问题解决。

ASTreeView 1.4.0 Release Notes

ASTreeView has been updated to version 1.4.0, you may download athttp://www.astreeview.com/download/astreeview-1.4.0.zip New Features: 1. Virtical Drag and Drop Nodes     If you use ASTreeView as a list, you can set EnableHorizontalLock=true, then the end user can only move the nodes up and down, not left or right, screenshot: Visit online demo.  2. Fixed Drag and… Read More »

ASTreeView 1.3.0 Release Notes

Just back from a trip to Santorini, Barcelona and Athens. 🙂 More photos at: http://www.jinweijie.com/europetrip2009 Back to the topic, the ASTreeView has been updated to 1.3.0, you may download at: http://www.astreeview.com/astreeviewdemo/Download.aspx New Features: 1. Html as TreeNodeText supported.     In the new version, you may use html as tree node text, not only plain text.… Read More »

ASTreeView 1.2.2 Release Notes

ASTreeView 1.2.2 released. You may download it now from: http://www.astreeview.com/astreeviewdemo/Download.aspx Here is a list of the new features added and bugs fixed: New Features: 1. Themes     ASTreeView now supports themes! Developer can easily create his own theme for the treeview. Check out the demo. 2. Right-To-Left support     ASTreeView now supports rtl display, thank… Read More »

ASTreeView 1.1.2 What’s New

I registered a domain for ASTreeView: www.astreeview.com This domain will be only used for ASTreeView, updates, demos, blogs. It can be regarded as the official site. 😀 online sample: http://www.astreeview.com added two new features: 1. Extending ContextMenu Now it is possible to add your customized ContextMenu Items to the menu. A screenshot: Online demo: http://www.astreeview.com/astreeviewdemo/ASTreeViewDemo3.aspx… Read More »

ASTreeView 1.1.1 Released

The new version of ASTreeView includes: Some bugs fixed: In DropdownTreeView, the RequiredValidator cannot be disabled. Javascript error when ajax request failed. Tree line does not display correctly after move the last node. Initialization of the treeview may cause js error if in the low bandwidth. New features: Add Sever-Side ExpandAll, CollapseAll, ExpandTo(depth) Methods. Add… Read More »

ASTreeView: Resolve confliction with jQuery

Thanks xiaot for reporting this issue that if jQuery is included in page, it conflicts with the ASTreeView. To resolve this issue, we can use the noconflict method of the jQuery: <script src=”jquery-1.3.2.js”></script> <script type=”text/javascript”> var J = jQuery.noConflict(); </script> Now $("#foo") will be J("#foo") and it will not conflict with the ASTreeView. I’ll update… Read More »

Visual Studio的Solution Explorer 当前文件激活问题

今天在写程序的时候突然发现Visual Studio 2005的Solution Explorer不高亮当前文件了,也就是说不知道当前编辑的文件在Solution Explorer的哪个位置了,之前在VS2003也碰到过这个问题,还以为是VS2003坏了。 不高亮当前文件让人比较不爽,所以决定解决这个问题。 原来,在VS的options里有这样一个设置: Project and solutions > General > Track Active Item in Solution Explorer 将它勾上就好了,呵呵。