Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

Weird buttons

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tony M - 14 Jul 2007 23:27 GMT
windows xp - vb .net - vs 2005 - web forms

I added a button to a web form today and when I went to IE to test it I got
a compiler error, something about controls needs with events!
I deleted the button1 and the code in it and double clicked on the button in
the tool bar to add another.
I went to test it and the spans across the page and looks distorted!
I added more buttons and the buttons are all distorted ?
I added new form to project and I only double clicked the button in the
toolbar and tested page and same thing.
Any ideas?

Thanks
Tony
Tony M - 16 Jul 2007 05:02 GMT
I've uninstalled VS 2005 and re-installed, same thing!

Can someone maybe take a look at

http://www.hotterthenhell.com/default2.aspx

all I did was place a button on the form and nothing else and that's how the
buttons are displaying.

If someone would like to help.
> windows xp - vb .net - vs 2005 - web forms
>
[quoted text clipped - 10 lines]
> Thanks
> Tony
Tony M - 16 Jul 2007 17:10 GMT
I figured it out so maybe someone can help me with the fix.

For some reason when I add a new page now the following statement is
included in the HTML source section. And this is the problem
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

When I change it to this seems to work fine.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

How can I change it back that when I create a new web form it inserts the
correct line of code?

Thanks

> I've uninstalled VS 2005 and re-installed, same thing!
>
[quoted text clipped - 20 lines]
>> Thanks
>> Tony

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.