|
iUIWithASPNet
iUI and ASP.NET Integration
IntroductioniUI is independent of the server side and can (in theory) be used with any sever-side framework. This page contains information about integrating iUI with ASP.NET. (For now it is a collection of useful links.) Links
|
► Sign in to add a comment
I used the WriteSubstitution? command, works fine. <%Response.WriteSubstitution?(AddressOf? myClass.GetHTMLCode)%>
Regards, PL
Just to let you know that I've integrated iUI in a new ASP .NET project (C#) without any issues, like with any other server side language (PHP for example). :-)
It works with ASP.net without any issues. You can either use a web service or aspx directly to make server side calls.
Can someone provide a sample iui project for visual studio 2008 and asp.net (vb.net)?
can some provide calender control for iui
I have some issues using ASP.NET with iUI. It seems because of the "form" that must be in every aspx site, the slide effect doesn't show up.
The wiki is not a place to get support. Please ask your questions in the iPhoneWebDev Google group. You're likely to get an answer there...
i have gotten around the issue of the server side form to create a iUI menu based on the ASP.NET SiteMap? by:
- creating a recursive method (AddRepeater?) which adds repeater controls for each node (if it has child nodes) in the web.sitemap (or whatever sitemap provider you use)
- calling AddRepeater?(SiteMap?.RootNode?.ChildNodes??) in Page_Load??
TIP: use user controls for your HeaderTemplate?, ItemTemplate?, and FooterTemplates? and format each repeater as a UL with LI children with the required attributes to work with iuiPrivate Sub AddRepeater(ByVal datasource As IEnumerable) Dim rpt As New Repeater rpt.EnableViewState = False rpt.HeaderTemplate = LoadTemplate("~/Controls/iPhoneMenuHeaderTemplate.ascx") rpt.ItemTemplate = LoadTemplate("~/Controls/iPhoneMenuItemTemplate.ascx") rpt.FooterTemplate = LoadTemplate("~/Controls/iPhoneMenuFooterTemplate.ascx") 'add itemDataBound handler AddHandler rpt.ItemDataBound, AddressOf DynamicRepeater_ItemDataBound 'load and display rpt.DataSource = datasource PlaceHolder1.Controls.Add(rpt) rpt.DataBind() 'add repeaters for any child nodes Dim smnc As SiteMapNodeCollection = CType(datasource, SiteMapNodeCollection) For Each n As SiteMapNode In smnc If n.HasChildNodes Then Me.AddRepeater(n.ChildNodes) End If Next End SubHi all, I have been using IUI with mvc and razor for the last couple of weeks and i would like to know if anyone has managed to get a load on demand section working like: http://demo.iui-js.org/samples/digg/index.html#_home
I would be gratefull if anyone can help me accomplish this. So far i have populated a html table using a for each loop which displays all products or as many as i decide using linq take x but cant think of a way to have a button/ link stating get next x (10 or so) and then do so.
Any suggestions/ help be grateful
Try asking on the iPhoneWebDev Google Group: http://groups.google.com/group/iphonewebdev
Hi all,
I am having the same problem as this thread now: http://groups.google.com/group/iphonewebdev/browse_thread/thread/f460...
After login i want to show them the toolbar with their extra items etc but i cant even do a full post back without the iui js jumping in and loading it in the main toolbar as 99% of the time you want to happen. I am sure there must be away to refresh the toolbar as the thread i attached above shows but why is something easy not integrated into the iui code ie a link to the main page with refresh content etc or simiiar that overides all else.
Thanks in advance.
I did post this here: http://groups.google.com/group/iphonewebdev/browse_thread/thread/427c8a65d29a63f but i did not manage to find a solution.