i have a special question i really want to learn how to develop custom aspx page forexample; if you create a aspx page automatically page created:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Test.xyz
{
public partial class MyPage: System.Web.UI.Page
{
}
}
But i want to develop: like that if a press create aspx page :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.UI;
using System.Web.UI.WebControls;
using MyFrameWork.Business;
sing MyFrameWork.DAL;
namespace Test.xyz
{
public partial class MyPage: System.Web.UI.Page
{
}
protected void Save()
{
}
protected void Delete()
{
}
}
Howw to generate this page right click – Add new Item (Automatically)
You need to create a new item template. This page describes what you need:
Link
(Basically you create your page, then goto File>Export Template and follow the wizard.)