 |
BOOK: Beginning ASP.NET 4 : in C# and VB
 | This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB 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
|
|
|
|
|

September 21st, 2010, 11:33 AM
|
|
Authorized User
|
|
Join Date: Sep 2010
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ajax question
why when dragging and dropping updatepanel from the toolbox, it doesn't insert contentTemplate tag ?
|
|

September 21st, 2010, 11:39 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
You should ask Microsoft as they decided on that .... ;-)
You can use the updatepanel code snippet if you want....
Imar
|
|

September 21st, 2010, 01:39 PM
|
|
Authorized User
|
|
Join Date: Sep 2010
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
i have another question. the render mode of updatepanel says that we can render it as div or as a span, what's the difference between the two of them? it's simple question but i don't know actually
|
|

September 21st, 2010, 02:01 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi Edward,
Did you consider a Google search for this? Google knows these kind of things: http://www.google.com/search?hl=en&s...l=&oq=&gs_rfai=
Cheers,
Imar
|
|

September 21st, 2010, 07:24 PM
|
|
Authorized User
|
|
Join Date: Sep 2010
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
lol sure I have searched it, but what's the difference it makes to the updatepanel?
|
|

September 22nd, 2010, 01:45 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Exactly the same difference as that between a span and a div, as that's what it renders. With a div you get a block element (with a line-break) and with a span you can use the element in-line.
Does that help?
Imar
|
|

September 22nd, 2010, 12:45 PM
|
|
Authorized User
|
|
Join Date: Sep 2010
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
aha, yes this helped to clear things out :) excuse my silly question :) thanx alot 
|
|
 |
|