Skip to main content
Home Forums Silverlight Programming Report a Silverlight Bug Tab press on datagrid shifts its focus to browser adress bar.
4 replies. Latest Post by balukr54 on November 4, 2008.
(0)
balukr54
Member
124 points
143 Posts
11-04-2008 12:29 AM |
Hi
I am getting a bug in inline editing.If the user is editing a cell and press tab to move to next cell the mouse control shifts to browser address bar and the row being edited disappears. Is there any workaround for this issue.I am using silverlight 2.0
How can i prevent the control being shifted to adress bar on tab press.
Escape, enter key all are working fine.
Please help
thanks
Balu
mr.saif
417 points
147 Posts
11-04-2008 5:15 AM |
can you past your code here!
11-04-2008 5:45 AM |
Hi Saif.
here is code .
i Got a workaround by setting the tabindex to -1;//issue is tabnavigation is disabled.
private void dgRecordTypes_PreparingCellForEdit(object sender, DataGridPreparingCellForEditEventArgs e)
{
e.EditingElement.LostFocus +=
}
//update record list here and aasign to datagrid
dgRecordTypes.ItemsSource = recordList;
11-04-2008 9:04 AM |
currently tab navigation does not work in datagrid child controsl(textboxs). We might have to wait for next release
"Mark this post as anwer if it helps"
11-04-2008 9:15 AM |
Hi saif
In my appliction i got 4 datagrid. in 3 of them tab is working fine...
but for one i am getting the error.I dont know why its not working.
i am populating all in same manner.
thanks.