Click here to Skip to main content
16,006,845 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Problem with AJAX and Mozilla Firefox browser Pin
Shog91-Nov-05 8:44
sitebuilderShog91-Nov-05 8:44 
QuestionUsing a COM object from a .NET web service Pin
DavidWilson19741-Nov-05 0:42
DavidWilson19741-Nov-05 0:42 
AnswerRe: Using a COM object from a .NET web service Pin
Leather992-Nov-05 3:44
Leather992-Nov-05 3:44 
QuestionDownloading multiple files using html Pin
trajax31-Oct-05 12:57
trajax31-Oct-05 12:57 
AnswerRe: Downloading multiple files using html Pin
Curtis Schlak.22-Nov-05 15:26
Curtis Schlak.22-Nov-05 15:26 
QuestionWeb Service Question Pin
maxiachun31-Oct-05 12:19
maxiachun31-Oct-05 12:19 
AnswerRe: Web Service Question Pin
enjoycrack31-Oct-05 14:26
enjoycrack31-Oct-05 14:26 
QuestionLiteral Size Limit? Pin
HurricaneFlossie31-Oct-05 11:17
HurricaneFlossie31-Oct-05 11:17 
I'm somewhat new to web development (from the C++/ATL/COM world) and recently inherited a project that was half complete. The function in question is generating XML for output. My predecessor had created a window with a literal "aText" to display the output XML. If I have a small amount of text, then it is displayed, however, when I have a large amount of XML it will not display.

Is there a maximum length for a literal field? Is there a better way to display this? My XML is formatted with with CRs and LFs. Is this the problem? If so, I would think I might at least see the first line.

Here's my C# code.

public class GenXML : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Literal aText;

private void Page_Load(object sender, System.EventArgs e)
{
...
string sSuccess = PermObj.GenerateXML(Convert.ToInt32(sAdminID),
Convert.ToInt32(PermLibrary.GetLicenseID()));
aText.Text = sSuccess;
}
}

...and the calling JS code which displays the results.

window.open("GenXML.aspx", "popwin","height=500,width=600,scrollbars=yes,screenX=40,screenY=40,top=40,left=40");

...and the HTML from the page

</HEAD>
<body onload="PopAlert();" onblur="window.focus();">
&nbsp;<br>
<center><b>CHANGES HAVE BEEN SAVED.</b> <input type="submit" onclick="window.close();" value="CLOSE">
<br>
<br>
<asp:Literal ID="aText" Runat="server"></asp:Literal>
<br>
<form>
&nbsp;</form>
</center>
</body>

Anything obviously wrong here?


Some people see things that are and ask, Why? Some people dream of things that never were and ask, Why not? Some people have to go to work and don't have time for all that ...
Author: George Carlin


QuestionAdding columns from different tables Pin
gmag4731-Oct-05 8:30
gmag4731-Oct-05 8:30 
Questionstyle sheet question Pin
matthias s.31-Oct-05 4:09
matthias s.31-Oct-05 4:09 
AnswerRe: style sheet question Pin
brianwelsch4-Nov-05 17:32
brianwelsch4-Nov-05 17:32 
QuestionGet MAC adress using SSH Pin
Spaz8030-Oct-05 21:27
Spaz8030-Oct-05 21:27 
AnswerRe: Get MAC adress using SSH Pin
enjoycrack31-Oct-05 13:24
enjoycrack31-Oct-05 13:24 
GeneralRe: Get MAC adress using SSH Pin
Spaz8031-Oct-05 20:35
Spaz8031-Oct-05 20:35 
Questionweb design using .ascx file Pin
momoo30-Oct-05 17:13
momoo30-Oct-05 17:13 
AnswerRe: web design using .ascx file Pin
Vasudevan Deepak Kumar30-Oct-05 18:30
Vasudevan Deepak Kumar30-Oct-05 18:30 
QuestionI cannot download executables form my site Pin
dundealing30-Oct-05 3:37
dundealing30-Oct-05 3:37 
QuestionHow do you retrive status bar text ? Pin
Enthusiastmrkd29-Oct-05 6:03
Enthusiastmrkd29-Oct-05 6:03 
AnswerRe: How do you retrive status bar text ? Pin
Curtis Schlak.22-Nov-05 15:42
Curtis Schlak.22-Nov-05 15:42 
QuestionDomain parsing Pin
Tom Archer28-Oct-05 10:08
Tom Archer28-Oct-05 10:08 
AnswerRe: Domain parsing Pin
Ed Gadziemski29-Oct-05 18:46
professionalEd Gadziemski29-Oct-05 18:46 
GeneralRe: Domain parsing Pin
Vasudevan Deepak Kumar30-Oct-05 18:28
Vasudevan Deepak Kumar30-Oct-05 18:28 
GeneralRe: Domain parsing Pin
Ed Gadziemski31-Oct-05 14:06
professionalEd Gadziemski31-Oct-05 14:06 
GeneralRe: Domain parsing Pin
Tom Archer31-Oct-05 6:23
Tom Archer31-Oct-05 6:23 
Questionloosing my session object Pin
cmarmr28-Oct-05 7:02
cmarmr28-Oct-05 7:02 

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.