webwarrior925
04-19-2007, 11:44 AM
I have a aspx page and when I double click the background it goes to the in line script in the source code. I want to change the setting so it will go to the vb page. I am using visual studio 2005. Is there any option I can turn on that will help? Thanks:)
drallab
04-20-2007, 11:58 AM
When you first create a new page (add new item) in VS2005, there is an option, a check box at the bottom of the window that reads, "Place code in separate file." If you check that when creating the new page, the page will be created with a code behind page.
I believe this would be the best option. Create a new page with the option checked and copy/paste the contents from your orignal page into the new page.
Hope that helps :)