Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 840335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:36:23+00:00 2026-05-15T05:36:23+00:00

I have a Web User Control I created for authentication. The web user control

  • 0

I have a Web User Control I created for authentication. The web user control is inside the box below. Clicking any button (1 or 2) below works correct as it goes to the correct c# button click event in the code behind file. If I press enter on fields a or b it goes to the correct callback (button1’s) if I press enter on field c it still goes to button1’s callback, not button2’s

How can I give my web user control a nice self contained for and view state etc, so it wont mess with the remainder of the page’s form?


 +--------------+
 | User: __a___ |
 | Pass: __b___ |
 |     [button1]|
 +--------------+

  Prompt:______c______ [button2]
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T05:36:24+00:00Added an answer on May 15, 2026 at 5:36 am

    You can use a Panel and set the default acceptbutton.

    Example here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 515k
  • Answers 515k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer UserNamePrincipal describes service credentials. If you set UPN to some… May 16, 2026 at 6:35 pm
  • Editorial Team
    Editorial Team added an answer From the MATLAB documentation for SORT: If A has complex… May 16, 2026 at 6:35 pm
  • Editorial Team
    Editorial Team added an answer At the moment you have: tar xvf tarfile paths... -C… May 16, 2026 at 6:35 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have created a user by using CreateUserWizard - control. My web.config file is
I have created an Address user control which is as follow: <%@ Control Language=C#
I have an custom control that extend System.Web.UI.UserControl. Is it possible to inherit user
Here's what i have : ASP.NET 4.0 Web Application Forms Authentication (Cookie Based) Here's
We have an existing publicly accessible web application with user controls, data access libraries,
I am using a Silverlight usercontrol in my ASP.NET web app. The user control
In Asp.net Web forms why must a user control be partial? I tried to
I am developing an asp.net web site and I am not using inbuilt authentication
when and where we will use user control ? actually i want to ask
I have implemented a set of ASP.NET web custom controls and added these to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.