Hi, I'm wondering if anyone has seen this before...

I wrote an aspx page that had both code and html in the same file. It worked fine. So I decided I would try and move the code to a .vb code behind file so I could link the code to multiple pages without having to edit a million pages of code to fix one issue.

So I move the code over and check dependancies and everything else and it works except for one thing.

I have a radioButtonList that is populated as I loop through a sql datareader. In the first aspx file it adds listitems once and goes onto the rest of the sub. In the vb file however, it seems to be loading everything into the RBL twice. It's as if it is reading the entire sub two times or something.

Any idea what would cause this, and how I can fix it. I'm stumped!

Thanks,
Chris