[
https://issues.apache.org/jira/browse/CB-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262010#comment-13262010
]
Filip Maj commented on CB-486:
------------------------------
This seems like a good candidate for a replacement for the stock MessageBox.
Allows for deeper customization.
Also licensed as MSPL, which is compatible with APL 2.0.
Not sure how we should include it, though. Any ideas, Jesse? As a lib/dll or
something? As just the source?
http://blogs.microsoft.co.il/blogs/tomershamam/archive/2010/10/19/windows-phone-7-custom-message-box.aspx
> navigator.notification.alert doesn not show custom names for MessageBoxButton
> -----------------------------------------------------------------------------
>
> Key: CB-486
> URL: https://issues.apache.org/jira/browse/CB-486
> Project: Apache Callback
> Issue Type: Bug
> Components: WP7
> Affects Versions: 1.6.0
> Environment: WP7 Emumlator
> WP7 Device LG
> Reporter: Laurens Van de Perre
> Assignee: Jesse MacFadyen
> Priority: Minor
> Fix For: 1.7.0
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Currently when calling in javascript:
> navigator.notification.alert("message", stopVibration, "title", 'buttontext');
> An alert box will pop up in WP7 but does not have the correct buttontext.
> This is due:
> "public void alert(string options)
> {
> Deployment.Current.Dispatcher.BeginInvoke(() =>
> {
> AlertOptions alertOpts =
> JSON.JsonHelper.Deserialize<AlertOptions>(options);
> MessageBoxResult res = MessageBox.Show(alertOpts.message,
> alertOpts.title,MessageBoxButton.OK);
> DispatchCommandResult(new
> PluginResult(PluginResult.Status.OK,(int)res));
> });
> }
> "
> A possible solution to solve this bug is to use a custom messageboxresult
> like:
> http://shareourideas.com/2011/03/05/custom-message-box-in-windows-phone-7/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira