All Questions
Tagged with silverlight-4.0 silverlight-5.0
127 questions
0
votes
1
answer
208
views
Silverlight 4 Application run in silverlight 5 in visual-studio-2015
I have a silverlight application after i run this project in
visual-studio-2015 silverlight 5 there errors are appear
The tag 'TimeUpDown' does not exist in XML namespace
'http:// schemas....
0
votes
1
answer
41
views
DatePicker week number silverlight
Can i enable week number in silverlight DatePicker ? And how ?
0
votes
1
answer
107
views
How to access client user's webcam remotely using silverlight
I want to to be able to use client webcam and microphone using Silverlight. I'm searching a solution to this for months now but I did not find any relevant information.
What's the requirements needed ...
0
votes
1
answer
39
views
Image doesn't Dispaly On Run Time
I am using below code for display image in Image button in silverlight.
My problem is the Image Getting display on Design Time.
But I cant able to view that Image on Runtime.What are the changes ...
0
votes
1
answer
46
views
Silverlight Login page work on machine but not on other machine (window 7)
I face some strange issue in Silverlight 5 on machine which use window 7.
I have a Silverlight app and after deploying it, it works fine on all user machine but on some of user machine it does not ...
1
vote
0
answers
40
views
Save controls content/screenshot (without using third party library) to the file
I have a silverlight application in which I have a map control. I want to save the map into a jpg/png file format to the disk.
I got this link http://www.silverlightshow.net/items/Capturing-a-...
0
votes
1
answer
252
views
Call WCF when silverlight application exit
I am working on silverlight application.
I want to update a table field when user exit from silverlight application.
For this I have used below Wcf service in Application_Exit method
private void ...
0
votes
1
answer
311
views
Access button in radgridview during RowLoaded
I have Simple radgridview.
In Last column I have radbutton
I want to access this radbutton during grid loaded
<telerik:RadGridView x:Name="gvViewer" ItemsSource="{Binding Items}">
<telerik:...
0
votes
2
answers
70
views
How to get Window Username after deploying silvelight app. It display "DefaultPool" as Window Username
I am trying to get Window username in silver light Application. I open aspx page from my silver light page on button click event using below code:
public partial class MainPage : UserControl
{
...
0
votes
1
answer
469
views
How to Get Window Username in Silverlight page
How to get window Username in silverlight page.
I try with below link but its give blank.
http://rouslan.com/2009/03/12/20-steps-to-get-together-windows-authentication-silverlight-and-wcf-service/
...
1
vote
2
answers
76
views
SelectionChanged event for TabItems
I am in a situation where i try to create notification when i try to switch from one TabItem to another and i try to do so using LostFocus().
Actually my each TabItem consists of TextBlock and some ...
3
votes
0
answers
728
views
Cut, Copy and Paste for all textbox of silverlight
I am working on a silverlight application.
I want Cut, Copy and Paste function on right click of all event.
For this I try below link
http://www.dotnetcurry.com/showarticle.aspx?ID=512
But the ...
0
votes
1
answer
52
views
Pass textbox from a page to Custom usercontrol using dependencyProperty
I have a Custom user control in a silver light Project.
I use it in other page and want to Pass textbox to Custom User control.
For this I create dependcy as below :
public static readonly ...
0
votes
0
answers
44
views
update user profile in silverlight
i create a user profile page in silverlight , i use wcfria in my project
i write these code but doesnt change in my database.
how can i implement this page ?
my code is :
//domain service
...
2
votes
0
answers
153
views
MEF : Use Export and Import from other project
I am using MEF in my silverlight project to download Xap file of other project on a button click.
But I have to give reference of that project in my current project and after that when I run my ...
0
votes
1
answer
121
views
Custom Validation in silverlight
I create a site with Silverlight and I use custom validation when registering users. I want to prevent the registration of two users with the same username. I use Entity Framework and WCF RIA.
But ...
0
votes
0
answers
50
views
Custom Control (Button ) Element is already the child of another element
When I add this resource
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Viewbox x:Key="...
0
votes
1
answer
189
views
Implement a login in SilverLight with WCF RIA
I create a login page with SilverLight. But when users log in and then refresh page, the user is logged out! In other words, the SilverLight application restarts. How can I prevent this from happening ...
0
votes
0
answers
47
views
Silverlight XAMLParserException while trying to apply Styles
I was in the process of Migrating my application from Silverlight 3 to Silverlight 5.
I understood from the developer forums that Silverlight 5 XAML parser is very strict. I was encountering the ...
0
votes
1
answer
167
views
What happens internally when I make a web service call from silveright code?
I am in to a project that uses Silverlight and am not quite clear on few things with SL.
I understand that SL downloads the xap on to the client browser and makes a lot of things easier that way. The ...
1
vote
0
answers
765
views
Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) in xaml
my Project copy was fine. but after few edits in some other class files above errors poped out [irrespective of me doing some thing]. I am totally blind in what to do
Following is the comment in my ...
0
votes
1
answer
190
views
Compress Files before save in silverlight
I have a file upload to upload and save bytes of files into database.
Now I want to first compress my file size before save into database.
I have gone through below site;
http://programmerpayback....
1
vote
2
answers
198
views
Difference between MEF and Refrenced dll
I am working on a silverlight project and I am using MEF to download xap file of other silverlight project and use its pages and functions in my main Project.
I can do the same thing using ...
0
votes
1
answer
128
views
Visual Basic 2010 - Creating a Silverlight project?
Hello,
My operating system is Windows 7 - SP1 (64bit). I tried to create a Silverlight project in Visual Basic 2010 (Visual Studio 2010 Ultimate - SP1). Complete Install expect SQL Server 2008 ...
1
vote
1
answer
112
views
Why Silverlight Tab item's Height and width not accessible at runtime?
I have one Tab Control in silverlight. In my tab there are 2 tab item.
In tab-1 and tab-2, i am adding run time control into Canvas.
And i have one Save button out side of tab.
My Xaml page like,
&...
0
votes
1
answer
68
views
How can i write XML into Silverlight by Master Details Meta Data Object
I am being astonished that there is no new post about silverliht.It will be very harmful to our company because my company still now in silverlight and they have not finished their ERP and they have ...
0
votes
0
answers
178
views
Can't instantiate Stopwatch class in My Code
I am using Silverlight 5 , and .NET 4.5 in my Visual Studio 2012 solution,
I can't do : using System.Diagnostics.Stopwatch.
I find in msdn that it's supported when using .NET 4.5 framework
If ...
0
votes
1
answer
201
views
Changing a LinearGradientBrush's GradientStops at run time when declared as a static resource and used within a control tempate
I have a resource dictionary which contains the style of a button. Within the control template of the button I have 4 borders, each representing a specific visual state - normal, hover, click, and ...
0
votes
0
answers
1k
views
Get all controls id of silverlight page
I want to get all control's id of silverlight page.
So I want to iterate through all controls inside xaml page.
For this I have used following code:
private List<UIElement> GetElement(...
0
votes
2
answers
540
views
Drunk Silverlight - solid background colors for a button background shows it with gradient effect
VS2012 >> New Silverlight project >>
<UserControl x:Class="SilverlightApplication2.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas....
1
vote
1
answer
142
views
Unable to access the UI control's value from non UI thread in silverlight application
I am using silverlight 5 application for creating the Webresource for CRM 2011. In my code i am using BeginExecute and EndExecute methods for retriving availabe time slots for scheduling an ...
0
votes
2
answers
119
views
Synchronization among asynch threads in silverlight CRM 2011
I am using a silverlight application to develop a webresource. in which i am using ServiceProxy.BeginExecute method which is Asynch operation but. now i am in situation in which i require to call a ...
0
votes
1
answer
96
views
ApplicationCommands implementation in Silverlight
I want to implement ApplicationCommands (i.e., Copy & Paste & Help ...) in Silverlight. I show that Silverlight dosen't support this class. Please give me your ideas how to do that.
0
votes
1
answer
490
views
Silverlight 4 to Silverlight 5 migration [closed]
I am starting to upgrade my Silverlight projects from SL4 to SL5, is there any key points/best practices to keep in mind?
Any specific issues with Visual studio 2010 + Silverlight 5?
3
votes
2
answers
2k
views
How to set a TimeSpan in Xaml
I am unable to set a property of type TimeSpan from xaml on my dependency object and am looking for if there's a way to get this to work.
Xaml: <local:MyDependencyObject Time="00:00:05"/>
Time ...
0
votes
1
answer
80
views
silverlight dependency property call back method keeps in loop
i have created a user control with three dependency properties
selected value
selected item
selected index
when one of them changes in the call back i am setting the other two e.g if selected value ...
1
vote
1
answer
661
views
Which version of Silverlight Supports Task parallel Library
Though TPL is widely accepted as a feature of C# 4.0 , but heard that it is not supported on SL4, but SL5.
Could not find any solid evidence of it.
So why the do MicroSoft implemented a feature in ...
1
vote
2
answers
1k
views
How can we handle Null Values while Binding data to Text block in Windows phone
Hear i Have a confusion while Binding the data to Text Block in Windows phone
I have Text Block
<TextBlock Name="strytxt"
Text="{Binding STORY}"
Height="auto"
...
0
votes
1
answer
61
views
DownloadProgressChanged JavaScript API For SilverLight
I am using Visual Studio 2012 in xaml "DownloadProgressChanged" is not available showing error "The property 'DownloadProgressChanged' was not found in type 'Image'."
<Image x:Name="Logo"
...
1
vote
0
answers
47
views
Visual Studio 2012 - DownloadProgressChanged not available
I need to use the DownloadProgressChanged in xaml this is what i want to do DownloadProgressChanged="onSplashScreenLogoLoaded", but the type does not exists.
this works fine in VS 2008.....but not in ...
1
vote
0
answers
267
views
Sorting nodes in treeview
I've the following class
public class TreeViewNode : NotificationObject
{
public TreeViewNode()
{
Children = new ObservableCollection<TreeViewNode >();
}
private string _name;
...
0
votes
1
answer
65
views
Silverlight and Non-Public members
Is it possible somehow to access non-public properties in Silverlight? Maybe using reflection?
I've tried following steps:
Get class type
Get property info by prop name
prop.GetValue(obj, null)
It ...
1
vote
0
answers
580
views
Merging of cells in Silverlight DataGrid
I need a datagrid control like below.
I want to implement cell merge like functionality in a datagrid in silverlight. I have some rows which display a single value and some rows return all the values ...
1
vote
0
answers
201
views
How to make Div Visible of Aspx page, After a Radwindow pops Up
How to make Div Visible of Aspx page, After a Radwindow pops Up.. So that it looks like the light Box.
I have embedded silver light Component in aspx page . And in silverlight Component there are ...
0
votes
1
answer
496
views
DataBind to Combobox In SilverLight 4 .0
I am trying to databind to the combobox. Data is coming from a database table which name is tbltest and table has 2 fileds id and name.
When I am trying to bind name to combox it display me tbltest:...
0
votes
1
answer
162
views
Silverlight WCF databind related tables
I have a table with foreign keys. I want to display the data as the description and not the Id for the related table. From the Entity service I have made the .Include statement on the data model for ...
0
votes
1
answer
170
views
Custom Combo box height issue in Silverlight
In my Custom control, i have issue with drop down menu height. If Combo box items are more, I want scroll mouse many times because of small height of Drop down menu. I want to increase the height of ...
0
votes
1
answer
53
views
Button Is TextBlock?
I am using this function to recurse thru all the controls inside a ListBoxItem and I have both a Button and a TextBlock inside the DataTemplate. It always picks the Button instead of the TextBlock. ...
0
votes
0
answers
60
views
ListBoxItem not available at time of binding
I am needing to load 3 Listboxes(LB) in order. They load via WCF RIA services, after the 1st one is set I need to load the 2nd one using the first LB's text from the first element to query the 2nd ...
0
votes
1
answer
69
views
Is There DataGrids open sources for Silverlight? [closed]
Is there any DataGrids open sources for Silverlight 5.0, that supports sorting and filtering?
I've worked with DevExpress (.NET Library) and I faced many problems with binding.
Thanks