Advanced Forum Search Results
-
Check APP Key of your SL app matches with your Facebook application app key: _browserSession = new BrowserSession(ApplicationKey); Check that your test page Silverlight plugin ID matches with your fblogin.js silverlightPluginId :
fblogin.js:
var silverlightPluginId = '_sl_facebookapp';
Test Page: <form ...
-
Check this link to create SL facebook app: http://msdn.microsoft.com/en-us/windows/ee395718.aspx
Download sample from here: http://facebooktoolkit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=35534#DownloadId=91364
-
You can try using VisualTreeHelper.
You can write a method that will return all the child like below: //var childList = new List < FrameworkElement >();
//this.GetChild(LayoutRoot, childList);
public void GetChild(DependencyObject dobj, List < FrameworkElement > childList)
{
int ...
-
You can try like below (using ComboBox loded event):
Address.xml:<location>
<country countryname="Country-1">
<city id="1" cityname="City-1"></city>
<city id="2" cityname="City-2"></city>
<city id="3" ...
-
Suppose the page is Home, now you can place the Loaded event and in the event you can access the parent property to distinguish. public Home()
{
InitializeComponent();
this.Loaded += new RoutedEventHandler(Home_Loaded);
}
void Home_Loaded(object sender, RoutedEventArgs e)
...
-
Try like below:
private void AnswerGrid1_LoadingRow(object sender, DataGridRowEventArgs e)
{
var answer= e.Row.DataContext as Answers;
} Then you can use the answer reference to collect the chart data.
-
You can use DataGrid LoadingRow event like below:
private void AnswerGrid1_LoadingRow(object sender, DataGridRowEventArgs e)
{
var piechartanswers = AnswerGrid1.Columns [ 6 ].GetCellContent(e.Row) as Chart;
if (piechartanswers != null)
{
PieSeries pieSliceanswers = ...
-
You can use the SetValue method to set the Canvas Left (X) and Top(Y) property
Sample: <Canvas x:Name="LayoutRoot" Background="White">
<Canvas x:Name="myCanvas"></Canvas>
</Canvas> //X
myCanvas.SetValue(Canvas.LeftProperty, ...
-
You can also detect network mode (offline/online) in OOB mode:
Check this video (OOB and network detection): http://www.silverlight.net/learn/videos/all/out-of-browser-experiences/
-
You can use InitParams in the object to distinguise two control on the same aspx page that load the same .xap.
Check this post: http://forums.silverlight.net/forums/p/74466/177162.aspx#177162
and also: http://forums.silverlight.net/forums/t/73347.aspx