Want to build the ChatGPT based Apps? Start here
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Kasuni Abegunawardana
2k
211
114.6k
My Button Click it not Working
Nov 13 2017 2:02 AM
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>"
);
}
}
}
Reply
Answers (
7
)
How to upload multiple images
I got an server error in Web forms with Master page