Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > Objectlist detailswindow

Reply
Thread Tools

Objectlist detailswindow

 
 
EMW
Guest
Posts: n/a
 
      10-15-2004
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


 
Reply With Quote
 
 
 
 
Lee_Nover
Guest
Posts: n/a
 
      10-16-2004
> 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("Do wnload",
"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
 
Reply With Quote
 
 
 
 
EMW
Guest
Posts: n/a
 
      10-16-2004
thanks!

"Lee_Nover" <> schreef in bericht
newspsfyllke19gasuk@stupidirko...
>> 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("Do wnload",
> "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



 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ObjectList Data-Binding to a List<MyClass> =?Utf-8?B?QWxleCBNYWdoZW4=?= ASP .Net 6 09-05-2007 03:12 AM
DataBinding & the ObjectList Control (Mobile) =?Utf-8?B?QWxleCBNYWdoZW4=?= ASP .Net 3 09-05-2007 01:22 AM
Looking for a control similar to mobile ObjectList control JJ ASP .Net 0 10-27-2006 06:54 PM
ObjectList help. leezard ASP .Net Mobile 0 08-24-2003 12:41 PM
How to add a pic to ObjectList or list control ? gOODiDEA ASP .Net Mobile 1 07-06-2003 05:42 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57