一些有用的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() 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()Sub EnableContainerDragAndDrop(ByVal objTitle As Control, ByVal objContainer As Control, ByVal ModuleID As Integer)

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

/**/'''设置控件属性,支持web form 控件与 Html控件
Private Shared Sub AddAttribute()Sub AddAttribute(ByVal objControl As Control, ByVal strName As StringByVal strValue As String)
/**/'''设置控件样式
Private Shared Sub AddStyleAttribute()Sub AddStyleAttribute(ByVal objControl As Control, ByVal strName As StringByVal strValue As String)

转载于:https://www.cnblogs.com/GDLMO/archive/2007/12/21/1008622.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值