Link to Outlook Public Folders from ASP.NET image button

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I'm trying to migrate an ASP intranet website to ASP.NET. The old ASP file
has some HTML code behind an image button which links to a public folder in
outlook. I want to do the same thing with code behind an ASP.NET image
button. I was hoping I could simply include the following code in the click
event handler of the button:



Response.Redirect("outlook://Public%20Folders/All%20Public%20Folders/Trading/VigCalendar")

Unfortunately this doesn't seem to do anything, though if I enter this exact
address into the internet explorer address bar, it redirects outlook
appropriately, as the old HTML code does.

The HTML code used a standard <a href> HTML to form the connection.

Does anyone know how I can do this in ASP.NET (launch Outlook to a preferred
location on client machines?)

Thanks,
 
Jeff,
| The HTML code used a standard <a href> HTML to form the connection.
|
| Does anyone know how I can do this in ASP.NET (launch Outlook to a
preferred
| location on client machines?)
Have you tried a standard <a href> in your ASP.NET code?

Optionally you should be able to use an asp:HyperLink in your .aspx page.

|
Response.Redirect("outlook://Public%20Folders/All%20Public%20Folders/Trading/VigCalendar")
|
| Unfortunately this doesn't seem to do anything,
I wouldn't expect the above to work, as its server side, not client side...


--
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


| Hello,
|
| I'm trying to migrate an ASP intranet website to ASP.NET. The old ASP
file
| has some HTML code behind an image button which links to a public folder
in
| outlook. I want to do the same thing with code behind an ASP.NET image
| button. I was hoping I could simply include the following code in the
click
| event handler of the button:
|
|
|
|
Response.Redirect("outlook://Public%20Folders/All%20Public%20Folders/Trading/VigCalendar")
|
| Unfortunately this doesn't seem to do anything, though if I enter this
exact
| address into the internet explorer address bar, it redirects outlook
| appropriately, as the old HTML code does.
|
| The HTML code used a standard <a href> HTML to form the connection.
|
| Does anyone know how I can do this in ASP.NET (launch Outlook to a
preferred
| location on client machines?)
|
| Thanks,
|
 
There is also the Outlook View Control that you can use to embed Outlook
right in your application or you can use Outlook Web Access as well to place
your folder in-frame.

Tom
 
Tom,
Yea, I forget about those two.

I've only used the Outlook View Control, within Custom Outlook Forms.


--
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


| There is also the Outlook View Control that you can use to embed Outlook
| right in your application or you can use Outlook Web Access as well to
place
| your folder in-frame.
|
| Tom
|
| --
| Looking for a good book on programming Exchange, Outlook, ADSI and
| SharePoint? Check out http://www.microsoft.com/MSPress/books/5517.asp
|
|
| message | > Jeff,
| > | The HTML code used a standard <a href> HTML to form the connection.
| > |
| > | Does anyone know how I can do this in ASP.NET (launch Outlook to a
| > preferred
| > | location on client machines?)
| > Have you tried a standard <a href> in your ASP.NET code?
| >
| > Optionally you should be able to use an asp:HyperLink in your .aspx
page.
| >
| > |
| >
Response.Redirect("outlook://Public%20Folders/All%20Public%20Folders/Trading/VigCalendar")
| > |
| > | Unfortunately this doesn't seem to do anything,
| > I wouldn't expect the above to work, as its server side, not client
| > side...
| >
| >
| > --
| > Jay [MVP - Outlook]
| > .NET Application Architect, Enthusiast, & Evangelist
| > T.S. Bradley - http://www.tsbradley.net
| >
| >
| > | > | Hello,
| > |
| > | I'm trying to migrate an ASP intranet website to ASP.NET. The old ASP
| > file
| > | has some HTML code behind an image button which links to a public
folder
| > in
| > | outlook. I want to do the same thing with code behind an ASP.NET
image
| > | button. I was hoping I could simply include the following code in the
| > click
| > | event handler of the button:
| > |
| > |
| > |
| > |
| >
Response.Redirect("outlook://Public%20Folders/All%20Public%20Folders/Trading/VigCalendar")
| > |
| > | Unfortunately this doesn't seem to do anything, though if I enter this
| > exact
| > | address into the internet explorer address bar, it redirects outlook
| > | appropriately, as the old HTML code does.
| > |
| > | The HTML code used a standard <a href> HTML to form the connection.
| > |
| > | Does anyone know how I can do this in ASP.NET (launch Outlook to a
| > preferred
| > | location on client machines?)
| > |
| > | Thanks,
| > |
| >
| >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top