Hi everybody. I'm having a problem with a lesson from a book. According to the book I was supposed to "Set the ContentPlaceHolder control to Create Custom Content from the Common Content Tasks rollout menu in my project. I get Content Tasks instead of Common Content Tasks. When I click the rollout menu I get "Content Tasks/Default to Master's Content". There's no mention of "Create Custom Content". I'm using Visual Studio 2008 standard. This is a VB/ASP.Net project. If this has something to do with my VS being standard; how to I accomplish this in code? Or is there something missing as far as you folks can tell?
could the book be "Mastering Microsoft Visual Basic 2008 "?
you shoul change your profile to accept pm (private messages)...
Now, that is a student task. Note that a lot of people in developers forums do not like student task. If instead we stumble on someone that is a worker and a newby and is trying to make his day but do not know how to add a contentPalceHolder to a masterpage, well, that is a completely different perspective...
in design view, having your masterpage.master in front of you, after clicking everywhere you want on an empty space of the master itself (to say: not having a contentplaceholder selected), the easiest way to add a "custom contentplaceholder" is to point at standard controls in your toolbox and doubleclick the ContentPlaceHolder control.
To tell the truth, I do prefer to look at Source, copy the default Content2 (the first is for the header), and rename it by hand...
Never heard of a "Common Content Tasks" in any rollout menu inside Visual Studio, but seems as if you have it in Microsoft Expression Web and with some SharePoint controls (web parts), so it might be the author made a bit of confusion, or it was using a different version of the editor (many books are written using a beta version of the tool, when menus can differ from final release) or it might be I never used it and it is there, somewhere, waiting for me to discover out this -for sure- useful feature...let me know if you find it.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
I didn't think I had to do anything to be able to receive private messages. I went to my profile to try to make it so. I can't find whatever it is that i need to be able to recieve PMs. What's the path? Anyway yes the book is Mastering Visual Basic 2008. Thanks for the info.
under the Codeguru logo, under the path to the question and the welcome message, you have a menubar (I see it with wite forecolor and "grey to brown" backcolor) where you can read:"User CP FAQ .... Log Out"
You should click on User CP and then look to see if you have a new series of links to your left, where you should, among others, see the , under "Settings and Options" the "Edit Options" link.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
Now, that is a student task. Note that a lot of people in developers forums do not like student task.
That may seem to be the case. I think the real problem is to see a person asking for help when they have not put any effort into it themselves. In many cases they've not even bothered to do a quick search on Google, read the documentation or even ask a tutor (if they are students). Perhaps some people assume that they must be students wanting help with homework...
By the way my original question IS work related. Indirectly it is. I'm working on an ASP.Net project which I'm getting paid for. But ASP.Net is out of my comfort zone. So I'm working on a small learning project to get familiar with the basics before I start the real project. So in the end the question relates to a paid project. And I for one make an effort and exhaust all my available resources including search engines before turning to the forums for help. All though once I did ask about something that I later learned was in a book I just recently bought that I didn't get a chance to look at. A lot of the responses I've seen on this forum for most asked questions are professionally helpful. But I've seen a few crazy solution answers also. I once read that to find out if a record did not exist you should select the record in question and trap the error at the database THEN you would know that the record did not exist and your application will be informed. I had to bite my lip when I read that. I think most people throw their hands up in the air after they gave it a fair shot on their own. But for those who don't; well it's their call if they want to be spoon fed. If a student just wants their homework questions asked on a forum I personally wouldn't mind helping out if I could. Again that's just me.
Fair points viperbyte. It is easy to mis-judge people on a forum like this. ASP.NET has its own (not very steep) learning curve and I wish you all the best in your project. I agree partially on the homework. I'm prepared to help but I'm not prepared to do the whole thing for free... Those that ask for the latter are in danger of deceiving themselves and their tutors/colleges that they have grasped what is being taught and I'd rather not be party to that...
It might be due to the fact I am also a teacher but always feed the student inside me.
In any case, I usually try to help students (if I have time), but normally also try to give them a solution or a hint that should make them study a bit more...
This case is special. Lesson here is: not all you read is always fine. And that is why we all must read a lot and develope and experiment even more
Last edited by Cimperiali; April 10th, 2010 at 06:20 PM.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.