Contents tagged with .NET Faq
-
How To: Hide close button for Windows Form
Several times there is a requirement to hide/disable the close button and to close the Form with a button on the Form to exit the application.
-
How To: Get Selected Date from MonthCalendar control
VB.NET
-
How To: Get the foldername in which the file resides
We come across situation many a times where we need the name of the folder in which the file resides. Let's say the folder is as "C:\Project1\CSProj1\somename\file1.cs"
-
How To: Extract numbers from string
VB.NET
-
How To: Open a pop-up window using dropdownlist
To open pop-up window using <asp:dropdownlist..>
-
How To: Customize Calendar Control to limit the users to select day on or after today
In this Sample code we will see how to customize calendar control to limit the user to select the day on or after today
-
ASP.NET Faq on Syncfusion Website
Check out ASP.NET Faq on Syncfusion website.
-
How To: Troubleshoot Microsoft.Net Framework installation issues
When Microsoft Windows Installer is incorrectly registered in the Windows registry, the .NET Framework version Setup program cannot gain access to some Windows Installer components. The below articles discuss how to work around this issue by unregistering and then reregistering Windows Installer.
We may not always be able to completely remove the .NET Framework version by using the Add/Remove Programs tool in Control Panel. The below articles also discuss how to work around this issue either by manually removing the .NET Framework version from your computer and then reinstalling the .NET Framework version, or by repairing the .NET Framework version. -
Validation Controls not working on Firefox
The ASP.Net validations controls only work client side in IE.
-
Sample Code: How to use a RangeValidator to Select Colors from a specific range
<asp:dropdownlist id="DropDownList1" runat="server">
<asp:ListItem Value ="#000000">#000000</asp:ListItem>
<asp:ListItem Value ="#ff0000">#ff0000</asp:ListItem>
<asp:ListItem Value ="#0000ff">#0000ff</asp:ListItem>
<asp:ListItem Value ="#00aacc">#00aacc</asp:ListItem>
<asp:ListItem Value ="#0000cc">#0000cc</asp:ListItem>
<asp:ListItem Value ="#cc0000">#cc0000</asp:ListItem>
<asp:ListItem Value ="#00ff00">#00ff00</asp:ListItem>
</asp:dropdownlist>
<asp:rangevalidator id="RangeValidator1" runat="server"
ErrorMessage="Select a color between #00ff00 to #ff0000"
ControlToValidate="DropDownList1" MaximumValue="#ff0000" MinimumValue="#00ff00">
</asp:rangevalidator>