<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0">
<channel>
	<title>Programming ASP.NET 3.5 Book Forum</title>
	<description><![CDATA[O'Reilly's Programming ASP.NET 3.5 Book Forum]]></description>
	<link>http://forums.oreilly.com/index.php</link>
	<pubDate>Sun, 22 Nov 2009 20:04:55 -0500</pubDate>
	<ttl>120</ttl>
	<item>
		<title>Chapter 6</title>
		<link>http://forums.oreilly.com/index.php?showtopic=5164</link>
		<description><![CDATA[I new to programming hardcore in C# and I am trying to figure out the deal with the ListMaina program in Chapter 6.  I am having trouble figuring out how to add an id_pk so then I don't get a message about nulls in the primary key.  Anyone know whats missing in the code by chance.]]></description>
		<pubDate>Sun, 30 Aug 2009 11:36:22 -0400</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=5164</guid>
	</item>
	<item>
		<title>Ch.4 Pg 151, Checkbox Example, 4-21</title>
		<link>http://forums.oreilly.com/index.php?showtopic=5135</link>
		<description><![CDATA[The book says that each time a checkbox's value is changed, the page will post back and the text will refresh w/ the new time.<br /><br />This didn't happen when I ran the example.  The time refreshes after the initial postback, but not upon subsequent changes.  Would putting this code in the Page_Load event be more appropriate?  <br /><br />Since the server is creating Javascript to handle the clicks, it makes sense to me why the client would handle the changes without posting back to the server.  Is that in fact what is happening?]]></description>
		<pubDate>Wed, 26 Aug 2009 08:56:26 -0400</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=5135</guid>
	</item>
	<item>
		<title>Datalist: Select Item Operation (pp. 442-443)</title>
		<link>http://forums.oreilly.com/index.php?showtopic=4951</link>
		<description><![CDATA[Dear Sir,<br /><br />When I tried the operation described in the section "Selecting a record" on pp. 442 and 443 of your book, I got the following exception message from the browser:<br /><br />"Invalid postback or callback argument.  Event validation is enabled using &lt;pages enableEventValidation="true"/&gt; in configuration or &lt;%@ Page EnableEventValidation="true" %&gt; in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation."<br /><br />This message appeared when I clicked on a Select button.<br /><br />Could you please explain what is going on here and what should be done to avoid it?<br /><br />Thank you for your trouble.<br /><br />Eric]]></description>
		<pubDate>Wed, 29 Jul 2009 12:01:18 -0400</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=4951</guid>
	</item>
	<item>
		<title>Ebook</title>
		<link>http://forums.oreilly.com/index.php?showtopic=4644</link>
		<description><![CDATA[As we have brought the book, can we get the eBook? It'll be very comfortable for us to read the book as well as to code in the same computer screen... <img src="http://forums.oreilly.com/style_emoticons/default/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />]]></description>
		<pubDate>Sat, 27 Jun 2009 07:07:36 -0400</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=4644</guid>
	</item>
	<item>
		<title>Chapter 7-9: Linking Html To An Sql Db</title>
		<link>http://forums.oreilly.com/index.php?showtopic=4484</link>
		<description><![CDATA[I have successfully completed many of Chapt. 7 through 9 examples but am having difficulty identifying how to write html or asp textbox or label content to an SQL DB.  The command structure isn't clear to me nor is how to assign values programmatically to, for example, @FirstName in an INSERT string.  I've tried to use  the INSERT string below but without success.<br /><br /><br /><br />&lt;asp:SqlDataSource ID="InsertNewCustomer" runat="server" <br />            ConnectionString="&lt;%$ ConnectionStrings:AdventureWorksLT2008ConnectionString1 %&gt;" <br />            <br />            SelectCommand="SELECT [SalesLT].[CustomerID], [FirstName], [LastName], [CompanyName], [SalesPerson], [EmailAddress] FROM [SalesLT].[Customer]" <br />            <br />            InsertCommand="INSERT INTO [SalesLT].[Customer](FirstName, LastName, CompanyName, EmailAddress, SalesPerson) VALUES (N'Ronald', N'McKey, N'Rino', N'rs@hotmail.org', N'Rachel Soul')"&gt;&lt;/asp:SqlDataSource&gt;<br /><br />    &lt;/div&gt;<br />    &lt;asp:TextBox runat="server" ID="firstName"&gt;Reginald&lt;/asp:TextBox&gt;<br />    &lt;asp:TextBox runat="server" ID="LastName"&gt;Maisonneuve&lt;/asp:TextBox&gt;<br />    &lt;asp:TextBox runat="server" ID="CompanyName"&gt;Rhino&lt;/asp:TextBox&gt;<br />    &lt;asp:TextBox runat="server" ID="EmailAddres"&gt;rdm-s@hotmail.com&lt;/asp:TextBox&gt;<br />    &lt;asp:TextBox runat="server" ID="SalesPerson"&gt;Rachel Soul&lt;/asp:TextBox&gt;<br /><br />    &lt;/form&gt;<br />]]></description>
		<pubDate>Wed, 10 Jun 2009 18:04:46 -0400</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=4484</guid>
	</item>
	<item>
		<title>Tdinnerhtml Error</title>
		<link>http://forums.oreilly.com/index.php?showtopic=4088</link>
		<description><![CDATA[hello. I am trying to run html server controls on pages 100 through 101, Chapter 3. I left the second row empty giving it an ID of tdInnerHtml. However when I tried to run this example I received the following errors:<br /><br />Error	1	The name 'tdInnerHtml' does not exist in the current context	C:&#092;Documents and Settings&#092;Owner&#092;My Documents&#092;Visual Studio 2008&#092;WebSites&#092;C3_SimpleDemo&#092;HtmlServerControls.aspx.cs	22	9	C:&#092;...&#092;C3_SimpleDemo&#092;<br /><br />Line 20:         strHtml += txtStreet.Value + "&lt;br/&gt;";<br />Line 21:         strHtml += txtCity.Value + "," + txtState.Value;<br />Line 22:         tdInnerHtml.InnerHtml = strHtml;<br />Line 23: <br />Line 24:     }<br /><br />However, the ID of tdInnerHtml is there.<br /><br />Thanks in advance for your help.<br /><br />regards,<br />imatua]]></description>
		<pubDate>Thu, 23 Apr 2009 17:53:37 -0400</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=4088</guid>
	</item>
	<item>
		<title>Fontfamily.getfamilies() Not Returning All Fonts</title>
		<link>http://forums.oreilly.com/index.php?showtopic=3860</link>
		<description><![CDATA[Hello<br /><br />I have a web application from which I'm dynamically generating text graphic titles.<br /><br />I have lots of fonts on my machine, but the one I'm using in particular is Trajan Pro, an OpenType font. For some reason, this is not listed when I enumerate FontFamily.GetFamilies(). I've tried restarting IIS, and my machine in fact. However, the font is still not listed. <br /><br />Could anyone enlighten me as to how I get access to this font?<br /> <br />Ta, Mark]]></description>
		<pubDate>Fri, 27 Mar 2009 06:05:52 -0400</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=3860</guid>
	</item>
	<item>
		<title>No Session State In Httpmodule</title>
		<link>http://forums.oreilly.com/index.php?showtopic=3811</link>
		<description><![CDATA[Hello<br /><br />I'm trying to implement an HttpModule (IHttpModule) to catch pages that cannot be found and do a Server.Transfer() to a page that does exist.<br /><br />Unfortunately, it appears that in the HttpApplication events I'm wiring to, such as PreRequest or PostRequest, the session state of the current context is empty. When doing my server transfer, my pages are throwing up errors because Session is null.<br /><br />Why is this? It would seem, from the description, that PostAquireRequest state for example would have a session state to work with, but in my event handler HttpContext.Current.Session is always null. Frustrating. When does the session state actually get loaded?<br /><br />Alternatively, I thought I could trap 404s in Application_Error in global.asax, but again the session is empty in the current context. How is this usually done?<br /><br />Thanks, Mark]]></description>
		<pubDate>Sat, 21 Mar 2009 16:36:44 -0400</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=3811</guid>
	</item>
	<item>
		<title>Inner Content Of Custom Controls</title>
		<link>http://forums.oreilly.com/index.php?showtopic=3287</link>
		<description><![CDATA[Hello<br /><br />I want to create a custom control that is essentially a hyperlink with various additional attributes.<br /><br />Just a simplified example:<br /><br />&lt;cc1:MySpecialHyperlink href="~login.aspx"&gt;Click here!&lt;/cc1:MySpeicalHyperlink&gt;<br /><br />I'd like to know how to get hold of the inner text node of the control programatically from within my RenderContents method (in the example above, the 'Click here!' string).<br /><br />How's this done?<br /><br />Mark]]></description>
		<pubDate>Mon, 16 Mar 2009 15:09:49 -0400</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=3287</guid>
	</item>
	<item>
		<title>Templates</title>
		<link>http://forums.oreilly.com/index.php?showtopic=3273</link>
		<description>The templates that I get when I open a new project are different from the ones described in the book.</description>
		<pubDate>Sun, 15 Mar 2009 06:40:45 -0400</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=3273</guid>
	</item>
	<item>
		<title>Choosing Appropriate Sections Of Web.config</title>
		<link>http://forums.oreilly.com/index.php?showtopic=3211</link>
		<description><![CDATA[Hi<br /><br />I've had a good read through this book, but one thing I didn't find was an explanation of the best practice for selecting, say, the appropriate connection string or SMTP server address based on, for example, debug/release configurations, or whether the requested URL is localhost or a production server.<br /><br />Does anyone know where I can find information on best practice in this scenario?<br /><br />Regards, Mark]]></description>
		<pubDate>Sat, 07 Mar 2009 21:15:39 -0500</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=3211</guid>
	</item>
	<item>
		<title>Web Deployment Projects</title>
		<link>http://forums.oreilly.com/index.php?showtopic=3207</link>
		<description><![CDATA[Hello<br /><br />I recently bought the book Programming ASP.NET 3.5, which describes Web Deployment Projects and how to configure them. Very nice. However, I have no idea how to execute it in order to perform the actual deployment!<br /><br />How do I do this? And how do I specify the location for deployment (an http address)?<br /><br />Thanks, Mark]]></description>
		<pubDate>Sat, 07 Mar 2009 10:43:01 -0500</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=3207</guid>
	</item>
	<item>
		<title>Web Deployment Projects</title>
		<link>http://forums.oreilly.com/index.php?showtopic=3206</link>
		<description><![CDATA[Hello<br /><br />I recently bought the book Programming ASP.NET 3.5, which describes Web Deployment Projects and how to configure them. Very nice. However, I have no idea how to execute it in order to perform the actual deployment!<br /><br />How do I do this? And how do I specify the location for deployment (an http address)?<br /><br />Thanks, Mark]]></description>
		<pubDate>Sat, 07 Mar 2009 10:42:21 -0500</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=3206</guid>
	</item>
	<item>
		<title>Web Services</title>
		<link>http://forums.oreilly.com/index.php?showtopic=931</link>
		<description><![CDATA[Could I use RESTful client for all web services or only for those that are created using REST?<br /><br />Thank you<br />]]></description>
		<pubDate>Tue, 30 Dec 2008 11:41:48 -0500</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=931</guid>
	</item>
	<item>
		<title>Code-behind On Html Controls</title>
		<link>http://forums.oreilly.com/index.php?showtopic=869</link>
		<description><![CDATA[Hi,<br /><br />It's the second time at this point I'm recommended to generate a server-side event handler for an html control to which I added the runat="server" property.<br /><br />Either by going the the properties of the html control, in the event section or by double clicking the control. What's confusing me, is that despite having the runat="server" on the html control, I do not get the .NET properties/events available in the properties pane. Also, double clicking on the control in design view seem to generate the client-side onclick property (and/or a CDATA javascript section).<br /><br />It would be a convenient feature to be able to generate the code-behind server-side event handler and I assume it would be something I can adjust in visual studio?<br /><br />Thanks,<br /><br />David<br /><br />p.s. Can I expect this behavior not being that relevant, considering I might eventually only use the ASP.NET controls?]]></description>
		<pubDate>Tue, 16 Dec 2008 10:16:25 -0500</pubDate>
		<guid>http://forums.oreilly.com/index.php?showtopic=869</guid>
	</item>
</channel>
</rss>