Feeds:
Posts
Comments

Posts Tagged ‘asp.net’

extending Enum

Today I m faced a problem when I want to re-use Enum without major change on the based code.
Here the simple example,
I got a drop down list which bind Enum, here the sample code:
public enum Gender
{
[Description("I m a Male")] M,
[Description("I m a Female")] F
}
if you just bind the Enum, your dropdownlist will simply show you [...]

Read Full Post »

Please delete the cache which located in <%System Drive%>\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\<%Project Name%>
if the system not allow you to delete because of “currently in used”, you can choose to restart the system or issue “iisreset” in command prompt.

Read Full Post »

If your DNN website need a site map, you can find the open source application from here.
After deploy the DNN SiteMap, the DNN really solve my problem, but I found out the SiteMap’s parent node order is not same with Tab Menu’s Order.
 Here the Solution,

download the source code here
launch the VS.NET 2005 and open the solution
double click [...]

Read Full Post »