Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
7
Reply
My Button Click it not Working
Kasuni Abegunawardana
Nov 13 2017 2:02 AM
171
Reply
Hi all,
I made an asp.net project using bootstrap template. When I add a button it doesn't work why is that?
I changed
Causes Validation = "false"
But still, it doesn't work?
I hope it is in my bootstrap template?is it or how can I fix that?
Thank you in advance.
using
System;
using
System.Collections.Generic;
using
System.Linq;
using
System.Web;
using
System.Web.UI;
using
System.Web.UI.WebControls;
namespace
Food_Calorie_Calculator__Final_Project
{
public
partial
class
index2 : System.Web.UI.Page
{
protected
void
Page_Load(
object
sender, EventArgs e)
{
}
protected
void
btn_calculate1_Click(
object
sender, EventArgs e)
{
Response.Write(
"<script>alert('Successfully Created!!');</script>"
);
}
protected
void
btn_calculate2_Click(
object
sender, EventArgs e)
{
Response.Write(
"<script>alert('Successfully Created!!');</script>"
);
}
}
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
7
)
Next Recommended Forum
How to upload multiple images
I got an server error in Web forms with Master page