ConvincingMail - Email Marketing SoftwareConvincingMail
 
Email Marketing Software

Welcome Guest Search | Active Topics | Members | Log In | Register

how to register OnClientItemOver event in your source code Options · View
Alan
Posted: Tuesday, August 12, 2008 6:16:40 AM
Rank: Guest
Groups: Guest

Joined: 11/18/2007
Posts: -328
i've added in AdvancedAutoSuggestBehavior.js and AdvancedAutoSuggestExtender.cs,but it isn't work, please tell me what i do to register OnClientItemOver event in your source code
add_itemOver : function(handler) {
/// <summary>
/// Add an event handler for the itemOver event
/// </summary>
/// <param name="handler" type="Function" mayBeNull="false">
/// Event handler
/// </param>
/// <returns />
this.get_events().addHandler('itemOver', handler);
},
remove_itemOver : function(handler) {
/// <summary>
/// Remove an event handler from the itemOver event
/// </summary>
/// <param name="handler" type="Function" mayBeNull="false">
/// Event handler
/// </param>
/// <returns />
this.get_events().removeHandler('itemOver', handler);
},
raiseItemOver : function(eventArgs) {
/// <summary>
/// Raise the itemOver event
/// </summary>
/// <param name="eventArgs" type="AjaxControlToolkit.AutoCompleteItemEventArgs" mayBeNull="false">
/// Event arguments for the itemOver event
/// </param>
/// <returns />

var handler = this.get_events().getHandler('itemOver');
if (handler) {
handler(this, eventArgs);
}
}



/// <summary>
/// Handler to attach to the client-side itemSelected event
/// </summary>
[DefaultValue("")]
[ExtenderControlEvent]
[ClientPropertyName("itemOver")]
[Description("JS function to call when item is over")]
public string OnClientItemOver
{
get { return GetPropertyValue("OnClientItemOver", string.Empty); }
set { SetPropertyValue("OnClientItemOver", value); }
}
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.084 seconds.