rstew.blogspot.com
Robin's Blog: Clearing Items in Repeater (or other) Control in .Net 2.0
http://rstew.blogspot.com/2007/08/clearing-items-in-repeater-or-other.html
Net, AJAX, XAML, CSS, C#, SQL. Wednesday, August 1, 2007. Clearing Items in Repeater (or other) Control in .Net 2.0. You might notice that a repeater does not have an Items.Remove() or an Items.Clear() or even an Items[i].Remove() where you can loop through the collection and remove them one at a time. Nope, clearing a repeater is even easier than that. I have a search control that dumps the results in a repeater, and to clear the results between search, I use the following line in my search click event:.
rstew.blogspot.com
Robin's Blog: GridView must be placed inside a form tag with runat=server
http://rstew.blogspot.com/2007/10/gridview-must-be-placed-inside-form-tag.html
Net, AJAX, XAML, CSS, C#, SQL. Thursday, October 25, 2007. GridView must be placed inside a form tag with runat=server. I was creating an online test and I wanted to email the test results by topic to an email distribution list. I have a panel which has two child controls, a label with an overall % correct and a gridview with percentages by topic. A few simple lines of code would typically handle this:. String listRecipients = ConfigurationManager.AppSettings["candidateTestEmailList"].ToString();. You ma...
rstew.blogspot.com
Robin's Blog: August 2007
http://rstew.blogspot.com/2007_08_01_archive.html
Net, AJAX, XAML, CSS, C#, SQL. Wednesday, August 1, 2007. Clearing Items in Repeater (or other) Control in .Net 2.0. You might notice that a repeater does not have an Items.Remove() or an Items.Clear() or even an Items[i].Remove() where you can loop through the collection and remove them one at a time. Nope, clearing a repeater is even easier than that. I have a search control that dumps the results in a repeater, and to clear the results between search, I use the following line in my search click event:.
rstew.blogspot.com
Robin's Blog: Blow by Blow Heavyweight Fight -Marriage of Yahoo API Widget with ASP.Net 2.0
http://rstew.blogspot.com/2007/10/blow-by-blow-heavyweight-fight-marriage.html
Net, AJAX, XAML, CSS, C#, SQL. Wednesday, October 17, 2007. Blow by Blow Heavyweight Fight -Marriage of Yahoo API Widget with ASP.Net 2.0. Ok, I spent the last 2 hours of my life implementing a really simple html rich text editor using the Yahoo Javascript API (it's a Widget in beta - look here: http:/ developer.yahoo.com/yui/editor/. With my .Net 2.0 website. Well, I also wanted to get my feet wet with some of the new widgets in the Yahoo Javascript API library.two birds with one stone! Protected void S...
rstew.blogspot.com
Robin's Blog: May 2007
http://rstew.blogspot.com/2007_05_01_archive.html
Net, AJAX, XAML, CSS, C#, SQL. Thursday, May 17, 2007. ASPDNSF uses a 3rd-party component for their navigation menus, Component Art. I've had some fun and exciting times customizing this menu. I would put styles, such as color and font, in the css classes TopMenuGroup and TopMenuItem, and the styles weren't sticking. Sooo frustrating! So using my IE DOM explorer, I highlighted the element (Find - Select Element by Click) and examined the style, and found my target element to be wrapped in. Pimp Daddy's s...
rstew.blogspot.com
Robin's Blog: July 2007
http://rstew.blogspot.com/2007_07_01_archive.html
Net, AJAX, XAML, CSS, C#, SQL. Thursday, July 12, 2007. Date Validation in .Net 2.0. All of my input date fields require two things in the validation world of 2.0:. What does the MaskedEditExtender give you? Only numbers are allowed and the. Appear magically when the text field obtains focus. Here's what it looks like in your aspx source view:. Cc1:MaskedEditExtender ID="MaskedEditExtender3" runat="server" TargetControlID="txtBrideBDay". You can also put the value in the aspx page (which won't require co...
rstew.blogspot.com
Robin's Blog: October 2008
http://rstew.blogspot.com/2008_10_01_archive.html
Net, AJAX, XAML, CSS, C#, SQL. Friday, October 17, 2008. System.Reflection Interview Question. Let me give you an example. In your middle tier, you are going to pass a string into a private void HandleColorChoice(string myStrColor), and based on the color, you are going to implement different options. You're only starting out with red, yellow, blue, but over time, your code needs to handle even 100 different color implementations. String colorFunctionName=string.format("Handle{0}Color", myStrColor);.
rstew.blogspot.com
Robin's Blog: April 2007
http://rstew.blogspot.com/2007_04_01_archive.html
Net, AJAX, XAML, CSS, C#, SQL. Monday, April 30, 2007. Net web config error. If you get an error that looks like this: Could not load type 'System.Web.UI.Compatibility.CompareValidator' from assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Don't spend too much time looking at your code for this, it appears to be a bug in the webconfig. Simply delete the validators from the webconfig. The lines will look like this:. Labels: .Net Errors. I'm a relucta...
rstew.blogspot.com
Robin's Blog: Date Validation in .Net 2.0
http://rstew.blogspot.com/2007/07/date-validation-in-net-20.html
Net, AJAX, XAML, CSS, C#, SQL. Thursday, July 12, 2007. Date Validation in .Net 2.0. All of my input date fields require two things in the validation world of 2.0:. What does the MaskedEditExtender give you? Only numbers are allowed and the. Appear magically when the text field obtains focus. Here's what it looks like in your aspx source view:. Cc1:MaskedEditExtender ID="MaskedEditExtender3" runat="server" TargetControlID="txtBrideBDay". You can also put the value in the aspx page (which won't require co...
rstew.blogspot.com
Robin's Blog: October 2007
http://rstew.blogspot.com/2007_10_01_archive.html
Net, AJAX, XAML, CSS, C#, SQL. Thursday, October 25, 2007. GridView must be placed inside a form tag with runat=server. I was creating an online test and I wanted to email the test results by topic to an email distribution list. I have a panel which has two child controls, a label with an overall % correct and a gridview with percentages by topic. A few simple lines of code would typically handle this:. String listRecipients = ConfigurationManager.AppSettings["candidateTestEmailList"].ToString();. Ok, I ...