<script language="javascript" type="text/javascript">
function ShowTrace()
{
    v = Form1.Text1.value + ' ' + Form1.Text2.value;
    Sys.Debug.trace(v);
}
function ClearTrace()
{
    Sys.Debug.clearTrace();
}
</script>
</head>
<body>
    <form id="Form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
            <asp:Label ID="Label1" runat="server" Text="Podaj imię:"> </asp:Label>
            <input id="Text1" maxlength="50" type="text" />
            <asp:Label ID="Label2" runat="server" Text="Podaj nazwisko:"> </asp:Label>
            <input id="Text2" maxlength="50" type="text" />
            <br /><br />
            <table>
            <tr>
            <td>
            <input id="btnShowTrace" type="button" value="Pokaż dane śledzenia" style="width: 150px" onclick="ShowTrace();" /><br />
            </td>
            <td>
            <input id="btnClearTrace" type="button" value="Wyczyść" style="width: 80px" onclick="ClearTrace();" /><br />
            </td>
            </tr>
            </table>
            <br />
            <textarea id='TraceConsole' rows="5" cols="50" title="TraceConsole"> </textarea>
</form>
