Issue 324 in iui: Can't use ASP.NET forms and buttons

0 views
Skip to first unread message

i...@googlecode.com

unread,
Jan 23, 2012, 12:49:27 PM1/23/12
to iui-i...@googlegroups.com
Status: New
Owner: ----

New issue 324 by francesc...@gmail.com: Can't use ASP.NET forms and buttons
http://code.google.com/p/iui/issues/detail?id=324

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#_screen1),
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>

i...@googlecode.com

unread,
Jan 23, 2012, 3:33:32 PM1/23/12
to iui-i...@googlegroups.com

Comment #1 on issue 324 by msgilli...@gmail.com: Can't use ASP.NET forms
and buttons
http://code.google.com/p/iui/issues/detail?id=324

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.)


i...@googlecode.com

unread,
Jan 24, 2012, 3:20:41 AM1/24/12
to iui-i...@googlegroups.com

Comment #2 on issue 324 by francesc...@gmail.com: Can't use ASP.NET forms
and buttons
http://code.google.com/p/iui/issues/detail?id=324

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

i...@googlecode.com

unread,
Jan 24, 2012, 6:24:35 AM1/24/12
to iui-i...@googlegroups.com

Comment #3 on issue 324 by francesc...@gmail.com: Can't use ASP.NET forms
and buttons
http://code.google.com/p/iui/issues/detail?id=324

I just found out that if I delete the toolbar, everything works fine. Why
is that?

i...@googlecode.com

unread,
Jan 24, 2012, 2:32:35 PM1/24/12
to iui-i...@googlegroups.com

Comment #4 on issue 324 by msgilli...@gmail.com: Can't use ASP.NET forms
and buttons
http://code.google.com/p/iui/issues/detail?id=324

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.


i...@googlecode.com

unread,
Jan 25, 2012, 4:12:35 AM1/25/12
to iui-i...@googlegroups.com

Comment #5 on issue 324 by francesc...@gmail.com: Can't use ASP.NET forms
and buttons
http://code.google.com/p/iui/issues/detail?id=324

Thank you. I just subscribed to the group ;)

Reply all
Reply to author
Forward
0 new messages