×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How do add Code Behind to a bootstrap input button in ASP.NET C#

How do add Code Behind to a bootstrap input button in ASP.NET C#

How do add Code Behind to a bootstrap input button in ASP.NET C#

(OP)
Hi Team,

I was just trying to make a login form in Visual Studio 2010, C#, using BootStrap. While I am able to get the text boxes and buttons, I am not able to figure out how I can attach the code (ie code behind of a usual DotNet button control) to the BootStrap button. Is it actually possible to do that? Or, do I have to go with the BootStrap way? I see that there is a 'OnClick' even specification for BootStrap button.

Can anyone give some ideas on this?

Thanks in advance.

Rajesh

RE: How do add Code Behind to a bootstrap input button in ASP.NET C#

What have you tried, if anything, so far?
what does your markup and code-behind look like?

RE: How do add Code Behind to a bootstrap input button in ASP.NET C#

(OP)
Hi jbenson001,

Thank you for your time!
By the way, I realised that in fact we can have a DotNet button itself in the form and to make it rendered using bootstrap classes, basically we just have to specify the respective bootstrap class through 'cssClass' property. Now, it works fine.

Rajesh

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close