[Mono-bugs] [Bug 488634] New: Response.write unable to print variable value in html body

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 25 06:22:39 EDT 2009


           Summary: Response.write unable to print variable value in html
    Classification: Mono
           Product: Mono: Runtime
           Version: 1.2.6
          Platform: All
        OS/Version: RHEL 4
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: sachinpatil10d at yahoo.co.in
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development

sachin patil <sachinpatil10d at yahoo.co.in> changed:

           What    |Removed                     |Added
               Flag|                            |SHIP_STOPPER?, CCB_Review?

Description of Problem:
Variable value is not printed in text box in html body
i.e. <%=response.write(X)%> or <%=X%>
where X is variable decalred in vb code

this code works fine when written in html body
but gives error when written inside text box decleartion 

Steps to reproduce the problem:
    public  X AS INTEGER
    public Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
'Handles Me.Load
        Catch ex As Exception
        End Try
    End Sub

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

<html xmlns="http://www.w3.org/1999/xhtml" >
<head >
    <title>Untitled Page</title>
    <form id="form1" runat="server">
            <TD WIDTH="20%" COLSPAN="20" ALIGN="LEFT">
                &nbsp;&nbsp;<LABEL CLASS="CAPTION">Text Box</LABEL>
            <TD WIDTH="80%" COLSPAN="80" ALIGN="LEFT">
                <input type="text" id="TXT" name="TXT" size="10" maxlength="10"
VALUE=" <%response.write(X)%>" >
                <input type="text" id="TXT1" name="TXT1" size="10"
maxlength="10" VALUE=" <%=X%>" >
Actual Results:
Compilation Error

Description: Error compiling a resource required to service this request.
Review your source file and modify it to fix this error.

Compiler Error Message:
/tmp/apache-temp-aspnet-0/1df4f68f/App_Web_44e91ec3_1.vb(12,18) : warning
VBNC99998: Option Strict Off will probably fail.
/tmp/apache-temp-aspnet-0/1df4f68f/App_Web_44e91ec3_2.vb(12,18) : warning
VBNC99998: Option Strict Off will probably fail.
/tmp/apache-temp-aspnet-0/1df4f68f/App_Web_44e91ec3_0.vb(43,31) : error
VBNC99997: You've encountered something in the compiler which is not
implemented. Please file a bug (see instructions here:

Expected Results:
text box should show the value of variable X

How often does this happen? 

Additional Information:
1. works on mozilla firefox 3.0 on windows paltform 
2. doest'n works  on firefox 2.0 on unix platform

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list