ASPX

Discussion in 'ASP .Net Web Services' started by Miloann, Apr 2, 2006.

  1. Miloann

    Miloann Guest

    We are implementing an application that sends reminder emails to employees
    in other departments through intranet. The application comes with an email
    template in ASPX. Can I modify the codes to include an attached word
    document? Where should I store the word document? The APSX codes is listed
    as follows:


    <%@ Page Language="vb" AutoEventWireup="false"
    Codebehind="ImplementationReminder.aspx.vb"
    Inherits="xxx.WebUI.ImplementationReminder"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <title>TeamCentral</title>
    <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
    <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
    <meta content="JavaScript" name="vs_defaultClientScript">
    <meta content="http://schemas.microsoft.com/intellisense/ie5"
    name="vs_targetSchema">
    <style>
    BODY { MARGIN: 30px; FONT-FAMILY: arial,Sans-Serif }
    DIV { WIDTH: 100% }
    TABLE { WIDTH: 80% }
    TD { FONT-SIZE: 10pt; font-face: Verdana, Arial, System }
    HR { COLOR: #ccebf5; HEIGHT: 1px }
    .heading { COLOR: #0099cc }
    .subHeading { FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #003366;
    TEXT-DECORATION: none }
    .subHeading:hover { TEXT-DECORATION: underline }
    .topBanner { BACKGROUND-COLOR: #003366 }
    .subBanner { HEIGHT: 15px; BACKGROUND-COLOR: #0099cc }
    .date { FONT-SIZE: 10pt }
    .container {border-left: #0099CC 1px solid; border-right: #0099CC 1px
    solid; border-bottom: #0099CC 1px solid; width:100%;}
    </style>
    </HEAD>
    <body>
    <form id="Form" method="post" runat="server">
    <div class="topBanner">
    <img id="HeaderImage" runat="server" alt="TeamCentral - TeamMate Audit
    Management System"/>
    </div>
    <div class="subBanner"></div>
    <center>
    <table cellpadding="10" cellspacing="0" class="container">
    <tr><td>
    <table style="width:100%">
    <tr>
    <td class="heading">
    <asp:Label Runat="server" ID="Name"></asp:Label>
    <br>
    <br>
    </td>
    </tr>
    <tr>
    <td>
    This is a reminder that you have the following recommendations
    approaching their implementation dates. Please update each recommendation
    in TeamCentral by either indicating that it is implemented or revising your
    implementation date. If you have any questions about how to enter your
    implementation updates in TeamCentral, please contact (Jane Doe) at (ext.
    123).
    </td>
    </tr>
    <tr>
    <td><hr>
    </td>
    </tr>
    <tr>
    <td>
    <asp:Repeater Runat="server" ID="List">
    <HeaderTemplate>
    <table style="width:100%"">
    </HeaderTemplate>
    <ItemTemplate>
    <tr>
    <td>
    <asp:HyperLink Runat="server"
    NavigateUrl="<%#Me.GetLink(Container.DataItem)%>" class="subHeading"
    Font-Underline="True"><%#Me.GetTitle(Container.DataItem)%></asp:HyperLink>
    </td>
    <td align="right" width="15%">
    <asp:Label Runat="server"
    class="date"><%#Me.GetDate(Container.DataItem)%></asp:Label>
    </td>
    </tr>
    </ItemTemplate>
    <FooterTemplate>
    </table>
    </FooterTemplate>
    </asp:Repeater>
    </td>
    </tr>
    </table>
    </td></tr></table>
    </center>
    </form>
    </body>
    </HTML>
    Miloann, Apr 2, 2006
    #1
    1. Advertising

  2. Miloann

    vincent Guest

    Hello Miloann,

    1. Wrong newsgroup, your question is not related with webservices
    2. If you want to attach a file, you should look at the code sending emails,
    not the one creating its content.
    3. It depends of the way emails are sent, but maybe you can add an hyperlink
    to your file in your aspx page.
    4. Good luck.

    > We are implementing an application that sends reminder emails to
    > employees in other departments through intranet. The application
    > comes with an email template in ASPX. Can I modify the codes to
    > include an attached word document? Where should I store the word
    > document? The APSX codes is listed as follows:
    >
    > <%@ Page Language="vb" AutoEventWireup="false"
    > Codebehind="ImplementationReminder.aspx.vb"
    > Inherits="xxx.WebUI.ImplementationReminder"%>
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    > <HTML>
    > <HEAD>
    > <title>TeamCentral</title>
    > <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
    > <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
    > <meta content="JavaScript" name="vs_defaultClientScript">
    > <meta content="http://schemas.microsoft.com/intellisense/ie5"
    > name="vs_targetSchema">
    > <style>
    > BODY { MARGIN: 30px; FONT-FAMILY: arial,Sans-Serif }
    > DIV { WIDTH: 100% }
    > TABLE { WIDTH: 80% }
    > TD { FONT-SIZE: 10pt; font-face: Verdana, Arial, System }
    > HR { COLOR: #ccebf5; HEIGHT: 1px }
    > .heading { COLOR: #0099cc }
    > .subHeading { FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #003366;
    > TEXT-DECORATION: none }
    > .subHeading:hover { TEXT-DECORATION: underline }
    > .topBanner { BACKGROUND-COLOR: #003366 }
    > .subBanner { HEIGHT: 15px; BACKGROUND-COLOR: #0099cc }
    > .date { FONT-SIZE: 10pt }
    > .container {border-left: #0099CC 1px solid; border-right: #0099CC
    > 1px
    > solid; border-bottom: #0099CC 1px solid; width:100%;}
    > </style>
    > </HEAD>
    > <body>
    > <form id="Form" method="post" runat="server">
    > <div class="topBanner">
    > <img id="HeaderImage" runat="server" alt="TeamCentral - TeamMate
    > Audit
    > Management System"/>
    > </div>
    > <div class="subBanner"></div>
    > <center>
    > <table cellpadding="10" cellspacing="0" class="container">
    > <tr><td>
    > <table style="width:100%">
    > <tr>
    > <td class="heading">
    > <asp:Label Runat="server" ID="Name"></asp:Label>
    > <br>
    > <br>
    > </td>
    > </tr>
    > <tr>
    > <td>
    > This is a reminder that you have the following recommendations
    > approaching their implementation dates. Please update each
    > recommendation
    > in TeamCentral by either indicating that it is implemented or revising
    > your
    > implementation date. If you have any questions about how to enter
    > your
    > implementation updates in TeamCentral, please contact (Jane Doe) at
    > (ext.
    > 123).
    > </td>
    > </tr>
    > <tr>
    > <td><hr>
    > </td>
    > </tr>
    > <tr>
    > <td>
    > <asp:Repeater Runat="server" ID="List">
    > <HeaderTemplate>
    > <table style="width:100%"">
    > </HeaderTemplate>
    > <ItemTemplate>
    > <tr>
    > <td>
    > <asp:HyperLink Runat="server"
    > NavigateUrl="<%#Me.GetLink(Container.DataItem)%>" class="subHeading"
    > Font-Underline="True"><%#Me.GetTitle(Container.DataItem)%></asp:HyperL
    > ink>
    > </td>
    > <td align="right" width="15%">
    > <asp:Label Runat="server"
    > class="date"><%#Me.GetDate(Container.DataItem)%></asp:Label>
    > </td>
    > </tr>
    > </ItemTemplate>
    > <FooterTemplate>
    > </table>
    > </FooterTemplate>
    > </asp:Repeater>
    > </td>
    > </tr>
    > </table>
    > </td></tr></table>
    > </center>
    > </form>
    > </body>
    > </HTML
    vincent, Apr 2, 2006
    #2
    1. Advertising

  3. Miloann

    Miloann Guest

    Which group do you recommen I submit the question? Thanks.
    "vincent" <> wrote in message
    news:...
    > Hello Miloann,
    >
    > 1. Wrong newsgroup, your question is not related with webservices
    > 2. If you want to attach a file, you should look at the code sending
    > emails, not the one creating its content.
    > 3. It depends of the way emails are sent, but maybe you can add an
    > hyperlink to your file in your aspx page.
    > 4. Good luck.
    >
    >> We are implementing an application that sends reminder emails to
    >> employees in other departments through intranet. The application
    >> comes with an email template in ASPX. Can I modify the codes to
    >> include an attached word document? Where should I store the word
    >> document? The APSX codes is listed as follows:
    >>
    >> <%@ Page Language="vb" AutoEventWireup="false"
    >> Codebehind="ImplementationReminder.aspx.vb"
    >> Inherits="xxx.WebUI.ImplementationReminder"%>
    >> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    >> <HTML>
    >> <HEAD>
    >> <title>TeamCentral</title>
    >> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
    >> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
    >> <meta content="JavaScript" name="vs_defaultClientScript">
    >> <meta content="http://schemas.microsoft.com/intellisense/ie5"
    >> name="vs_targetSchema">
    >> <style>
    >> BODY { MARGIN: 30px; FONT-FAMILY: arial,Sans-Serif }
    >> DIV { WIDTH: 100% }
    >> TABLE { WIDTH: 80% }
    >> TD { FONT-SIZE: 10pt; font-face: Verdana, Arial, System }
    >> HR { COLOR: #ccebf5; HEIGHT: 1px }
    >> .heading { COLOR: #0099cc }
    >> .subHeading { FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #003366;
    >> TEXT-DECORATION: none }
    >> .subHeading:hover { TEXT-DECORATION: underline }
    >> .topBanner { BACKGROUND-COLOR: #003366 }
    >> .subBanner { HEIGHT: 15px; BACKGROUND-COLOR: #0099cc }
    >> .date { FONT-SIZE: 10pt }
    >> .container {border-left: #0099CC 1px solid; border-right: #0099CC
    >> 1px
    >> solid; border-bottom: #0099CC 1px solid; width:100%;}
    >> </style>
    >> </HEAD>
    >> <body>
    >> <form id="Form" method="post" runat="server">
    >> <div class="topBanner">
    >> <img id="HeaderImage" runat="server" alt="TeamCentral - TeamMate
    >> Audit
    >> Management System"/>
    >> </div>
    >> <div class="subBanner"></div>
    >> <center>
    >> <table cellpadding="10" cellspacing="0" class="container">
    >> <tr><td>
    >> <table style="width:100%">
    >> <tr>
    >> <td class="heading">
    >> <asp:Label Runat="server" ID="Name"></asp:Label>
    >> <br>
    >> <br>
    >> </td>
    >> </tr>
    >> <tr>
    >> <td>
    >> This is a reminder that you have the following recommendations
    >> approaching their implementation dates. Please update each
    >> recommendation
    >> in TeamCentral by either indicating that it is implemented or revising
    >> your
    >> implementation date. If you have any questions about how to enter
    >> your
    >> implementation updates in TeamCentral, please contact (Jane Doe) at
    >> (ext.
    >> 123).
    >> </td>
    >> </tr>
    >> <tr>
    >> <td><hr>
    >> </td>
    >> </tr>
    >> <tr>
    >> <td>
    >> <asp:Repeater Runat="server" ID="List">
    >> <HeaderTemplate>
    >> <table style="width:100%"">
    >> </HeaderTemplate>
    >> <ItemTemplate>
    >> <tr>
    >> <td>
    >> <asp:HyperLink Runat="server"
    >> NavigateUrl="<%#Me.GetLink(Container.DataItem)%>" class="subHeading"
    >> Font-Underline="True"><%#Me.GetTitle(Container.DataItem)%></asp:HyperL
    >> ink>
    >> </td>
    >> <td align="right" width="15%">
    >> <asp:Label Runat="server"
    >> class="date"><%#Me.GetDate(Container.DataItem)%></asp:Label>
    >> </td>
    >> </tr>
    >> </ItemTemplate>
    >> <FooterTemplate>
    >> </table>
    >> </FooterTemplate>
    >> </asp:Repeater>
    >> </td>
    >> </tr>
    >> </table>
    >> </td></tr></table>
    >> </center>
    >> </form>
    >> </body>
    >> </HTML>

    >
    >
    Miloann, Apr 3, 2006
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gerry O'Brien [MVP]
    Replies:
    0
    Views:
    497
    Gerry O'Brien [MVP]
    Apr 11, 2004
  2. vish
    Replies:
    2
    Views:
    1,716
    Steve C. Orr, MCSD
    Jul 16, 2003
  3. Jerry Tovar
    Replies:
    1
    Views:
    2,721
    Jim Cheshire [MSFT]
    Oct 23, 2003
  4. Sriram Mallajyosula

    How do I post data from aspx page to another aspx page.

    Sriram Mallajyosula, Nov 5, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    960
    Steve C. Orr [MVP, MCSD]
    Nov 5, 2003
  5. John M
    Replies:
    1
    Views:
    1,118
    Kumar Reddi
    May 29, 2005
Loading...

Share This Page