Last post Sep 22, 2008 07:24 AM by tmine
None
0 Points
2 Posts
Sep 21, 2008 02:27 PM|tmine|LINK
Hello All,
I just uploaded the PWS to my webserver. Everything seems to work fine.
However, the 'Photo of the Day" section does not showup on the Default.aspx page - in either logged in or Logged out mode.
Can anyone give me some guidence here an how I get this to appear?
Many Thanks!
Personal web site Photo of the Day
Participant
1465 Points
449 Posts
Sep 22, 2008 12:57 AM|ankit.sri|LINK
How do you fetch Photo Of the Day?
Sep 22, 2008 07:24 AM|tmine|LINK
Hi Ankit.sri,
Thank you for your response!
I will tell you up front that I'm new to ASP.Net so all I did here was follow the documentation on deploying this web site. I'm learning as I go.
Below is the section of code for the 'Photo of the Day' in the Defaulat.aspx page.
Thanks again!
<asp:formview id="FormView1" runat="server" datasourceid="ObjectDataSource1" ondatabound="Randomize" cellpadding="0" borderwidth="0px"> <ItemTemplate> <h4>Photo of the Day</h4> <table border="0" cellpadding="0" cellspacing="0" class="photo-frame"> <tr> <td class="topx--"></td> <td class="top-x-"></td> <td class="top--x"></td> </tr> <tr> <td class="midx--"></td> <td><a href='Details.aspx?AlbumID=<%# Eval("AlbumID") %>&Page=<%# Container.DataItemIndex %>'> <img src="Handler.ashx?PhotoID=<%# Eval("PhotoID") %>&Size=M" class="photo_198" style="border:4px solid white" alt='Photo Number <%# Eval("PhotoID") %>' /></a></td> <td class="mid--x"></td> </tr> <tr> <td class="botx--"></td> <td class="bot-x-"></td> <td class="bot--x"></td> </tr> </table> <p>Screenshots that show-off some of the new Web developement features in VS 2008</p> <p><a href='Download.aspx?AlbumID=<%# Eval("AlbumID") %>&Page=<%# Container.DataItemIndex %>'> <asp:image runat="Server" id="DownloadButton" AlternateText="download photo" skinid="download"/></a></p> <p>See <a href="Albums.aspx">more photos </a></p> <hr /> </ItemTemplate> </asp:formview>
None
0 Points
2 Posts
Photo of the Day
Sep 21, 2008 02:27 PM|tmine|LINK
Hello All,
I just uploaded the PWS to my webserver. Everything seems to work fine.
However, the 'Photo of the Day" section does not showup on the Default.aspx page - in either logged in or Logged out mode.
Can anyone give me some guidence here an how I get this to appear?
Many Thanks!
Personal web site Photo of the Day
Participant
1465 Points
449 Posts
Re: Photo of the Day
Sep 22, 2008 12:57 AM|ankit.sri|LINK
How do you fetch Photo Of the Day?
None
0 Points
2 Posts
Re: Photo of the Day
Sep 22, 2008 07:24 AM|tmine|LINK
Hi Ankit.sri,
Thank you for your response!
I will tell you up front that I'm new to ASP.Net so all I did here was follow the documentation on deploying this web site. I'm learning as I go.
Below is the section of code for the 'Photo of the Day' in the Defaulat.aspx page.
Thanks again!