会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
王鹏飛
博客园
首页
新随笔
联系
订阅
管理
2016年7月13日
pengyue-form 模块 dropdown 关系联动
摘要:
阅读全文
posted @ 2016-07-13 16:18 王鹏飛
阅读(175)
评论(0)
推荐(0)
2016年5月3日
ddrmenu
摘要: <%@ Register TagPrefix="dnn" TagName="MENU" Src="~/DesktopModules/DDRMenu/Menu.ascx" %> 可以显示父类下的子菜单 (dropdownlist), <dnn:MENU ID="bootstrapNav1" MenuS
阅读全文
posted @ 2016-05-03 17:24 王鹏飛
阅读(149)
评论(1)
推荐(0)
2016年1月8日
dotnetnuke 7.x登录时不跳到站点设置中的指定页
摘要: 查源码发现登录按钮有参数,点击跳到登录页或者弹窗登录,真正登录后会根据传参的url反回。因为皮肤对像没有相应参数,所以只能去掉参数。我是用js去的,偷个懒吧。如下所示:
阅读全文
posted @ 2016-01-08 18:08 王鹏飛
阅读(128)
评论(0)
推荐(0)
2015年4月1日
dotnetnuke 获得List 属性
摘要: new DotNetNuke.Common.Lists.ListController().GetListEntryInfo("DataType","Text").EntryID
阅读全文
posted @ 2015-04-01 19:43 王鹏飛
阅读(112)
评论(0)
推荐(0)
dotnetnuke 添加用户属性 Profile
摘要: if (DotNetNuke.Entities.Profile.ProfileController.GetPropertyDefinitionByName(this.PortalId, "QQ") == null) { DotNetNuke.Entities.Profile.ProfileContr...
阅读全文
posted @ 2015-04-01 19:42 王鹏飛
阅读(165)
评论(0)
推荐(0)
2015年3月29日
Linq处理decimal字段汇总Sum()为NULL
摘要: xxxxxxxx.Sum(f => f.jifen).GetValueOrDefault(0)
阅读全文
posted @ 2015-03-29 16:06 王鹏飛
阅读(712)
评论(1)
推荐(0)
2015年3月28日
dotnetnuke 头像调用 头像缩放
摘要: 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 王鹏飛
阅读(151)
评论(0)
推荐(0)
microsoft ajax registered - to fix microsoft ajax update panel post back
摘要:
阅读全文
posted @ 2015-03-28 08:47 王鹏飛
阅读(156)
评论(0)
推荐(0)
2015年3月27日
上传控件不点按钮直接传
摘要: if(!IsPostBack) { fuPhoto.Attributes.Add("onchange", "javascript:__doPostBack('" + lbUploadPhoto.ClientID.Replace("_","$") + "','')"); }
阅读全文
posted @ 2015-03-27 19:45 王鹏飛
阅读(178)
评论(0)
推荐(0)
dnn 添加图片
摘要: public string fileUpload() { if (fuPhoto.PostedFile != null && fuPhoto.PostedFile.ContentLength > 0) { int _ModuleID = (this.Parent.TemplateContro...
阅读全文
posted @ 2015-03-27 19:44 王鹏飛
阅读(277)
评论(0)
推荐(0)
下一页
公告