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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:12:33+00:00 2026-05-23T02:12:33+00:00

I am attempting to internationalise buttons within our web application and so far i

  • 0

I am attempting to internationalise buttons within our web application and so far i have been able to build our buttons up using a sprite image and applying the relevant css classes to build the button.

I have this laid out in the following structure:

<table cellpadding="0" cellspacing="0" class="pwbtn" onmouseout="this.className='pwbtn';"
    onmouseover="this.className='pwbtnh';">
    <tr>
        <td class="a1">
        </td>
        <td class="a2" onclick="CallShowBlocker()">
            <asp:linkbutton id="ButtonNext" onclientclick="PreNavigationScript();" runat="server"
                cssclass="RemoveLinkStyle"></asp:linkbutton>
        </td>
        <td class="a3">
        </td>
        <td class="spacer">
        </td>
    </tr>
</table>

At the moment the buttons are displayed as expected however the user has to click exactly on the text for the button to fire its event.

I want to apply the href value of the linkbutton to the tables onlcick so when the user clicks anywhere inside the image it will fire the event.

Also, my href value is built up via an event handler in C# and results in the following href value:

"javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions('ContWizard2$Wizard1$cFooter$ButtonNext', '', true, '', '', false, true));"

If I haven’t been clear enough here or missed any parts of code you would need to see, please let me know and thank you in advance.

  • 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-23T02:12:33+00:00Added an answer on May 23, 2026 at 2:12 am

    In case anyone finds this and is wondering how to fix it.

    I removed the LinkButton outside of the table. Using the tables onclick attribute, I created a new Javascript function which passed the LinkButton clientID.

    When the button is clicked, the ID is passed to the Javascript function, and we fire link.click() to execute the links action. See below:

    <asp:linkbutton id="LinkButton1" runat="server" causesvalidation="False" cssclass="RemoveLinkStyle"></asp:linkbutton>
    <table cellpadding="0" cellspacing="0" class="pwbtn" onclick="CallShowBlocker(); ExecuteLink('<%=ButtonYes.ClientID %>');"
        onmouseout="this.className='pwbtn';" onmouseover="this.className='pwbtnh';">
        <tr id="trButtonYes" runat="server" visible="false">
            <td class="a1">
            </td>
            <td class="a2" onclick="CallShowBlocker()">
                <%= this.resourceManager.GetString("yes") %>
            </td>
            <td class="a3">
            </td>
            <td class="spacer">
            </td>
        </tr>
    </table>
    
    function ExecuteLink(linkID)
    { 
        var link = document.getElementById(linkID); 
        link.click();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Attempting to build a C# NPAPI plugin I have found a tutorial which describes
Attempting/struggling to get registration and sign-up working within an active admin project. I have
I've recently started using the Play! framework (v2.0.4) for writing a Java web application.
Am attempting to add push notifications to an application that I have created. I
Attempting to learn Ruby using the new LearnStreet online tutorials. Have attempted to get
Attempting to deploy an Enterprise application wirelessly, with partial success. I do have the
Attempting to build .exe using py2exe: python setup.py py2exe , receiving error: ImportError: No
Attempting to get Spring internationalization working. I have used classpath:messages basename, created .properties files
Attempting to build a C# project which has numerous references to assemblies in NuGet
Attempting to set up Samba + OpenLDAP using nss_ldap. After joining Windows7 to Samba

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.