void trvSupplier_SelectedNodeChanged(object sender, EventArgs e)
{
int SupplierID = 0;
int.TryParse(trvSupplier.SelectedValue, out SupplierID);
if (SupplierID > 0)
{
ViewState[CMSViewStateManager.SupplierID] = SupplierID;
BeginEditMode();
upnlSupplierItem.Update();
}
if (trvSupplier.SelectedNode != null)
{
trvSupplier.SelectedNode.Selected = false;
}
}
#endregion