Advanced Forum Search Results
-
to get values in double either use the Convert.ToDouble or the type cast - for eg: In C# you can use :
double x = (double) objectVariable
-
Since your validation is based on the user log in, I would perform the validation in the property setter of the desired colum based on some static global/class level flag. In your Silverlight app you can set this flag based on the user log in while logging in. This way the validation check is performed only when required. If ...
-
All the files you mentioned could be recreated by updating the Web Services. It is not necessary to add any of these files in Source control.
-
I thought you need to set the template at design time.
For run time, you can just download a resource file dynamically when needed. So put your template in a separate resource file which doesn't need to be compiled with your project. Download this resource file in your silverlight app, read the XML and you can also add it ...
-
well in this case you should either have your value converter class within the same project as the app.xaml or dynmically load the assembly before yoy even display your first page.
-
You cannot do pure push technology using http over port 80. Today even in non-Silverlight world, for pushing data on browsers at real time you mainly have two options : 1) Streaming, 2) Always Keep a connection on between your browser and server.
In the Silverlight world, the pure push technology is available using sockets ...
-
You don't need to reference the external assembly to access a template from App.xaml dynamically at run time. Should you need to assign the template at design time you could then add reference to the external assembly and set the propoerty - "Copy Local" to False. This way your reference assembly does not get ...
-
good to know it worked..
You can contact me directly at jeetumaker@gmail.com
-
Try passing the complete path when you open the file:
FileStream filestream = File.Open(@"C:\..\ClientAcessPolicy.xml", FileMode.Open);
If the above code doesn't help, send me the complete exeception stack trace
It is best to host your Web Services on IIS especially for Silverlight apps.
-
try this :
public System.ServiceModel.Channels.Message ProvidePolicyFile()
{
FileStream filestream = File.Open(@"ClientAcessPolicy.xml", FileMode.Open, FileAccess.Read);
// Either specify ClientAcessPolicy.xml file path properly
// or put that in \Bin folder of the console ...