HighTechTalks DotNet Forums  

can't make objectlist show items in pages

ASP.net Mobile microsoft.public.dotnet.framework.aspnet.mobile


Discuss can't make objectlist show items in pages in the ASP.net Mobile forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Nikolay Anestev
 
Posts: n/a

Default can't make objectlist show items in pages - 12-07-2004 , 12:37 PM






Hi all.
I just cann't make this ObjectList control show items in pages. I set the
"ItemsPerPage", but it not works.
Also, I'd like to have every command object look like a link. I set the
"Format" property with "Link" value and it looks good in the form designer,
but when run on a device or on an emulator all the command objects appear as
buttons.

Any ideas?
Thank you in advance.
Best regards to all.

Nikolay Anestev



Reply With Quote
  #2  
Old   
Andy
 
Posts: n/a

Default RE: can't make objectlist show items in pages - 03-05-2005 , 09:01 AM






Greetings!

"Nikolay Anestev" wrote:

Quote:
Hi all.
I just cann't make this ObjectList control show items in pages. I set the
"ItemsPerPage", but it not works.
I had that problem, too, until I found I had to set to 'true' the Paginate
property of the form the ObjectList control was in.

frm.Paginate = true;

Quote:
Also, I'd like to have every command object look like a link. I set the
"Format" property with "Link" value and it looks good in the form designer,
but when run on a device or on an emulator all the command objects appear as
buttons.
That depends on what emulator you are using. I found that a Command control
with the Format property set to Link comes out as a link on Openwave and
PocketPC emulators, but is still a button on BlackBerry browsers.

My big Microsoft Press book on ASP.NET mobile controls is no help, either,
because the authors use <asp:LinkButton> instead of <mobile:Command> for
their link in their code. I'm still working on this problem myself.

Hope my information was of some use to you.

Quote:
Nikolay Anestev
Andy West


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.