摘要: 阅读全文
posted @ 2016-07-13 16:18 王鹏飛 阅读(172) 评论(0) 推荐(0) 编辑
摘要: <%@ Register TagPrefix="dnn" TagName="MENU" Src="~/DesktopModules/DDRMenu/Menu.ascx" %> 可以显示父类下的子菜单 (dropdownlist), <dnn:MENU ID="bootstrapNav1" MenuS 阅读全文
posted @ 2016-05-03 17:24 王鹏飛 阅读(144) 评论(1) 推荐(0) 编辑
摘要: 查源码发现登录按钮有参数,点击跳到登录页或者弹窗登录,真正登录后会根据传参的url反回。因为皮肤对像没有相应参数,所以只能去掉参数。我是用js去的,偷个懒吧。如下所示: 阅读全文
posted @ 2016-01-08 18:08 王鹏飛 阅读(121) 评论(0) 推荐(0) 编辑
摘要: new DotNetNuke.Common.Lists.ListController().GetListEntryInfo("DataType","Text").EntryID 阅读全文
posted @ 2015-04-01 19:43 王鹏飛 阅读(110) 评论(0) 推荐(0) 编辑
摘要: if (DotNetNuke.Entities.Profile.ProfileController.GetPropertyDefinitionByName(this.PortalId, "QQ") == null) { DotNetNuke.Entities.Profile.ProfileContr... 阅读全文
posted @ 2015-04-01 19:42 王鹏飛 阅读(160) 评论(0) 推荐(0) 编辑
摘要: xxxxxxxx.Sum(f => f.jifen).GetValueOrDefault(0) 阅读全文
posted @ 2015-03-29 16:06 王鹏飛 阅读(698) 评论(1) 推荐(0) 编辑
摘要: public static string GetProfileImage(int userId, int width, int height) { return "~/profilepic.ashx?userid=" + userId.ToString() + "&w=" + width.ToS... 阅读全文
posted @ 2015-03-28 09:48 王鹏飛 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-03-28 08:47 王鹏飛 阅读(153) 评论(0) 推荐(0) 编辑
摘要: if(!IsPostBack) { fuPhoto.Attributes.Add("onchange", "javascript:__doPostBack('" + lbUploadPhoto.ClientID.Replace("_","$") + "','')"); } 阅读全文
posted @ 2015-03-27 19:45 王鹏飛 阅读(173) 评论(0) 推荐(0) 编辑
摘要: public string fileUpload() { if (fuPhoto.PostedFile != null && fuPhoto.PostedFile.ContentLength > 0) { int _ModuleID = (this.Parent.TemplateContro... 阅读全文
posted @ 2015-03-27 19:44 王鹏飛 阅读(264) 评论(0) 推荐(0) 编辑