本文整理汇总了C#中System.Web.UI.WebControls.FormViewUpdatedEventArgs类的典型用法代码示例。如果您正苦于以下问题:C# FormViewUpdatedEventArgs类的具体用法?C# FormViewUpdatedEventArgs怎么用?C# FormViewUpdatedEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
FormViewUpdatedEventArgs类属于System.Web.UI.WebControls命名空间,在下文中一共展示了FormViewUpdatedEventArgs类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: FormView1_ItemUpdated
protected void FormView1_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
{
if (e.Exception == null || e.ExceptionHandled)
{
Response.Redirect(table.ListActionPath);
}
}
示例2: FormView1_ItemUpdated
protected void FormView1_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
{
GridView1.DataBind();
btneditar.Visible = false;
btneliminar.Visible = false;
}
示例3: FormView1_ItemUpdated
protected void FormView1_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
{
if (e.Exception == null || e.ExceptionHandled)
{
Response.Redirect(_table.ListActionPath);
}
else
{
ShowMessage(e.Exception);
e.ExceptionHandled = true;
}
}
示例4: FormView1_ItemUpdated
//-------------------------------------------------------------------------------------------
protected void FormView1_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
{
if (e.Exception == null || e.ExceptionHandled)
{
FormView1.DataBind();
ShowError("Hellow");
string redirectUrl = table.GetActionPath("Details", FormView1.DataItem);
Response.Redirect(redirectUrl);
//ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "temp", "<script type='text/javascript'>showMessage('Item Saved!', '" + redirectUrl + "');</script>", false);
}
}
示例5: OnItemUpdated
protected void OnItemUpdated(object sender, FormViewUpdatedEventArgs e)
{
if (e.Exception == null)
{
Utilities.WriteWindowClose();
}
else
{
Utilities.OnError(Page, false, e.Exception);
e.KeepInEditMode = true;
e.ExceptionHandled = true;
}
}
示例6: fvProject_ItemUpdated
protected void fvProject_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
{
//TODO: After update show message
if (e.Exception == null)
{
Literal lbl = this.fvProject.FindControl("lblUpdateResult") as Literal;
if (lbl != null)
{
lbl.Visible=true;
}
ViewState["Time"] = 1;
this.Timer1.Enabled = true;
}
}
示例7: FormViewAssistenza_ItemUpdated
protected void FormViewAssistenza_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
{
if (GestioneCaricamentoCalendario())
{
if (!(e.Exception == null))
{
e.ExceptionHandled = true;
}
//Se il cliente appartiene ad un fornitore gli invio una mail, se ha richiesto il servizio.
//if (Assistenza.SpedizioneMailAssistenzaAfornitore(this.Request.QueryString["IDAss"].ToString(), SqlDataSourceAssistenza.ConnectionString)) ;
Utility.AllertMessage(this.Page, "E' stato inviato Via EMAIL UN Messaggio di informazioni AL Fornitore per la richiesta del cliente", "ForRicMailSend");
Response.Redirect("~/Assistenze/AssistenzaListGroupSingolaZona.aspx");
}
}
示例8: attractionsForm_ItemUpdated
protected void attractionsForm_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
{
Response.Redirect("~/WebForms");
}
示例9: FormView3_ItemUpdated
protected void FormView3_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
{
this.GridView2.DataBind();
}
示例10: HospitalFormView_ItemUpdated
protected void HospitalFormView_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
{
Response.Redirect("~/hospital.aspx");
}
示例11: fvEngLotCardAdd_ItemUpdated
protected void fvEngLotCardAdd_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
{
//当前id号
Int64 id = Convert.ToInt64(e.Keys[0]);
//调用过程执行跳转
JumpToUrlById(id);
}
示例12: fvEmployeesAdd_ItemUpdated
protected void fvEmployeesAdd_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
{
//更新了至少一条数据
if (e.AffectedRows > 1)
{
//当前id号
int id = Convert.ToInt32(e.Keys[0]);
//调用过程执行跳转
JumpToUrlById(id);
}
}
示例13: FormView1_ItemUpdated
//ItemUpdated Event Control
protected void FormView1_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
{
Response.Redirect("~/doctor.aspx");
}
示例14: FormView1_ItemUpdated
protected void FormView1_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
{
GridView1.DataBind();
}
示例15: d_ItemUpdated
static void d_ItemUpdated (object sender, FormViewUpdatedEventArgs e)
{
if (WebTest.CurrentTest.UserData == null) {
ArrayList list = new ArrayList ();
list.Add ("ItemUpdated");
WebTest.CurrentTest.UserData = list;
}
else {
ArrayList list = WebTest.CurrentTest.UserData as ArrayList;
if (list == null)
throw new NullReferenceException ();
list.Add ("ItemUpdated");
WebTest.CurrentTest.UserData = list;
}
}