waxmiguelito / iui

Automatically exported from code.google.com/p/iui
MIT License
0 stars 0 forks source link

Can't use ASP.NET forms and buttons #324

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. By using ASP.NET, create a form with two fields and a button
2. The button should have a page referenced in the PostBackUrl
3. Clicking on the button gets us to a #_1___ div, which does not exist

What is the expected output? What do you see instead?
I expect the page to perform the usual operation, which is go to the page the 
button is supposed to load (or perform a server operation)

What version of the product are you using? On what operating system?
I'm using the js referenced in this demo 
(http://www.iui-js.org/documentation/0.50/getting-started/example-form1.html#_sc
reen1), since it's the only one with a proper resizeable panel.

This is my code:

    <body>
        <!-- TOOLBAR -->
        <div class="toolbar">
            <h1 id="pageTitle">Mobile</h1>
            <a id="backButton" class="button" href="#"></a>
        </div>

        <!-- FORM -->

        <form ID="login" title="Login" name="formLogin" runat="server" class="panel" selected="true" method="get">
            <fieldset>
                <div class="row">
                    <label>User</label>
                    <input type="text" name="txtUser" placeholder="Nome utente">
                </div>
                <div class="row">
                    <label>Password</label>
                    <input type="password" name="txtPsw" placeholder="Password">
                </div>
            </fieldset>

            <asp:Button ID="btnLogin" runat="server" PostBackUrl="~/Page.aspx" CssClass="whiteButton">Log in</asp:LinkButton>
        </form>

    </body>

Original issue reported on code.google.com by francesc...@gmail.com on 23 Jan 2012 at 5:48

GoogleCodeExporter commented 9 years ago
Can you please provide an example of the issue that doesn't use the 
<asp:Button> tag?  (i.e. Do a view source in your page and create a static HTML 
example that illustrates the problem.)

Original comment by msgilli...@gmail.com on 23 Jan 2012 at 8:32

GoogleCodeExporter commented 9 years ago
This is the original ASP.NET source: http://pastebin.com/BTFbd0ga
And this is the compiled web page: http://pastebin.com/hqQFqXF5
Thank you!

Original comment by francesc...@gmail.com on 24 Jan 2012 at 8:19

GoogleCodeExporter commented 9 years ago
I just found out that if I delete the toolbar, everything works fine. Why is 
that?

Original comment by francesc...@gmail.com on 24 Jan 2012 at 11:24

GoogleCodeExporter commented 9 years ago
If you're looking for support, please use the iPhoneWebDev Google Group.  It's 
really the best way to get help -- Posting a link to a live demo is very 
helpful when posting there, too.

I can't debug your app for you here.  If you can provide a reproducible test 
case that is ideally server-side independent -- that is, in a static HTML file 
using an unmodified iui.css and iui.js -- that is the best way to report a bug.

Original comment by msgilli...@gmail.com on 24 Jan 2012 at 7:31

GoogleCodeExporter commented 9 years ago
Thank you. I just subscribed to the group ;)

Original comment by francesc...@gmail.com on 25 Jan 2012 at 9:11