您目前尚未登陆,请选择【登陆】或【注册
首页->全站代码->DotNetNuke04.08.03免安装版项目源码>>Library/Controls/SectionHeadControl.vb>>代码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:DotNetNuke04.08.03免安装版项目源码


当前文件路径:DNN/Library/Controls/SectionHeadControl.vb 文件类型
普通视图
		            
1' 2' DotNetNuke?- http://www.dotnetnuke.com 3' Copyright (c) 2002-2008 4' by DotNetNuke Corporation 5' 6' Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 7' documentation files (the "Software"), to deal in the Software without restriction, including without limitation 8' the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and 9' to permit persons to whom the Software is furnished to do so, subject to the following conditions: 10' 11' The above copyright notice and this permission notice shall be included in all copies or substantial portions 12' of the Software. 13' 14' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 15' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 16' THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 17' CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 18' DEALINGS IN THE SOFTWARE. 19' 20Imports System.IO 21 22Namespace DotNetNuke.UI.UserControls 23 24 ''' ----------------------------------------------------------------------------- 25 ''' <summary> 26 ''' SectionHeadControl is a user control that provides all the server code to allow a 27 ''' section to be collapsed/expanded, using user provided images for the button. 28 ''' </summary> 29 ''' <remarks> 30 ''' To use this control the user must provide somewhere in the asp page the 31 ''' implementation of the javascript required to expand/collapse the display. 32 ''' eg: 33 ''' function __dnn_SectionMaxMin(img, objID) { 34 ''' //implemenation code 35 ''' .... 36 ''' } 37 ''' where __dnn_SectionMaxMin is the name of function, that is supplied 38 ''' in the Attribute/Property javaScript. 39 ''' </remarks> 40 ''' <history> 41 ''' [cnurse] 9/7/2004 Created 42 ''' </history> 43 ''' ----------------------------------------------------------------------------- 44 Public Class SectionHeadControl 45 Inherits System.Web.UI.UserControl 46 47Controls 54 55Private Members 66 67Public Properties 259 260Event Handlers