<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>Programmers World</title>
      <link>http://blog.lib.umn.edu/janewang/programmersworld/</link>
      <description></description>
      <language>en</language>
      <copyright>Copyright 2013</copyright>
      <lastBuildDate>Wed, 11 Apr 2007 11:56:36 -0600</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/?v=4.31-en</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

      
      <item>
	
         <title>Custom Server Controls vs User Control</title>
         <description><![CDATA[<p>Custom controls compile to their own .dll file and can be used across applications.<br />
User controls are limited to a single application.</p>

<p>Custom controls require no additional files beyond the .dll and are completely compiled.<br />
User control must be deployed as an .ascx file, and the source code in the .ascx file will be visible to anyone with rights to view the files on the web server.</p>

<p>Custom controls can be display a design-time user interface that mimics what will be displayed at runtime.<br />
User controls are always rendered as generic gray box.</p>

<p>Custom controls can be sized visually. <br />
User controls can be sized only by setting properities.</p>

<p>Code to handle events exposed by custom controls can be largely generated automatically by VS.NET.<br />
You will need to add all code by hand to handle an event exposed by a user control.</p>

<p>Tips<br />
One should use a user control when reuse is only across a project. <br />
When the control is used in a second project, take a few hours and turn it into a custom control.</p>]]></description>
         <link>http://blog.lib.umn.edu/janewang/programmersworld/2007/04/custom_server_controls_vs_user.html</link>
         <guid>http://blog.lib.umn.edu/janewang/programmersworld/2007/04/custom_server_controls_vs_user.html</guid>
         <category>ASP.NET</category>
         <pubDate>Wed, 11 Apr 2007 11:56:36 -0600</pubDate>
      </item>
      
      <item>
	
         <title>RadioButtonList &amp; SelectedValue</title>
         <description><![CDATA[<p>Before you want to use SelectedValue, you got to check if there is any item selected.</p>

<p>if(rblGrade.SelectedIndex != -1)<br />
{<br />
   alValues.Add(rblGrade.SelectedItem.Value);<br />
}</p>

<p><br />
Before you set SelectedValue, you need to check if it is null.</p>

<p>if(dr["gender"] != DBNull.Value)<br />
{<br />
          rblGender.SelectedValue = dr["gender"].ToString();<br />
}</p>]]></description>
         <link>http://blog.lib.umn.edu/janewang/programmersworld/2007/04/radiobuttonlist_selectedvalue.html</link>
         <guid>http://blog.lib.umn.edu/janewang/programmersworld/2007/04/radiobuttonlist_selectedvalue.html</guid>
         <category>ASP.NET</category>
         <pubDate>Tue, 10 Apr 2007 09:16:37 -0600</pubDate>
      </item>
      
      <item>
	
         <title>DataGrid -- With Template &amp; Total Line</title>
         <description><![CDATA[<p><a href="http://www.extremeexperts.com/Net/Articles/AddingControlstoFooter.aspx">http://www.extremeexperts.com/Net/Articles/AddingControlstoFooter.aspx</a></p>

<p><a href="http://localhost/JaneWeb/FFA/CDE/admin/CDEReportBySchool.aspx?type=fall">http://localhost/JaneWeb/FFA/CDE/admin/CDEReportBySchool.aspx?type=fall</a></p>

<p>The key point is to overwrite <strong>ItemCreated</strong> event handler, and then design a proper footer with computed data in it.</p>

<p><a href="http://aspalliance.com/494">http://aspalliance.com/494</a></p>]]></description>
         <link>http://blog.lib.umn.edu/janewang/programmersworld/2006/08/datagrid_with_template_total_l.html</link>
         <guid>http://blog.lib.umn.edu/janewang/programmersworld/2006/08/datagrid_with_template_total_l.html</guid>
         <category>ASP.NET</category>
         <pubDate>Tue, 15 Aug 2006 14:04:57 -0600</pubDate>
      </item>
      
      <item>
	
         <title>Professional Connection</title>
         <description><![CDATA[<p><a href="http://www.theculturalconnect.com">www.theculturalconnect.com</a></p>]]></description>
         <link>http://blog.lib.umn.edu/janewang/programmersworld/2006/08/professional_connection.html</link>
         <guid>http://blog.lib.umn.edu/janewang/programmersworld/2006/08/professional_connection.html</guid>
         <category>Social</category>
         <pubDate>Wed, 02 Aug 2006 14:35:12 -0600</pubDate>
      </item>
      
      <item>
	
         <title>Form Authentication</title>
         <description><![CDATA[<p><a href="http://www.xoc.net/works/tips/forms-authentication.asp">http://www.xoc.net/works/tips/forms-authentication.asp</a></p>

<p><a href="http://www.codeproject.com/aspnet/formsroleauth.asp">http://www.codeproject.com/aspnet/formsroleauth.asp</a></p>]]></description>
         <link>http://blog.lib.umn.edu/janewang/programmersworld/2006/07/form_authentication.html</link>
         <guid>http://blog.lib.umn.edu/janewang/programmersworld/2006/07/form_authentication.html</guid>
         <category>ASP.Net Resources</category>
         <pubDate>Wed, 26 Jul 2006 15:38:23 -0600</pubDate>
      </item>
      
      <item>
	
         <title>As a working mom, think about this ...</title>
         <description><![CDATA[<p>â€œIf you surrender completely to the moments as they pass, you live more richly in those moments.â€?</p>

<p>Anne Morrow Lingbergh</p>]]></description>
         <link>http://blog.lib.umn.edu/janewang/programmersworld/2006/07/as_a_working_mom_think_about_t.html</link>
         <guid>http://blog.lib.umn.edu/janewang/programmersworld/2006/07/as_a_working_mom_think_about_t.html</guid>
         <category></category>
         <pubDate>Tue, 25 Jul 2006 13:39:32 -0600</pubDate>
      </item>
      
      <item>
	
         <title>Build dynamic controls upon administrors configuration</title>
         <description><![CDATA[<p>I've been working on an application which have event date time on all pages. This of course should be changed every year. And the allowance for each event might be different year to year too. As a support person, I am just tired of these tedious things. I'd rather build a new one for them.</p>

<p>In the new system, the admin would have the ability to configure the application by himself. This would include date and time of the events, how many teams are allowed for each school and how many members for each team. And the cool thing is all the other public registration pages and reports would be changed immediately. I don't need to go through all of them and change one by one. I don't need to worry about that I still might forget some which are supposed to be changed even though I've been tried hard. You know what? Relief!!! That's what I feel right now even though there is still a long way to finish all my coding. But I already pass the most hard part. Yeah!<br />
</p>]]></description>
         <link>http://blog.lib.umn.edu/janewang/programmersworld/2006/07/build_dynamic_controls_upon_ad.html</link>
         <guid>http://blog.lib.umn.edu/janewang/programmersworld/2006/07/build_dynamic_controls_upon_ad.html</guid>
         <category>ASP.NET</category>
         <pubDate>Fri, 21 Jul 2006 10:00:46 -0600</pubDate>
      </item>
      
      <item>
	
         <title>Apply template in .net applications</title>
         <description><![CDATA[<p>Want to let your pages have identical look? Yah, why not? But how?</p>

<p>My first attempt is to use web user controls at top, bottom and also having one for side menu. It works! My customers like my design. So what's wrong I have to look for another alternative?</p>

<p>The problem with this implementation is I have to register all the user controls in every aspx pages and create properate tags for each of them. When you have many pages in your application, you could image how bothering this could be! Plus this is costly for future maintenance.</p>

<p>I got to find another way to do this, I told myself. And I diving into my R&D world. Finally I find one which is easy to implement and easy to apply. I am so excited!!!!</p>

<p>Here is the way. You implement a master page with all fancy looks you want, header, footer, side menus. And then all other page inherit it instead of Page.  That's it! Sound easy? Yes. I do satisified with this one.</p>]]></description>
         <link>http://blog.lib.umn.edu/janewang/programmersworld/2006/07/apply_template_in_net_applicat.html</link>
         <guid>http://blog.lib.umn.edu/janewang/programmersworld/2006/07/apply_template_in_net_applicat.html</guid>
         <category>ASP.NET</category>
         <pubDate>Fri, 21 Jul 2006 09:37:38 -0600</pubDate>
      </item>
      
      <item>
	
         <title>Create X Number of TextBox at Runtime</title>
         <description><![CDATA[<p>http://www.artisticode.com/Downloads/154.aspx</p>

<p>----------------------------------- Below is the contribution I made------------------------------------------</p>

<p>Clean Up when the number of textbox was changed <br />
By ? on Wednesday, July 19, 2006 (PST)  <br />
If we don't cleanup everytime when the requrested number of textbox was changed, error or messy would be expected. Below is my solution:</p>

<p>private void cleanUp()</p>

<p>{</p>

<p>TextBoxesHere.Controls.Clear();</p>

<p>ltlReturnData.Text = "";</p>

<p>}</p>

<p>private void txtTBCount_TextChanged(object sender, System.EventArgs e)</p>

<p>{</p>

<p>cleanUp();</p>

<p>}</p>

<p> <br />
</p>]]></description>
         <link>http://blog.lib.umn.edu/janewang/programmersworld/2006/07/create_x_number_of_textbox_at.html</link>
         <guid>http://blog.lib.umn.edu/janewang/programmersworld/2006/07/create_x_number_of_textbox_at.html</guid>
         <category>ASP.NET</category>
         <pubDate>Wed, 19 Jul 2006 10:15:47 -0600</pubDate>
      </item>
      
      <item>
	
         <title>.NET and FireFox &amp; Netscape</title>
         <description><![CDATA[<p>FireFox and Netscape seams not working well with .NET ListBox web control. What should be a good alternative? Or what can I do to make the application looks good to these two browsers?</p>]]></description>
         <link>http://blog.lib.umn.edu/janewang/programmersworld/2006/07/net_and_firefox_netscape.html</link>
         <guid>http://blog.lib.umn.edu/janewang/programmersworld/2006/07/net_and_firefox_netscape.html</guid>
         <category>Browser Problem</category>
         <pubDate>Mon, 17 Jul 2006 09:22:03 -0600</pubDate>
      </item>
      
      <item>
	
         <title>How to compare db field of &quot;text&quot; data type?</title>
         <description><![CDATA[<p>Given a table with id which is auto number, category, description which is "<strong>text</strong>". How could I know if the database already have an identical record before I try to insert a new one?</p>]]></description>
         <link>http://blog.lib.umn.edu/janewang/programmersworld/2006/07/how_to_compare_db_field_of_tex.html</link>
         <guid>http://blog.lib.umn.edu/janewang/programmersworld/2006/07/how_to_compare_db_field_of_tex.html</guid>
         <category>DB Problem</category>
         <pubDate>Mon, 17 Jul 2006 09:16:32 -0600</pubDate>
      </item>
      
   </channel>
</rss>
