<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Form Basics</title><link>http://www.asp.net</link><pubDate>Fri, 10 May 2013 10:24:25 GMT</pubDate><generator>umbraco</generator><description>Comments for Form Basics</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/38475" rel="self" type="application/rss+xml" /><item><title>Comment Posted by mr0520</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Sun, 27 May 2012 15:36:09 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015605</guid><description><![CDATA[ <p>There is a bug in the code for this tutorial.  When the search returns more than one page of data, clicking on the little arrow to go to the next page results in the page refreshing and listing all the movies again, instead of just listing the movies that contain the search term. What is the most efficient way to correct this bug? </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/mr0520.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mikepope</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Mon, 28 May 2012 22:05:15 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015614</guid><description><![CDATA[ <p>@mr0520, that&#39;s an excellent catch. Mike Brind has a possible solution on his blog that involves making jQuery calls instead of using a normal POST to submit the search  term. You can find his writeup here:</p><p></p><p><a rel="nofollow" href="http://www.mikesdotnetting.com/Article/180/Displaying-Search-Results-In-A-WebGrid" target="_blank">www.mikesdotnetting.com/</a></p><p> </p><p>(continued ...)</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mikepope.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mikepope</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Mon, 28 May 2012 22:07:33 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015615</guid><description><![CDATA[ <p>An alternative is to rebuild the search logic so that search values are passed as query string variables. I&#39;ll update the tutorial to show this in the next day or two.</p><p></p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mikepope.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mikepope</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Tue, 29 May 2012 13:32:44 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015622</guid><description><![CDATA[ <p>mr0520 -- I&#39;ve updated the tutorial. The genre and title search now uses a GET request, which plays nicely with WebGrid paging. Let me know if this doesn&#39;t fix the issue for you.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mikepope.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Davidoff</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Sat, 09 Jun 2012 10:43:01 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015733</guid><description><![CDATA[ <p>First of all, thank you for this very well done tutorial. I&#39;m discovering programming using Razor and Web Pages and feel very much excited about it.</p><p></p><p>There is something that doesn&#39;t work as expected and I cannot figure out why:</p><p></p><p>In the section before &quot;Combining the queries&quot;, where we are supposed to get an exclusive search, I have already a combined search: if something is filled in the Title field and in the Search field, results only show a combination of both.</p><p></p><p>Can you explain ?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Davidoff.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by muralidharan.d</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Mon, 11 Jun 2012 08:07:54 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015745</guid><description><![CDATA[ <p>Mike,</p><p>Can I use Stored procedures instead of using inline queries ?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/muralidharan.d.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mikepope</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Tue, 12 Jun 2012 18:05:15 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015756</guid><description><![CDATA[ <p>@muralidharan.d: Yes, but only if use a database that supports SPs. SQL Compact  (which comes with WebMatrix) does not. StackOverflow has an example of how. Basically, you use the db.Execute method. For Database.Open, you must pass the name of a connection string that points to a database that supports SPs. </p><p></p><p><a rel="nofollow" href="http://stackoverflow.com/questions/3720113/webmatrix-and-stored-procedures" target="_blank">stackoverflow.com/</a></p><p></p><p><a rel="nofollow" href="http://stackoverflow.com/questions/9068693/stored-procedures-with-webmatrix-sql-c" target="_blank">stackoverflow.com/</a></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mikepope.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mikepope</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Tue, 12 Jun 2012 21:05:07 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015757</guid><description><![CDATA[ <p>@Davidoff -- I&#39;m not able to reproduce. If I try searching for both genre and title, title takes precedence. (That is, I get a titles that match the word I&#39;m searching from multiple genres.) Are you not seeing that behavior?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mikepope.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by s_deep</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Tue, 26 Jun 2012 02:38:14 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015850</guid><description><![CDATA[ <p>sir,i started learning from your tutorial a week ago and i must say you are a perfect teacher who knows how to taught from basics.Instead of movie database i try to make employee database,but i need your help.i want to perform search based on date of birth.i have posted the same in asp.net forums.here is the link <a rel="nofollow" href="http://forums.asp.net/t/1817129.aspx/1?How" target="_blank">forums.asp.net/</a>+to+SEARCH+for+a+set+of+records+by+enterning+dd+mm+leaving+year+</p><p>.pls help me sir</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/s_deep.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by s_deep</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Tue, 26 Jun 2012 02:40:31 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015851</guid><description><![CDATA[ <p>sir one more doubt please tell me how to add security to edit,delete and add new movie links</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/s_deep.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mikepope</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Thu, 28 Jun 2012 19:53:48 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015879</guid><description><![CDATA[ <p>@s_deep -- regarding your SQL query, I think you&#39;d have better luck starting a thread on the ASP.NET forums and letting the many experts there help you out.</p><p></p><p>As for adding security, we&#39;ll be addressing that in a future tutorial set. In the meantime, perhaps the following link will help you? </p><p></p><p><a rel="nofollow" href="http://mikepope.com/blog/DisplayBlog.aspx?permalink=2240" target="_blank">mikepope.com/</a></p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mikepope.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mohramzan</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Tue, 03 Jul 2012 23:29:20 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015909</guid><description><![CDATA[ <p>Well I have the both &#39;Title&#39; and &#39;Genre&#39; input fields in a single form as mentioned in the tutorial but with only one submit button, you gets the combine searcg results. did anybody noticed that.........</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mohramzan.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mikepope</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Thu, 05 Jul 2012 23:31:38 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015929</guid><description><![CDATA[ <p>@mohramzan, are you sure you&#39;re getting a combined query? The way the code is supposed to work is that if you enter term for the title search, it will take precedence over any genre search. (?)</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mikepope.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mohramzan</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Thu, 05 Jul 2012 23:44:58 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015930</guid><description><![CDATA[ <p>Apologies for my misunderstanding. It does take precedence over genre search. On first place my input was limited to only 2 genres where i assumed it filtering both genre and title.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mohramzan.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sukola</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Tue, 17 Jul 2012 15:57:01 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015996</guid><description><![CDATA[ <p>This was one of the best and most up to date articles for learning WebMatrix and ASP.NET that I&#39;ve read.  Mike Pope &#39;s step by step guide tutorial not only gave me a very good example of how to write code correctly, he also explained the importance and reasoning behind each example in very simple and understandable terms.</p><p></p><p></p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/sukola.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ocsjack</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Wed, 01 Aug 2012 14:19:47 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016092</guid><description><![CDATA[ <p>Great article and better series. Thanks for taking the time to clarify concepts and ensure accurracy.  Awesome platform for building quick web applications.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/ocsjack.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by haitham alshamy</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Sat, 29 Sep 2012 04:28:29 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016546</guid><description><![CDATA[ <p>Thank you very much</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/haitham%20alshamy.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by haitham alshamy</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Sat, 29 Sep 2012 04:38:08 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016547</guid><description><![CDATA[ <p>I have on question about this :</p><p>if the action in form is post, is this command work?</p><p>&lt;input type=&quot;text&quot; name=&quot;searchGenre&quot; value=&quot;@Request.QueryString[&quot;searchGenre&quot;]&quot; /&gt;</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/haitham%20alshamy.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by vikramparihar</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Sun, 28 Apr 2013 15:24:02 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000018997</guid><description><![CDATA[ <p>thanks ...  It is really use full for me... and for every beginner </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/vikramparihar.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by braulj</title><link>http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/form-basics</link><pubDate>Fri, 10 May 2013 10:24:25 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000019090</guid><description><![CDATA[ <p>THANKS MIKE, YOU&#39;RE THE BEST</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/braulj.jpg?forceidenticon=false&amp;dt=635051007600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>