Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 26th, 2010, 07:32 PM
Authorized User
 
Join Date: Apr 2010
Posts: 15
Thanks: 8
Thanked 0 Times in 0 Posts
Red face Things that work for Firefox but not for Google Chrome

Hello,
I'm a new reader, purchased the book just a month ago..
I have a question regarding the Try It Out in chapter 4,page 105 (printed 105 page and not the adobe reader page 105).

So I've added the controls TextBox, Button, and Label as instructed.
when Button is clicked this code will be fired:
Code:
   Label1.Text = "Your name is" + txtName.Text;
According to the Try It Out-phase 9 and 10:the source of the page (presented in the browser) before entering my name to the textbox and click the Button, should be different from the source of the page after doing so.

Thing is, that its true for firefox, but not for google chrome (source is the same as before).

Is it a problem of the chrome that should be fixed by Google? or is it something solvable with some settings configurations?

10X for any reply people...
 
Old April 27th, 2010, 02:38 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Are you saying that you do see your name in the text box after a post back but not in the source? Can you post the code you do see there? And are you sure the page really posted back to the server?

Cheers,
Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old April 27th, 2010, 02:43 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Oh, I see what you're saying now.

Not a real problem though. Apparently, Chrome chooses to display the original source instead.

To see the modified source, right-click the page in Chrome, choose Inspect Element and then expand Body | Form | and then the thrid div element. In there, you'll see the input control with its value set.

If you don't see it, don't worry. This isn't too important. The exercise isn't about the differences between the various browsers, but about how ASP.NET Forms work. Running the example in Firefox demonstrates that more than OK...

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
stormage (April 27th, 2010)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Css layout not work well in Firefox kumiko CSS Cascading Style Sheets 0 March 31st, 2008 10:27 AM
CMS doesn't appear to work with Firefox 1.5 abel714 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 September 18th, 2006 10:45 AM
Why does this work in Firefox but not in IE???? Ov1 Javascript 2 August 11th, 2006 05:47 AM
code in CH11 not work in FireFox din BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 2 January 18th, 2006 09:21 PM
onMouseOver does not work in FireFox crmpicco Javascript 23 November 9th, 2005 11:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.