摘要: 先引用jqueryView Code 1 <script src="Scripts/jquery.js" type="text/javascript"></script>2 <script src="Scripts/swfobject.js" type="text/javascript"></script>3 <link href="Scripts/jquery.uploadify-v2.1.4/uploadify.css" rel=&quo 阅读全文
posted @ 2012-12-21 09:53 GLenn-Cui 阅读(288) 评论(0) 推荐(0) 编辑
摘要: window.getElementsByName = function(tag, name){// ----用于非IE浏览器-----var eles = document.getElementsByName(name);if(eles.length > 0) return eles;// ----用于IE----var eles = new Array();var e = document.getElementsByTagName(tag);for(var i = 0; i < e.length; i++){if(e[i].getAttribute("name" 阅读全文
posted @ 2012-12-03 11:42 GLenn-Cui 阅读(132) 评论(0) 推荐(0) 编辑
摘要: ConvtoBSfcodeToStr.csnamespace SilverlightApplication1{ public class ConvtoBSfcodeToStr : IValueConverter { public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { return (value.ToString().Length < 20 ? value.T... 阅读全文
posted @ 2012-08-14 15:39 GLenn-Cui 阅读(130) 评论(0) 推荐(0) 编辑
摘要: DataGrid 没有双击事件所以要自己写。看了很多双击事件 都是用time 什么的。。 好不用意找到了个简单的。自己整理记录下。xaml: <data:DataGrid x:Name="MainDataGrid" LoadingRow="Grid_LoadingRow" UnloadingRow="Grid_UnloadingRow" IsReadOnly="True"> <data:DataGrid.Columns> <data:DataGridTextColumn Binding 阅读全文
posted @ 2012-08-14 15:34 GLenn-Cui 阅读(142) 评论(0) 推荐(0) 编辑