这是我的代码,我想在我的LoadItemTrackingGrid()中切换一个大纲,请给我所有大纲的快捷方式。
protected void LoadItemTrackingGrid(object sender, EventArgs e)
{
LoadItemTrackingGrid();
}
private bool IsEditModeProductGroup()
{
return (!string.IsNullOrEmpty(lblParentProductId.Text));
}
protected void lnkProductGroupAdd_OnClick(object sender, EventArgs e)
{
if (ddlProductGroup.SelectedIndex == 0)
txtProductGroupName.Text = string.Empty;
else
txtProductGroupName.Text = ddlProductGroup.SelectedItem.Text;
popupProductGroup.Show();
txtProductGroupName.Focus();
}
protected void btnSaveProductGroup_onClick(object sender, EventArgs e)
{
if (!IsValidProductGroup())
{
popupProductGroup.Show();
return;
}
int? ParentProductId = SaveProductGroup();
LoadProductGroup();
ddlProductGroup.SelectedValue = ParentProductId.ToString();
ddlProductGroup_OnSelectedIndexChanged(null, null);
}
仅概述一个切换=> Ctrl + M + M
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句