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 8553489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:39:51+00:00 2026-06-11T14:39:51+00:00

I found, on simple form in ASP.NET page I can submit its values by

  • 0

I found, on simple form in ASP.NET page I can submit its values by pressing enter key by including form fields into Panel control and set up its default button.

But how can I do this for DetailsView? I want to submit by insert button on inserting and update button on updating.

  • 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-06-11T14:39:53+00:00Added an answer on June 11, 2026 at 2:39 pm

    You can try with DefaultButton property (Default Submit Button)

    <asp:Panel ID="panel1" runat="server" defaultbutton="Button1">
    
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    
    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
    
    <asp:Button ID="Button1" runat="server" Text="Button1" OnClick="Button1_Click" />
    
    </asp:Panel>
    

    Link : http://msdn.microsoft.com/fr-fr/library/system.web.ui.webcontrols.panel.defaultbutton.aspx

    You can also define AccessKey property

    Link : http://msdn.microsoft.com/fr-fr/library/system.web.ui.webcontrols.webcontrol.accesskey.aspx

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

Sidebar

Related Questions

I'm building out a simple simple ASP.NET MVC 2 page. Was able to do
I'm trying to build an ASP.NET page that can crawl web pages and display
I'm trying to add rows dynamically to a System.Web.UI.WebControls.Table control in ASP.NET. I found
I've found it really handy that in MVC3 ASP.NET will map the incoming JSON
I found a JQuery Alert plugin here, http://www.abeautifulsite.net/blog/2008/12/jquery-alert-dialogs/ So I made a sample page
There is a example: Combining JQuery Form Validation and Ajax Submission with ASP.NET by
i am simple cart page where it displays the content in table form and
I have a simple form for a mailing list that I found at http://www.notonebit.com/projects/mailing-list/
i'm using asp.net web form fx3.5 and i'm trying to get my server-side string
I have a simple form (NSWindow) with 3 text fields. NSWindow's initialFirstResponder is 'pointing'

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.