p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning Microsoft Visual Basic 2010 (http://p2p.wrox.com/forumdisplay.php?f=557)
-   -   chapter 18 ASP.NET anomaly. (http://p2p.wrox.com/showthread.php?t=80380)

Syex August 4th, 2010 07:21 PM

chapter 18 ASP.NET anomaly.
 
Hello. I recently Borrowed this particular book from the library. (ISBN 978-0-470-50222-8 to make sure it's the right book.) I'm not a programmer, however, I do have a mild interest in the subject, often scratching the surface of different languages but never going too far past the 'hello world' examples.

Anyway, I decided to have a go at the simple web page on page 558. However, things didn't go as smoothly as I would have liked. The problems started at paragraph 7. If anyone here can help solve these problems i'd be happy. [8D]

Within this paragraph look for the following sentences:

1.'Create an event handler for the HTML input (Button) and add a title to the page.' Ok, I think I did this.

2.'On the tag navigator, click Source to change to HTML view.' I couldn't find a HTML view button although the code above was html... I'm not sure what's going on here.

No html view:
http://i231.photobucket.com/albums/e...fault_aspx.jpg

3.'In the client Object & Events combo box, choose btnClient.' Where the heck is the 'client Object & Events combo box'? I can't even find it on the internet never mind in this program! [:confused:]

4.'Next, select onclick in the event combo box'... What and where the heck is the 'event combo box'? I'm not sure it even exists! [:(!]

The downloaded help dosen't work, even though the help page shows locally installed files.

Installing help:
http://i231.photobucket.com/albums/e...nstallhelp.jpg

Grayed out!:
http://i231.photobucket.com/albums/e...elocalhelp.jpg

Someone else is having a similar problem here with s2005:

http://p2p.wrox.com/book-beginning-v...web-forms.html

Who writes this stuff! [?]

Regards

Syex

Imar August 6th, 2010 12:19 PM

Quote:

click Source to change to HTML view.' I couldn't find a HTML view button
If your quote is correct, It says click Soure to switch to HTML so I am not sure why you are looking for an HTML button? The code you see (with the HTML / markup is called HTML view which you got after you clicked the Source button..

Quote:

Where the heck is the 'client Object & Events combo box'?
If you're in HTML view, you should see two drop down lists right above the code editor (the HTML view), provided you're working with the right document type. What type of page do you have open?

Quote:

What and where the heck is the 'event combo box'?
Same story: above HTML view, next to the Client Object and Events combo

Quote:

Who writes this stuff! [?]
Authors, typically. I am not sure I understand your problems exactly. Everything you've quoted makes perfect sense to me within Visual Studio. Looks like you or the book missed some important basics.

Cheers,

Imar

bnews987 August 7th, 2010 10:34 AM

Did you do any other chapters in the book or did you just start on this example? If you look at the previous chapter, page 546 Figure 17-19 or 17-20 you can see the Client Objects and Events combo box in those figures. I am not really sure I understand what is going on here so any more detail would make it easier to help you. Bryan

Syex August 8th, 2010 06:53 AM

Thanks Imar. I'm working on a default.aspx page as in the example in the book. Your right about the source view, must have been a mental block, now that i've slowed down a bit, It's clear as day!
However, I still don't see two drop down lists right above the code editor (the HTML view), with the combo boxes in. I've had a look at p.546, I'll study this chapter.

By the way, could someone help out with the 'help' problem? The fact that I can't use offline help as described in original post. [;)]

I'll keep going and let you know how I get on. Thanks for help so far.

Syex

Imar August 8th, 2010 07:25 AM

I don't have the book so I can't help you with the Help stuff.

I just compared VS 2008 and VS 2010, and I do see the Client Objects drop down in 2008, but not in 2010.

Turns out it's hidden by default in VS 2010 when you choose the Web Developer profile. You can turn it on like this:

1. Choose Tools | Options
2. Expand Text Editor | HTML | General (you may need to enable Show all settings to see this item)
3. Check off the "Navigation Bar" item.

Hope this helps,


Imar

Syex August 9th, 2010 06:20 AM

Thanks Imar, that solved the problem. [:)]

The help problem has also fixed itself, I can add content using help manager. So all good there. Now i'm gonna finish the web page, which dosen't really do anything! [:o)]

It's all part of the learning process.

Syex

Syex August 9th, 2010 06:27 AM

Success! The client and server buttons work. Until next time...
[8D]


All times are GMT -4. The time now is 04:55 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.