[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.mobile

show two List Controls side-by-side

Jasim Iqbal

3/6/2002 8:12:00 AM

hi all,

is it possible two place two 'list' controls in mobile web
form, side-by-side .. ???
i have set the BreakAfter property to false for both
controls but in browser i could not see them side-by-side,
on the other hand with same data 'selectionlist' control
does appear side-by-side.

thanx
-jasim
3 Answers

Jay B. Harlow [MVP - Outlook]

3/7/2002 3:36:00 AM

0

Jasim,
I would create a two column (html) table with a single row, no borders.

Each cell would have a single 'list' control.

Hope this helps
Jay

"Jasim Iqbal" <jasim_iqbal@hotmail.com> wrote in message
news:1862b01c1c4de$3c6d3ba0$37ef2ecf@TKMSFTNGXA13...
> hi all,
>
> is it possible two place two 'list' controls in mobile web
> form, side-by-side .. ???
> i have set the BreakAfter property to false for both
> controls but in browser i could not see them side-by-side,
> on the other hand with same data 'selectionlist' control
> does appear side-by-side.
>
> thanx
> -jasim


Jasim Iqbal

3/7/2002 7:52:00 AM

0

hi jay,

is it possible that u can make tables in Mobile Web
Forms ... ????
if so how can u do that ??

my code for my MobileWebform is as follows:


<%@ Page language="c#" Codebehind="MobileWebForm2.aspx.cs"
Inherits="MasterMobileApp.MobileWebForm2"
AutoEventWireup="false" %>
<%@ Register TagPrefix="mobile"
Namespace="System.Web.UI.MobileControls"
Assembly="System.Web.Mobile, Version=1.0.3300.0,
Culture=neutral, PublicKeyToken°3f5f7f11d50a3a" %>
<meta content="Microsoft Visual Studio 7.0"
name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="http://schemas.microsoft.com/Mobile/...
name="vs_targetSchema">
<body
Xmlns:mobile="http://schemas.microsoft.com/Mobile/WebForm...

<mobile:Form id="Form3" runat="server">
<mobile:List id="lst1" runat="server"
ItemsPerPage="5" Visible="False"></mobile:List>
<mobile:List id="lsttrvtime"
runat="server" BreakAfter="False" ItemsPerPage="5"
Wrapping="Wrap" Alignment="Left"></mobile:List>
<mobile:List id="lsttrtime" runat="server"
ItemsPerPage="5" Wrapping="Wrap"
Alignment="Left"></mobile:List>

[
////// this control should be side to the next following
control
]
<mobile:SelectionList id="strvtime"
runat="server" SelectType="ListBox"
BreakAfter="False"></mobile:SelectionList>
<mobile:SelectionList id="strtime"
runat="server" SelectType="ListBox"></mobile:SelectionList>
<mobile:List id="lsttest" runat="server"
StyleReference="title"></mobile:List>
<mobile:Label id="Label5" runat="server"
Font-Bold="True">Fare</mobile:Label>
<mobile:Label id="lblfare"
runat="server">Label</mobile:Label>
<mobile:Command id="cmdBooking"
runat="server" SoftkeyLabel="9">Booking</mobile:Command>
</mobile:Form>

Jay B. Harlow [MVP - Outlook]

3/8/2002 1:15:00 AM

0

Jasim,
Unfortunately I'm not sure.

I missed the fact I was in the mobile newsgroup. Hopefully I did not lead
you too far astray...

I'll try to check later and let you know...

Jay

"Jasim Iqbal" <jasim_iqbal@hotmail.com> wrote in message
news:1915101c1c59c$54bbd310$37ef2ecf@TKMSFTNGXA13...
> hi jay,
>
> is it possible that u can make tables in Mobile Web
> Forms ... ????
> if so how can u do that ??
>
> my code for my MobileWebform is as follows:
>
>
> <%@ Page language="c#" Codebehind="MobileWebForm2.aspx.cs"
> Inherits="MasterMobileApp.MobileWebForm2"
> AutoEventWireup="false" %>
> <%@ Register TagPrefix="mobile"
> Namespace="System.Web.UI.MobileControls"
> Assembly="System.Web.Mobile, Version=1.0.3300.0,
> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" %>
> <meta content="Microsoft Visual Studio 7.0"
> name="GENERATOR">
> <meta content="C#" name="CODE_LANGUAGE">
> <meta content="http://schemas.microsoft.com/Mobile/...
> name="vs_targetSchema">
> <body
> Xmlns:mobile="http://schemas.microsoft.com/Mobile/WebForm...
>
> <mobile:Form id="Form3" runat="server">
> <mobile:List id="lst1" runat="server"
> ItemsPerPage="5" Visible="False"></mobile:List>
> <mobile:List id="lsttrvtime"
> runat="server" BreakAfter="False" ItemsPerPage="5"
> Wrapping="Wrap" Alignment="Left"></mobile:List>
> <mobile:List id="lsttrtime" runat="server"
> ItemsPerPage="5" Wrapping="Wrap"
> Alignment="Left"></mobile:List>
>
> [
> ////// this control should be side to the next following
> control
> ]
> <mobile:SelectionList id="strvtime"
> runat="server" SelectType="ListBox"
> BreakAfter="False"></mobile:SelectionList>
> <mobile:SelectionList id="strtime"
> runat="server" SelectType="ListBox"></mobile:SelectionList>
> <mobile:List id="lsttest" runat="server"
> StyleReference="title"></mobile:List>
> <mobile:Label id="Label5" runat="server"
> Font-Bold="True">Fare</mobile:Label>
> <mobile:Label id="lblfare"
> runat="server">Label</mobile:Label>
> <mobile:Command id="cmdBooking"
> runat="server" SoftkeyLabel="9">Booking</mobile:Command>
> </mobile:Form>