Hi 

I am new to develop ASP.Net applications. I try to develop a database driven 
app using Microsoft Framework 2.0 using Visual Studio 2008. Under XP everything 
is OK but when making website public on a OpenSuse 11.1-machine, not everything 
is OK. My problem is:
On the form there is a button for deleting a record in the database. Before 
doing so a confirmation should appear on the screen. After pressing OK the 
record should be deleted in database. 
For generating the confirmation dialog javascript is used which set an hidden 
field with true/false-value:

    <script type="text/javascript">

        function ConfirmDelete() {
            dlgconfirm = confirm("Soll der Datensatz gel??scht werden?");
            var input = document.getElementsByName("confirmvalue");
            if (input.length == 0) {
                input = document.createElement("input");
                input.setAttribute("type", "hidden");
                input.setAttribute("name", "confirmvalue");
                input.setAttribute("value", dlgconfirm);
                document.getElementById("aspnetForm").appendChild(input);
            }
            else {
                input[0].value = dlgconfirm;
            }
        }
    </script>

Under WinXP it is ok. In the page_load-procedure I can get the value of the 
hidden field "confirmvalue"

                // Confirm f??r L??schen?
                if (Request.Form["confirmvalue"] != null) {
                    if (Request.Form["confirmvalue"].ToString().ToLower() == 
"true") {
                        btnL??schenAusf??hren_Click(sender, e);
                    }
                }

But when copying the website to OpenSuSE 11.1 the confirmation dialog appears 
but I can not access the value using Request.Form or Request.Params.
Then I tried to set a cookie. Under XP this cookie can be read but not under 
OpenSuSE 11.1. I think, there is a configuration problem in mono... But where 
should I have look at?

Greeting Arne 

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to