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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:29:15+00:00 2026-05-17T21:29:15+00:00

Given a textbox: <asp:Textbox runat=server id=txtAddress1 /> This renders as something similar to: <input

  • 0

Given a textbox:

<asp:Textbox runat="server" id="txtAddress1" />

This renders as something similar to:

<input name="ctl00$mainContent$txtAddress1" type="text" id="ctl00_mainContent_txtAddress1" />

I don’t think browsers autocomplete features recognise this name/ID as a field they can autofill, they are not standard recognised names.

Is there any way to overide the client ID’s so that autocomplete has a better chance of recognising them?

  • 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-17T21:29:16+00:00Added an answer on May 17, 2026 at 9:29 pm

    2 Points with this.

    1) The “Override the Name” feature was introduced in ASP.Net 4.0, where for any property you can choose a hardcoded name instead of the dynamic name. You need to be careful on this as you don’t want 2 objects sharing a name.

    2) ASP.Net 2.0 and above (may have been in v1.0) has a property on the control called “AutoCompleteType” which provides a hint to the browser on what sort of information is required in the box.

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

Sidebar

Related Questions

<asp:Textbox runat=server Id=Username /> This might render as: <input type=text id=ctl00_mainContent_Username /> But in
Given an asp.net webform page which does something like asp.net <asp:textbox id=txtA runat=server />
I am applying an image to a text box as follows <asp:TextBox ID=TextBox1 runat=server
I have to give textbox control id like below <asp:TextBox ID=7_1 runat=server> It is
In ASP.NET MVC I could define a textBox editor like this and give it
<asp:LoginView ID=LoginView4 runat=server> <AnonymousTemplate> <asp:DropShadowExtender ID=DropShadowExtender3 runat=server TargetControlID=Panel3 Opacity=.38 Rounded=true> </asp:DropShadowExtender> <asp:Panel ID=Panel3 runat=server
I want to achieve this formatting in vs2010 inside table tag: <tr> <td><asp:TextBox ID=first_name
Given: <input id=datepicker type=text /> Where the id = datepicker tells the javascript to
Given say 11/13/2008 - 12/11/2008 as the value posted back in TextBox, what would
Given : InsuranceCompanies ( cid , name, phone, address) Doctors ( did , name,

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.