when we want to attach double click event on asp.net listbox we can make by using javascipt.
protected void Page_Load(object sender, EventArgs e)
{
if (Request["__EVENTARGUMENT"] != null && Request["__EVENTARGUMENT"] == "myListBox_Dblclk")
{
//your code to perform task or to call desired function
}
myListBox.Attributes.Add("ondblclick", ClientScript.GetPostBackEventReference(myListBox, "myListBox_Dblclk"));
}
by: Rajesh Rolen
Attach double click event on listbox in asp.net
Posted by
Rajesh Rolen
at
Wednesday, July 21, 2010
Labels: ASP.NET , java script
0 comments:
Post a Comment