or
foreach (ListViewItem lvi in lvPending.Items) { writer.WriteStartElement("transaction"); writer.WriteStartElement("eventId"); writer.WriteString(lvi.SubItems[0].Text); writer.WriteEndElement();//eventID writer.WriteStartElement("orderNumber"); writer.WriteString(lvi.SubItems[1].Text);
{
gv2.GridElement.VScrollBar.Value = e.NewValue;
}
void gv2_VScrollBar_Scroll(object sender, ScrollEventArgs e)
{
gv1.GridElement.VScrollBar.Value = e.NewValue;
}
Here's the problem. It works for gv1. The event never even fires for gv2. If I comment out the functioning one, the other still doesn't work. Off the top of my head, the only difference I can come up with is that gv2 is heirarchical. Any thoughts?
Thanks,
Dan
