Click here to Skip to main content
16,004,890 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: asp textbox inside a table Pin
minhpc_bk20-Dec-06 14:11
minhpc_bk20-Dec-06 14:11 
GeneralRe: asp textbox inside a table Pin
prolibertine20-Dec-06 22:57
prolibertine20-Dec-06 22:57 
QuestionHow to Update Gridview with callback Pin
ben220-Dec-06 11:52
ben220-Dec-06 11:52 
AnswerRe: How to Update Gridview with callback Pin
minhpc_bk20-Dec-06 14:14
minhpc_bk20-Dec-06 14:14 
GeneralRe: How to Update Gridview with callback Pin
ben220-Dec-06 15:32
ben220-Dec-06 15:32 
GeneralRe: How to Update Gridview with callback Pin
prolibertine20-Dec-06 23:00
prolibertine20-Dec-06 23:00 
Questionsecurity and SMTP [modified] Pin
whatever10120-Dec-06 10:21
whatever10120-Dec-06 10:21 
QuestionWhat's wrong with my asp:Literal??? [modified] Pin
code-frog20-Dec-06 10:15
professionalcode-frog20-Dec-06 10:15 
<b>I fixed this problem and it's not longer an issue.</b>

I renamed the PageHTML literal to Literal1 and it works. I haven't researched it but my gut
feeling tells me I'm using the PageHTML literal in the master page this page derives from
and that's a problem I'd guess.







Anybody see what I'm doing wrong with my asp:Literal "PageHTML"? Oddly enought "CommentsHTML" shows up fine. But PageHTML is always blank. Another odd one is that I can put any text I want after the closing literal tag for PageHTML and that text appears fine. So it must be something inside the PageHTML from the DB but what?

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<div>
<br />
<table align="left" style="width: 448px; position: relative; top: -19px; height: 320px">
<tr>
<td rowspan="2" style="width: 179px; height: 237px" valign="top">
<asp:Image ID="Image1" runat="server" Height="228px" Style="position: relative" Width="172px" /></td>
<td align="left" rowspan="2" style="height: 237px" valign="top">
<asp:Literal ID="PageHTML" runat="server" /></td>
</tr>
<tr>
</tr>
<tr>
<td colspan="2" style="height: 21px">
<asp:Literal ID="CommentsHTML" runat="server" /></td>
</tr>
</table>
</div>
</asp:Content>

Here's the contents I'm passing into PageHTML:

<p><font face="Arial, Helvetica, sans-serif" size="2"><strong>Mrs. Jane Wilson<br />
</strong>Mrs. Wilson has been at Bishop Kelly for 29 years. Ms. Wilson is a member of the Art Department.</font></p>
<p><font face="Arial, Helvetica, sans-serif" size="2"><strong>Email</strong><br />
<a href="mailto:jwilson@bk.org">jwilson@bk.org</a></font></p>
<p><font face="Arial, Helvetica, sans-serif" size="2"><strong>Education </strong><br />
Bachelor's in Art Education from Washington State University.<br />
Master's in Art Education from Boise State University.</font></p>
<p><font face="Arial, Helvetica, sans-serif" size="2"><strong>Class Schedule</strong></font></p>
<ol>
<li><font face="Arial, Helvetica, sans-serif" size="2">Art/Painting</font> </li>
<li><font face="Arial, Helvetica, sans-serif" size="2">Pottery</font> </li>
<li><font face="Arial, Helvetica, sans-serif" size="2">Pottery</font> </li>
<li><font face="Arial, Helvetica, sans-serif" size="2">Prep</font> </li>
<li><font face="Arial, Helvetica, sans-serif" size="2">Pottery</font> </li>
<li><font face="Arial, Helvetica, sans-serif" size="2">Pottery</font> </li>
<li><font face="Arial, Helvetica, sans-serif" size="2">Advanced Placement</font> </li>
</ol>
<p><font face="Arial, Helvetica, sans-serif" size="2"><strong>Clubs/Programs</strong></font></p>
<ul>
<li><font face="Arial, Helvetica, sans-serif" size="2">Art Club</font> </li>
</ul>



-- modified at 16:33 Wednesday 20th December, 2006
AnswerRe: What's wrong with my asp:Literal??? Pin
code-frog20-Dec-06 10:19
professionalcode-frog20-Dec-06 10:19 
GeneralRe: What's wrong with my asp:Literal??? Pin
minhpc_bk20-Dec-06 14:07
minhpc_bk20-Dec-06 14:07 
GeneralRe: What's wrong with my asp:Literal??? Pin
code-frog20-Dec-06 16:25
professionalcode-frog20-Dec-06 16:25 
GeneralRe: What's wrong with my asp:Literal??? Pin
minhpc_bk20-Dec-06 17:29
minhpc_bk20-Dec-06 17:29 
QuestionDisable root node collapse on treeview with databind? Pin
walkeraj20-Dec-06 9:59
walkeraj20-Dec-06 9:59 
Questionsending data from child gridview to parent gridview Pin
srishree20-Dec-06 9:45
srishree20-Dec-06 9:45 
QuestionEmitting simple plain text rather than HTML Pin
Nadia Monalisa20-Dec-06 9:31
Nadia Monalisa20-Dec-06 9:31 
AnswerRe: Emitting simple plain text rather than HTML Pin
Netricity20-Dec-06 11:58
Netricity20-Dec-06 11:58 
GeneralRe: Emitting simple plain text rather than HTML Pin
Nadia Monalisa21-Dec-06 8:01
Nadia Monalisa21-Dec-06 8:01 
QuestionCSV file - How to Pin
alexfromto20-Dec-06 9:15
alexfromto20-Dec-06 9:15 
AnswerRe: CSV file - How to Pin
ToddHileHoffer20-Dec-06 9:23
ToddHileHoffer20-Dec-06 9:23 
QuestionModifing web gridview control Pin
Quecumber25620-Dec-06 8:52
Quecumber25620-Dec-06 8:52 
AnswerRe: Modifing web gridview control Pin
ToddHileHoffer20-Dec-06 9:07
ToddHileHoffer20-Dec-06 9:07 
GeneralRe: Modifing web gridview control Pin
Quecumber25620-Dec-06 9:29
Quecumber25620-Dec-06 9:29 
GeneralRe: Modifing web gridview control Pin
ToddHileHoffer20-Dec-06 9:51
ToddHileHoffer20-Dec-06 9:51 
GeneralRe: Modifing web gridview control Pin
Quecumber25620-Dec-06 10:26
Quecumber25620-Dec-06 10:26 
QuestionSort Datagrid Pin
ADY00720-Dec-06 7:58
ADY00720-Dec-06 7:58 

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.