public override WhereClause CreateWhereClause()
{
WhereClause wc;
try
{
wc = base.CreateWhereClause();
}
catch
{
wc = null;
}
return (wc);
}
public override void LoadData()
{
base.LoadData();
System.Web.UI.WebControls.Panel Panel = (System.Web.UI.WebControls.Panel)MiscUtils.FindControlRecursively(this, "EntityRecordControlPanel");
if (Panel != null){
Panel.Visible = true;
}
}
public override EntityRecord GetRecord()
{
if (string.IsNullOrEmpty(RecordUniqueId))
return new EntityRecord();
else
return base.GetRecord();
}
Wednesday, February 16, 2011
Edit Record Page used as Add
In Section 1, TableRecordControl class, override the following methods:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment