Click here to Skip to main content
15,917,859 members

Comments by Anil Vaghasiya (Top 47 by date)

Anil Vaghasiya 11-May-16 2:57am View    

You don't define menuContent in "saleOrder","newtask" if you inherit the parent.

Anil Vaghasiya 30-Jul-15 0:50am View    
Please describe the problem or issue in details??
Anil Vaghasiya 25-Jul-15 8:09am View    
okay but i'm getting Please check your code and what is the issue ??

Just create newApplication and Copy above code and paste it, I think Your ClientSideClick function not work so just check your code.
Anil Vaghasiya 24-Jul-15 8:17am View    
Hello, if you got the answer then Please Marked answer as Solution & +5 vote.
Anil Vaghasiya 24-Jul-15 6:39am View    

It works definately first call the method ClientSideClick() after call ConfirmNEW() and After call "cmdSave_Click" server side Methods.

Just Check Below Example.

<asp:Button ID="aspbtn" runat="server" OnClientClick="ClientSideClick(this);confirmNew(this);" OnClick="aspbtn_Click" Text="Press Here">

function ClientSideClick(obj) {
alert(, 'Test Called ClientSideClick Methods');
function confirmNew(obj) {
alert('Test Called ConfirmNew Methods');
if (confirm('You may lose your changes if not saved.\nPlease press Save before navigating.\n\nAre you sure to continue?')) {
__doPostBack(, '');
} else {
return false;

<asp:Label ID="lbl" runat="server">
protected void aspbtn_Click(object sender, EventArgs e)
lbl.Text = "Called ASP Button";