Issue 244 in iui: Dynamique update the contents of the page with ASP.net

3 views
Skip to first unread message

i...@googlecode.com

unread,
May 4, 2010, 10:00:33 AM5/4/10
to iui-i...@googlegroups.com
Status: New
Owner: ----

New issue 244 by iyurnero: Dynamique update the contents of the page with
ASP.net
http://code.google.com/p/iui/issues/detail?id=244

Hello, i recently use the iui framework and it looks cool.

In the tag "li" which is clickable, i want to change the content before
the animation of slide: when i click one "li" in a "ul", i want to get the
data from SQL Server, then show it in the screen, i want to remain the
slide animation, so i can only change dynamiquely the content of the html.

I can add a onclick event on "li" or "ul", but onclick just work in
javascript which is client-side, now i want to get the data from the sql
server, i have to idea how to do it? Anyone can help me? thanks

--
You received this message because you are subscribed to the Google Groups "iui-issues" group.
To post to this group, send email to iui-i...@googlegroups.com.
To unsubscribe from this group, send email to iui-issues+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/iui-issues?hl=en.

i...@googlecode.com

unread,
May 18, 2010, 8:44:47 AM5/18/10
to iui-i...@googlegroups.com

Comment #1 on issue 244 by slak.bouchra: Dynamique update the contents of
hi,

well, i'm a beginner too, but here's how i proceed:

index.html:
<html>
...
<body>
<div class="toolbar">
<h1 id="pageTitle"></h1>
<a id="backButton" class="button" href="#"></a>
</div>
<div id="myliste" title="MyListe" selected="true">
...
<li><a href="data.php" target="_self">my liste item</a></li>
...
</div>
...
</body>
</html>


data.php:
<html>
...
<body>
<div class="toolbar">
<h1 id="pageTitle"></h1>
<a id="backButton" class="button" href="#"></a>
</div>
<div id="mycode" title="Mycode" selected="true">
<?php
my code
?>
</div>
...
</body>
</html>




make sure you put all your code inside the div with the id=mycode (which
you can
modify, it's just for exemple)
any variable definition or file include outside the layer won't be
considered (don't
know why, it happened to me ;-) )

good luck.

i...@googlecode.com

unread,
May 18, 2010, 9:01:09 AM5/18/10
to iui-i...@googlegroups.com

Comment #2 on issue 244 by slak.bouchra: Dynamique update the contents of
oups, sorry, i give an exemple with php code. did'nt see you use Asp.net :-)

but it's the same principle i think

i...@googlecode.com

unread,
May 18, 2010, 3:04:18 PM5/18/10
to iui-i...@googlegroups.com

Comment #3 on issue 244 by iyurnero: Dynamique update the contents of the
Thanks for your help, slak.bouchra. I have figured it out last week.

i...@googlecode.com

unread,
Jan 24, 2012, 2:20:23 AM1/24/12
to iui-i...@googlegroups.com
Updates:
Status: Invalid

Comment #4 on issue 244 by msgilli...@gmail.com: Dynamique update the

contents of the page with ASP.net
http://code.google.com/p/iui/issues/detail?id=244

Doesn't sound like this was a bug.


Reply all
Reply to author
Forward
0 new messages