Click here to Skip to main content
15,917,635 members
Home / Discussions / WPF
   

WPF

 
QuestionStrange crashes on XP 64 [modified] Pin
marca29224-Feb-10 23:34
marca29224-Feb-10 23:34 
QuestionSilverlight covering absolute DIVs Pin
Matt Cavanagh24-Feb-10 13:06
Matt Cavanagh24-Feb-10 13:06 
AnswerRe: Silverlight covering absolute DIVs Pin
Katka Vaughan25-Feb-10 7:44
Katka Vaughan25-Feb-10 7:44 
QuestionSilverlight breaks when hiding it container with CSS Pin
Matt Cavanagh24-Feb-10 13:00
Matt Cavanagh24-Feb-10 13:00 
QuestionExpression blend 3 (wpf) ebook Pin
Nima.naqipoor24-Feb-10 1:47
Nima.naqipoor24-Feb-10 1:47 
QuestionDataGrid list binding Pin
redivider23-Feb-10 9:56
redivider23-Feb-10 9:56 
AnswerRe: DataGrid list binding [modified] Pin
Wes Aday23-Feb-10 11:20
professionalWes Aday23-Feb-10 11:20 
AnswerRe: DataGrid list binding Pin
redivider23-Feb-10 11:50
redivider23-Feb-10 11:50 
QuestionHow to download executable file Pin
fjparisIII23-Feb-10 7:20
fjparisIII23-Feb-10 7:20 
AnswerRe: How to download executable file Pin
Richard Andrew x6423-Feb-10 12:43
professionalRichard Andrew x6423-Feb-10 12:43 
GeneralRe: How to download executable file Pin
fjparisIII23-Feb-10 13:31
fjparisIII23-Feb-10 13:31 
GeneralRe: How to download executable file Pin
Richard Andrew x6423-Feb-10 13:36
professionalRichard Andrew x6423-Feb-10 13:36 
GeneralRe: How to download executable file Pin
Richard Andrew x6423-Feb-10 13:46
professionalRichard Andrew x6423-Feb-10 13:46 
GeneralRe: How to download executable file Pin
fjparisIII23-Feb-10 14:00
fjparisIII23-Feb-10 14:00 
GeneralRe: How to download executable file Pin
Richard Andrew x6423-Feb-10 14:06
professionalRichard Andrew x6423-Feb-10 14:06 
GeneralRe: How to download executable file Pin
fjparisIII23-Feb-10 14:26
fjparisIII23-Feb-10 14:26 
GeneralRe: How to download executable file Pin
Richard Andrew x6423-Feb-10 14:31
professionalRichard Andrew x6423-Feb-10 14:31 
GeneralOff on wrong track Pin
fjparisIII23-Feb-10 15:05
fjparisIII23-Feb-10 15:05 
AnswerRe: How to download executable file Pin
fjparisIII23-Feb-10 13:50
fjparisIII23-Feb-10 13:50 
GeneralRe: How to download executable file Pin
Richard Andrew x6423-Feb-10 14:08
professionalRichard Andrew x6423-Feb-10 14:08 
AnswerRe: How to download executable file Pin
Pete O'Hanlon23-Feb-10 22:20
mvePete O'Hanlon23-Feb-10 22:20 
This is achieved by the use of Mime types and is very easy to do. Consider the following sample ASP.NET page
:<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <a href="~/googletoolbar2user.exe" runat="server">Exe</a>
    </div>
    </form>
</body>
</html>
Clicking the link when it's running prompts the browser to display the warning you're after. Have a look at this post[^] to see more information on what you need configuring in IIS. There's no special voodoo, and I'm not surprised that books on ASP.NET don't teach this as it's more about general web development rather than Silverlight/ASP.NET issues.

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



GeneralRe: How to download executable file Pin
fjparisIII24-Feb-10 4:16
fjparisIII24-Feb-10 4:16 
GeneralRe: How to download executable file Pin
Matt Cavanagh24-Feb-10 13:10
Matt Cavanagh24-Feb-10 13:10 
GeneralRe: How to download executable file Pin
fjparisIII24-Feb-10 13:42
fjparisIII24-Feb-10 13:42 
GeneralRe: How to download executable file Pin
Matt Cavanagh24-Feb-10 13:45
Matt Cavanagh24-Feb-10 13:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.