| | |
How to combine onclick's
Please support our ASP.NET advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jul 2009
Posts: 26
Reputation:
Solved Threads: 0
In my Page_Load() I have the following code:
Also, I have the following function that handles clicks on the same button:
But if I have that part in Page_Load(), the DetailCancelButton_Click() is never called. But I need them both.
Could anybody please help me?
Thanks,
Dmitriy
Button btnCancel = wizSummaryDetails.FindControl("FinishNavigationTemplateContainerID").FindControl("CancelButton") as Button;
btnCancel.Attributes.Add("onclick", "setSessionAction('NONE');");Also, I have the following function that handles clicks on the same button:
protected void DetailCancelButton_Click(object sender, EventArgs e)
{
wizSummaryDetails.MoveTo(wizStepSummary);
Session["Action"] = ACTION.NONE;
LoadData();
}Could anybody please help me?
Thanks,
Dmitriy
![]() |
Similar Threads
- onclick text box? (JavaScript / DHTML / AJAX)
- Help with Swapping Images onclick (JavaScript / DHTML / AJAX)
- add onclick event programmatically (JavaScript / DHTML / AJAX)
- Any way to combine two datasources into one recordset? (ASP)
- How would I combine these two programs? (C)
- changing from onclick to onsubmit? possible? (JavaScript / DHTML / AJAX)
- How to combine ".bin movies" in Mac? (OS X)
Other Threads in the ASP.NET Forum
- Previous Thread: ASP map locator
- Next Thread: Forms Authorization/ Authentication using asp .net and vb .net
Views: 337 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 activexcontrol advice ajax alltypeofvideos anathor application asp asp.net bc30451 bottomasp.net box browser button c# checkbox commonfunctions complex connection dataaccesslayer database datagridview datagridviewcheckbox datalist development dgv dropdownlist dynamically edit editing expose feedback fileuploader fill flash form formatdecimal formview google gridview gudi iframe iis javascript list listbox login microsoft migration mono mouse mssql news numerical opera panelmasterpagebuttoncontrols parent problem project radio redirect registration relationaldatabases reportemail richtextbox rows save schoolproject search security select services session silverlight smartcard smoobjects software sql sql-server sqlserver2005 suse textbox theft tracking unauthorized validation vb.net video videos view vista visualstudio web webapplications webdevelopemnt webprogramming webservice xsl youareanotmemberofthedebuggerusers





