zoukankan      html  css  js  c++  java
  • 一些有用的DNN方法

    Components\Shared\ClientAPI.vb

    ''' -----------------------------------------------------------------------------
    ''' <summary>
    ''' Adds client side body.onload event handler 
    ''' </summary>
    ''' <param name="objPage">Current page rendering content</param>
    ''' <param name="strJSFunction">Javascript function name to execute</param>
    ''' <remarks>
    ''' </remarks>
    ''' <history>
    '''     [Jon Henning]    8/3/2004    Created
    '''        [Jon Henning]    4/25/2005    registering dnn namespace when this function is utilized
    ''' </history>
    ''' -----------------------------------------------------------------------------
    '''
    '''加载到客户端Body的事件处理中

    Public Shared Sub AddBodyOnloadEventHandler(ByVal objPage As Page, ByVal strJSFunction As String)

    ''' -----------------------------------------------------------------------------
    ''' <summary>
    ''' Allows any module to have drag and drop functionality enabled
    ''' </summary>
    ''' <param name="objTitle">Title element that responds to the click and dragged</param>
    ''' <param name="objContainer"></param>
    ''' <remarks>
    ''' This sub also will send down information to notify the client of the panes that have been defined in the current skin.
    ''' </remarks>
    ''' <history>
    '''     [Jon Henning]    8/9/2004    Created
    ''' </history>
    ''' -----------------------------------------------------------------------------
    '''允许容器拖拽

    Public Shared Sub EnableContainerDragAndDrop(ByVal objTitle As Control, ByVal objContainer As Control, ByVal ModuleID As Integer)

    '''设置图片属性
    Private Shared Sub SetImageProperties(ByVal objControl As Control, ByVal strImage As StringByVal strToolTip As StringByVal strAltText As String)

    '''设置控件属性,支持web form 控件与 Html控件
    Private Shared Sub AddAttribute(ByVal objControl As Control, ByVal strName As StringByVal strValue As String)
    '''设置控件样式
    Private Shared Sub AddStyleAttribute(ByVal objControl As Control, ByVal strName As StringByVal strValue As String)
  • 相关阅读:
    巨蟒python全栈开发-第17天 核能来袭-成员
    常用Git命令大全思维导图
    Android传递Bitmap的两种简单方式及其缺陷
    功能强大的图片截取修剪神器:Android SimpleCropView及其实例代码重用简析
    Package pdftex.def Error: PDF mode expected, but DVI mode detected!
    Android第三方开源图片裁剪截取:cropper
    Android第三方文件选择器:aFileChooser
    Android实现ViewPager无限循环滚动回绕
    AndroidTreeView:Android树形节点View
    Android DynamicGrid:拖曳交换位置
  • 原文地址:https://www.cnblogs.com/GDLMO/p/1008622.html
Copyright © 2011-2022 走看看