本文整理汇总了C#中System.Web.UI.WebControls.DetailsViewCommandEventArgs类的典型用法代码示例。如果您正苦于以下问题:C# DetailsViewCommandEventArgs类的具体用法?C# DetailsViewCommandEventArgs怎么用?C# DetailsViewCommandEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DetailsViewCommandEventArgs类属于System.Web.UI.WebControls命名空间,在下文中一共展示了DetailsViewCommandEventArgs类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: JobForm_ItemCommand
protected void JobForm_ItemCommand(object sender, DetailsViewCommandEventArgs e)
{
if (e.CommandName == "Cancel")
{
Response.Redirect("Default.aspx");
}
}
示例2: DetailsView1_ItemCommand
protected void DetailsView1_ItemCommand(object sender, DetailsViewCommandEventArgs e)
{
if (e.CommandName == DataControlCommands.CancelCommandName)
{
Response.Redirect(table.ListActionPath);
}
}
示例3: ContactDetailsView_ItemCommand
protected void ContactDetailsView_ItemCommand(object sender, DetailsViewCommandEventArgs e)
{
if (e.CommandName == "Cancel")
{
Response.Redirect("ContactList.aspx");
}
}
示例4: accountsDetailsView_ItemCommand
protected void accountsDetailsView_ItemCommand(Object sender,DetailsViewCommandEventArgs e)
{
if (e.CommandName == "Cancel")
{
Response.Redirect("AccountList.aspx");
}
}
示例5: dvCurrPoll_ItemCommand
protected void dvCurrPoll_ItemCommand(object sender, DetailsViewCommandEventArgs e)
{
if (e.CommandName == "Cancel")
{
DeselectPoll();
}
}
示例6: opportunityDetailsView_ItemCommand
protected void opportunityDetailsView_ItemCommand(Object sender,
DetailsViewCommandEventArgs e)
{
if (e.CommandName == "Cancel")
{
Response.Redirect("OpportunityList.aspx");
}
}
示例7: dvwShippingMethod_ItemCommand
protected void dvwShippingMethod_ItemCommand(object sender, DetailsViewCommandEventArgs e)
{
if (e.CommandName == "Cancel")
{
gvwShippingMethods.SelectedIndex = -1;
gvwShippingMethods.DataBind();
}
}
示例8: AccountDetailsView_ItemCommand
protected void AccountDetailsView_ItemCommand(object sender, DetailsViewCommandEventArgs e)
{
if (e.CommandName == "Cancel")
{
AccountDetailsView.DataBind();
AccountDetailsView.ChangeMode(DetailsViewMode.Insert);
}
}
示例9: CompanyDetailsView_ItemCommand
protected void CompanyDetailsView_ItemCommand(object sender, DetailsViewCommandEventArgs e)
{
if (e.CommandName == "Cancel")
{
Label1.Text = "Submission cancelled <br/> <p>Your changes have been discarded</p>";
UpdatePanel1.Update();
}
}
示例10: dvCategory_ItemCommand
protected void dvCategory_ItemCommand(object sender, DetailsViewCommandEventArgs e)
{
if (e.CommandName == "Cancel")
{
gvCategories.SelectedIndex = -1;
gvCategories.DataBind();
}
}
示例11: dvCurrComment_ItemCommand
protected void dvCurrComment_ItemCommand(object sender, DetailsViewCommandEventArgs e)
{
if (e.CommandName == "Cancel")
{
gvAllComments.SelectedIndex = -1;
gvAllComments.DataBind();
}
}
示例12: dvwOrderStatus_ItemCommand
protected void dvwOrderStatus_ItemCommand(object sender, DetailsViewCommandEventArgs e)
{
if (e.CommandName == "Cancel")
{
gvwOrderStatuses.SelectedIndex = -1;
gvwOrderStatuses.DataBind();
}
}
示例13: dvMusterijeDetalji_ItemCommand
//preusmeravanje na stranicu Zakljucnice preko dugmeta OtvoriZakljucnicu
protected void dvMusterijeDetalji_ItemCommand(object sender, DetailsViewCommandEventArgs e)
{
if (e.CommandName == "btnOtvoriZakljucnicu")
{
IDMusterije = e.CommandArgument.ToString();
}
}
示例14: inviaMail
protected void inviaMail(object sender, DetailsViewCommandEventArgs e)
{
if (e.CommandName == "inviaMail")
{
//pagina invio mail
Response.Redirect("~/Admin/InviaMail.aspx" + "?ID=" + idSocieta);
}
}
示例15: OnBubbleEvent
/// <internalonly/>
/// <devdoc>
/// </devdoc>
protected override bool OnBubbleEvent(object source, EventArgs e) {
if (e is CommandEventArgs) {
DetailsViewCommandEventArgs args = new DetailsViewCommandEventArgs(source, (CommandEventArgs)e);
RaiseBubbleEvent(this, args);
return true;
}
return false;
}