By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,492 Members | 1,199 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,492 IT Pros & Developers. It's quick & easy.

Mobile "Repeater"

P: n/a
Hi. I'm trying to figure out how you do the most basic Data-Bound "Repeater"
functionality on a Mobile ASPX page. I don't mean a list box, because it will
have repeated HTML and User Controls in each Row. How do I do this, please?

Thanks!

Alex
Aug 6 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi Alex,

For standard web page's "Repeater" like functionality, in ASP.NET Mobile
application, there are two common approaches:

1) you can have a look at the "ObjectList" control, this is the template
databound control in ASP.NET Mobile's standard control collection:

#Introduction to the ObjectList Control
http://msdn2.microsoft.com/en-us/library/d7hb3s0f.aspx

#Using Data Binding with ASP.NET Mobile Controls
http://msdn2.microsoft.com/en-us/library/8yc44h4d.aspx
2) As we've discussed in some previous methods. Using DeviceSpecific
template is always an options for those HTML/XHTML suppoted device, and you
can define and use standard ASP.NET controls(datalist or repeater) in those
specific template:

#Template Sets and Templated Controls
http://msdn2.microsoft.com/en-us/library/39dfzhdc.aspx

#How to: Create and Edit Templates
http://msdn2.microsoft.com/en-us/library/6c1x9zwd.aspx

#Customizing ASP.NET Mobile Web Controls for Specific Devices
http://msdn2.microsoft.com/en-us/library/0ffa7b0h.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.




Aug 7 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.