K
kgs
I have datagrid with in a usercontrol.
I have doubleclick event tied to each row to post back
with the id of the control.
Though i get a postback on double click of the datagrid
But double click event handler is not triggered.
here is the code snipped for item bound
public void OnItemBound(Object Sender,
DataGridItemEventArgs e)
{
ListItemType itemType = e.Item.ItemType;
if (itemType == ListItemType.AlternatingItem ||itemType
== ListItemType.SelectedItem ||itemType ==
ListItemType.Item )
{
TableRow rw= e.Item;
if(dblClick!=null)
rw.Attributes["onclick"]="javascript:__doPostBack
('"+this.ClientID+"','"+Convert.ToString(e.Item.ItemIndex)
+"');";
any clues
thanks!!
I have doubleclick event tied to each row to post back
with the id of the control.
Though i get a postback on double click of the datagrid
But double click event handler is not triggered.
here is the code snipped for item bound
public void OnItemBound(Object Sender,
DataGridItemEventArgs e)
{
ListItemType itemType = e.Item.ItemType;
if (itemType == ListItemType.AlternatingItem ||itemType
== ListItemType.SelectedItem ||itemType ==
ListItemType.Item )
{
TableRow rw= e.Item;
if(dblClick!=null)
rw.Attributes["onclick"]="javascript:__doPostBack
('"+this.ClientID+"','"+Convert.ToString(e.Item.ItemIndex)
+"');";
any clues
thanks!!