If you press F5 in notepad, it will insert current date and time in the file. I think most of us know about this notepad trick. It is also mentioned in the Edit menu of the notepad. I am going to talk about a trick, which is related to this,
Sometimes we want to insert current data and time, whenever we open the file in the notepad. If you are a lazy person like me, who don’t like to press F5 whenever you open a notepad. Then here is a trick to avoid this. Just add a .LOG in the first line of your text file and close it.
Whenever you open the file with that text in the first line in the notepad, it will insert the current date and time at the end of the file. You can start entering your text after that.
For more detail about this trick, check out this url.
Panel web server control in ASP.NET 2.0 is coming with a new property "GroupingText", using this property you can set the title for the panel. Panel controls are used to group related controls in a web form. If you set a title for these groupings, it will look better. Using "GroupingText" property you can achieve this.
This feature is implemented using FieldSet and Legend html elements. When the GroupingText property is set in panel control, ASP.NET emits FieldSet and Legend html elements in the response to set the title for the panel.
For example, when you define a panel like this,
<asp:Panel GroupingText="Address" runat=server ID="AddressPanel">
<! -- Child Controls -->
</asp:panel>
HTML output for the panel will be.
<div id="AddressPanel">
<fieldset>
<legend>
Address
</legend>
<!-- Child Controls -->
</fieldset>
</div>