- 分享
- 0
- 人气
- 0
- 主题
- 10
- 帖子
- 30
- UID
- 445283
- 积分
- 24
- 阅读权限
- 11
- 注册时间
- 2011-9-22
- 最后登录
- 2012-10-15
- 在线时间
- 36 小时
|
1) 以下的code是在page1.aspx
<td><div id="TabbedPanels1" class="TabbedPanels">
<ul class="TabbedPanelsTabGroup">
<li class="TabbedPanelsTab" tabindex="0" onclick="changesrc('iframe1','eContestDetail_History.aspx?option=<%=Request["id"].Trim().ToString() %>')">History</li>
<li class="TabbedPanelsTab" tabindex="0" onclick="changesrc('iframe1','eContestDetail_Edit.aspx?cid=<%=Request["id"].Trim().ToString() %>')">Edit</li>
<li class="TabbedPanelsTab" tabindex="0" onclick="changesrc('iframe1','eContestDetail_Win.aspx')">Winner</li>
<li class="TabbedPanelsTab" tabindex="0" onclick="changesrc('iframe1','eContestDetail_Allot.aspx')">Allotment</li>
<li class="TabbedPanelsTab" tabindex="0" onclick="changesrc('iframe1','eContest.aspx?cid=<%=Request["id"].Trim().ToString() %>')">ViewPage</li>
</ul>
2)以下的code是在page2.aspx的page2.aspx.cs篇里我想在有?标号的地方加上什么code才可以trigger上面红色的<li>code里的code.
protected void btnSave_Click(object sender, EventArgs e)
{
#region MyRegion
UploadPic(FileUpload1.FileName);
dal_pageLayout.CID = int.Parse(this.lblCid.Text.Trim());
dal_pageLayout.PContestName = this.txtContestName.Text.ToString().Trim();
if (FileUpload1.FileName != "")
{
this.PicPath = FileUpload1.FileName;
}
dal_pageLayout.PImgTop = this.PicPath;
this.txtFilePath.Text = this.PicPath;
......................................................................省列
int i = dal_pageLayout.Update_ContestLayout();
if (i > 0)
{
this.AlertMsgSync(string.Format("Update page successfully! "), "Information", "jCaution('loading...');");
??????????????????????????
// Response.Redirect(Request.RawUrl);
/* Response.Redirect("eContestDetail_History.aspx?option=<%=Request["id"].Trim().ToString() %>"); */
//this.AlertMsgSync(string.Format("Update page successfully! "), "Information", "jCaution('loading...');window.location='eContestPageSearch.aspx'");
}
else
{
this.AlertMsg("Add the page failed! please try again.", "Information");
}
} |
|