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
3 comments:
hello there thanks for your grat post, as usual ((o:
thx, very useful
thx, very useful
Post a Comment