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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:52:09+00:00 2026-06-11T07:52:09+00:00

I want open Outlook if I click on a Button in a ListView. how

  • 0

I want open Outlook if I click on a Button in a ListView. how this…

<a href="mailto:user@example.com">Send email to user@example.com</a>

I have a …

<asp:LinkButton ID="LinkButton1" runat="server">LinkButton</asp:LinkButton>

without a url. The Url get this LinkButton from the ListView and it works but i don’t can activate this LinkButton after this 🙁

how this…

protected void myListView_ItemCommand(object sender, ListViewCommandEventArgs e)
{
    if (e.CommandName == "mailto")
    {
        int index = Convert.ToInt32(e.CommandArgument);

        LinkButton lb = (LinkButton)myListView.Items[index].FindControl("Label2");

        string mailto = lb.Text;

        LinkButton1.PostBackUrl = "mailto:" + mailto;
        LinkButton1.ResolveClientUrl("mailto:" + mailto); //Here?????
    }
}

How I can activate the LinkButton wthout click on this?

  • 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-11T07:52:10+00:00Added an answer on June 11, 2026 at 7:52 am

    If you’re stuck on using a button, then set the ClientClick property. Use return false; to cancel the postback. If you want the postback, then leave it off.

    LinkButton1.ClientClick = "window.open('mailto:someone@somewhere.com', 'email'); return false;";
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to open info page through this link on uiwebview http://www.facebook.com/TinRoofNashville?sk=info But on
I want to open a page in new tab of browser on button click.
If you want to open an msg Email file with the extension .msg, Outlook
I have an ASP.NET button. If the user clicks this button, then it calls
want to open pdf file when a user clicks on hyperlink shown in gridview
I want to open two different links images in one window on one click.
How can I extend that menu when I open Email and Right Click on
I have an application written in C# that uses Outlook Interop to open a
I want to open for example localhost/MySite in IE9, Chrome, Firefox, Opera, and Safari
I want to open Outlook from Javascript, it's for an internal application, nothing that

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.