Objectlist detailswindow

E

EMW

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
 
L

Lee_Nover

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
 
E

EMW

thanks!

Lee_Nover said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,799
Latest member
Mercury_Dev

Latest Threads

Top