Click here to Skip to main content
15,949,686 members

Comments by Anil Vaghasiya (Top 47 by date)

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

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

--AV
Anil Vaghasiya 30-Jul-15 0:50am View    
Hello,
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    
Hello,

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">

<script>
function ClientSideClick(obj) {
alert(obj.id, '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(obj.id, '');
} else {
return false;
}
}
</script>

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