Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Mobile / October 2004

Tip: Looking for answers? Try searching our database.

Objectlist detailswindow

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
EMW - 15 Oct 2004 21:23 GMT
Hi,

For my ASP.NET mobile application I have an objectlist on my form which is
populated by a dataset.
When I run it, I can tap on one of the row items and I get a nice details
view (created by the control).
Is it possible to add a link to that details window?
The list shows some possible downloads and I would like it to be possible
that the user first taps on it, then get the details view and he can tap on
a link or button to download it.

Is this possible and if yes, how?

rg,
Eric
Lee_Nover - 16 Oct 2004 11:47 GMT
> that the user first taps on it, then get the details view and he can tap  
> on
> a link or button to download it.
>
> Is this possible and if yes, how?

yep .. just add a Command like 'Download' :)

you can do it in designtime or rt with:

    cmdDl = new System.Web.UI.MobileControls.ObjectListCommand("Download",  
"Download");
    void olDelavci_ShowItemCommands(object sender,  
ObjectListShowCommandsEventArgs e) {
      //if (isdownloadable) {
        olDelavci.Commands.Add(cmdDl);
      //}
    }

    void olDelavci_ItemCommand(object sender, ObjectListCommandEventArgs  
e) {
      if (e.CommandName == "Download") { .. do your download
EMW - 16 Oct 2004 14:30 GMT
thanks!

>> that the user first taps on it, then get the details view and he can tap
>> on
[quoted text clipped - 18 lines]
> e) {
>       if (e.CommandName == "Download") { .. do your download

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.