i'm runnig arcgis server 10 on windows 7 machine , im trying to developp a web application using silverlight and c# in visuel studio but when I execute the application in the browser , there is only a white page that shows with the slogan of esri .this is my code in the mainpage.xaml:
and this is the code im using in the mainpage.xaml.csusing System.Windows.Media.Animation;using System.Windows.Shapes;using ESRI.ArcGIS.Client.Toolkit;using ESRI.ArcGIS.Client;using ESRI.ArcGIS.Client.Tasks;
namespace pfe{ public partial class MainPage : UserControl { public MainPage() { InitializeComponent(); } private void bati_Initialized(object sender, EventArgs e) { Layer layer = sender as Layer; MyMap.ZoomTo(layer.FullExtent); } }}I tryed to give permissions to the soc and som machine in the folder that contains my data , I already add the clientpolicyaccess.xml file int the wwwroot but nothing solved my probleme ...I need help please
أكثر...
and this is the code im using in the mainpage.xaml.csusing System.Windows.Media.Animation;using System.Windows.Shapes;using ESRI.ArcGIS.Client.Toolkit;using ESRI.ArcGIS.Client;using ESRI.ArcGIS.Client.Tasks;
namespace pfe{ public partial class MainPage : UserControl { public MainPage() { InitializeComponent(); } private void bati_Initialized(object sender, EventArgs e) { Layer layer = sender as Layer; MyMap.ZoomTo(layer.FullExtent); } }}I tryed to give permissions to the soc and som machine in the folder that contains my data , I already add the clientpolicyaccess.xml file int the wwwroot but nothing solved my probleme ...I need help please
أكثر...