<p>I need to export a SL DataGrid to HTML so my users can then print it. Can someone put me in the right direction?</p>

<p>Upate: After reading Rob's answer I am changing my question. Instead of Silverlight Grid to HTML, I now just want to export it to PDF. Has anyone used any 3rd party PDF generators with Silverlight?</p>

I did this and it seems to work:
Handle the
```
SelectedIndexChanged
```
for the
```
tabControl
```
.
Check if
```
tabControl1.SelectedIndex
```
== the one I want and 
call
```
textBox.Focus();
```
I'm using VS 2008, BTW.
Something like this worked:
```
```
private void tabControl1_selectedIndexChanged(object sender, EventArgs e)
{
   if (tabControl1.SelectedIndex == 1)
   {
      textBox1.Focus();
   }
}
```
```