Sep 04, 2009, 2:06 AM
[CLOSED] is it possible to load panel into Notification or MessageBox
Hi
is it possible to load ext.panel into Ext.MessageBox or Ext.Notofication controls.
I would like to display a <table></table> in a gmap listener
Thanks
idriss
is it possible to load ext.panel into Ext.MessageBox or Ext.Notofication controls.
I would like to display a <table></table> in a gmap listener
string html = "<table style='width: 300px; height: 88px'>" +
" <tr>" +
" <td rowspan='5' style=\"background-image: url('" + imageURL + "'); width: 25%; background-repeat: no-repeat;\" valign='middle'>" +
" </td>" +
" <td style='width: 75%; font: smallcaption; color: navy;' valign='top'>" +
" Name :<input type='text' value='" + name + "' style='border: 0; width: 75%' />" +
" </td>" +
" </tr>" +
" <tr>" +
" <td style='font: smallcaption; height:13px; width: 75%; color: navy' valign='top'> Last Updated on:</td>" +
" </tr>" +
" <tr>" +
" <td valign='top'> " + lastUpdate +
" </td>" +
" </tr>" +
" <tr>" +
" <td style='width: 75%; font: smallcaption; color: navy; height: 17px;' valign='top'>" +
" </td>" +
" </tr>" +
" </table>";
Coolite.Ext.UX.Marker marker = new Coolite.Ext.UX.Marker();
marker.Lat = Convert.ToDouble(lat);
marker.Lng = Convert.ToDouble(lng);
marker.Options.Title = name;
marker.Listeners.Click.Handler = "Coolite.Ext.Notification.show({title:\"Location\", html:" + html + "});";
It does not seem to like the html markup - if I replace with a string it works fine. I was thinking if it was possible to insert a Panel, i could use any html markup into the body of the panel. is there anything that can be suggested to have a formatted string popup when I click on the listener.Thanks
idriss