|
Hi Raj,
I got it solved, thanks for the help. I needed to make some settings in the IIS. It was due to user authentication issues.
Thanks,
Abdul
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
|
|
|
|
|
Hello all, is there anyway that i can make a session on silverlight that in case the client did refresh no need then to loggin again.
Thank You
Nassim Beiruty
|
|
|
|
|
Hello all,
i have a question about SL Child Window ,
we have child window and have a notification boarder that appear for 5 seconds in the bottom right corner of the screen , this border appear to notify the user with the result,
finally if the child window is opened, the confirmation boarder appear under this child window, and this as the issue
i tried to increase the Zindex of the boarder but nothing
any help
|
|
|
|
|
Hello!
This is my first software project using Adobe Illustrator files as interface elements. I use Microsoft Blend 4 to import those files and build my interface. The problem is simple, when I import (File -> Import Adobe Illustrator file...) and take a look at my elements, they are slightly different from the original. Mostly the colors and gradients. Can someone help me please?
|
|
|
|
|
Hi All,
I have a silver light application where I am trying to access a csv file by using the following way
List<string> listoflines = (List<string>)File.ReadLines(@"C:\Users\amohammad\Desktop\Bugs\30958\tasksandtaskstatuses2.csv");
But its giving my Access Denied message. Is there any way to read a file in silverlight. But I dont want to use the use FileStream or StreamReader. Because I want to read all the lines at a time and assign in the above way.
Is there any way to access the read the files in silverlight irrespective of its access rights. Because here we are just reading the file. I know that if we keep it in my documents then I can read the files. But Can I read the files irrespective of its location and access rights.
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
|
|
|
|
|
If you think about what you are asking for a minute, you can see that the ability to read any file at any location using a method like this, regardless of access rights, would represent a huge security vulnerability.
|
|
|
|
|
Hi,
I know it but when I trying to access a csv file I am getting that error, is there any way to access file from a silverlight application and read all the lines at once and process that data any example or link would help me greatly.
Thanks,
Abdul
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
|
|
|
|
|
As Pete was not very clearly hinting, you aren't allowed to access the local file system in silverlight because thats a security breach. Imagine if any web site could install a silverlight app on your machine and access your c:\documents\bank records.doc and make a copy. Not good!
If you are using SL4, there is a work-around as you can access the local file systems *IF* your app is running with elevated permissions and is trusted. Even then, you only have access to a few folders. Again, a security consideration.
In SL3 and below, you can not access the local file system at all.
|
|
|
|
|
Hi,
How to enable out of browser, elevated trust for the application and make it is trusted.
I dont know how to do it?
Thanks,
Abdul.
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
|
|
|
|
|
You can only get at the file from a user interaction, via the fileopen dialog.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
using silverlight,actually it does not allow the client side application to fetch the data from outside the project.The data can be fetched in only two ways ,first if it is stored locally using isolated storage or its a resource file.
Enjoy
|
|
|
|
|
Curently i have downloaded expression blend trial to see what i do. I have made simple triangle.
<Path Data="M395.25,283.625 L403.75,295 C403.75,295 388.37515,294.875 388.37515,294.875 C388.37515,294.875 395.25,283.625 395.25,283.625 z" HorizontalAlignment="Left" Height="12.375" Margin="189.891,0,0,188.625" Stretch="Fill" UseLayoutRounding="False" VerticalAlignment="Bottom" Width="16.375" Fill="#FF00B6BA"/>
So my question is, is there a tool that can convert StreamPathGeomtry (Path.Data) into a normal XAML graphic no matter how complex is? I want to see how complex graphics works.
I appreciate any help.
PS: Do not convert this for me.
|
|
|
|
|
You mean convert the path into a bunch of line segments? Not sure why you want to do that. Thats the whole point of paths. By the way, that IS a "normal XAML graphic"... Paths have nothing to do with Expression Blend, they are standard WPF objects.
|
|
|
|
|
SledgeHammer01 wrote: You mean convert the path into a bunch of line segments?
That is what i meant. I know it doesn't have anything with blend.
SledgeHammer01 wrote: By the way, that IS a "normal XAML graphic"... Paths have nothing to do with Expression Blend
I didn't knew how to express it
SledgeHammer01 wrote: Not sure why you want to do that.
I may not be able to use Bleend in the future but i want to see how complex graphic comes together.
|
|
|
|
|
Ok, well, I don't think anybody really works directly with the path syntax itself because it can get pretty complicated. REALLY complex (by complex, I don't mean a triangle, I mean something along the lines of the Silverlight 5 muscle-man demo) graphics aren't a single primitive. They are thousands of primitives. I forgot the name of the user on here, but there is a guy on here that has put up 4 or 5 demos of complex WPF graphics. Anyways, if you really want to learn the syntax itself (waste of time IMO since the visual tools do it for you ), check here:
http://msdn.microsoft.com/en-us/library/ms752293.aspx[^]
|
|
|
|
|
thanks, thats the info i was looking for.
|
|
|
|
|
is it possible to set an adorner for a frameworkelementfactory object ? I have created a frameworkelementfactory of type button. I have registered the click event using addhandler method. In the button click event handler, i got the sender as the button. Then i used the below code:
AdornerLayer adl = AdornerLayer.GetAdorner(btn);
MyAdornerClass acls = new MyadornerClass(btn);
adl.Add(acls) --> // here i am getting error saying specified object is null in the index or don't use this method if VisualChildCount returns 0.
I have overrided the VisualChildCount property in my MyAdornerClass and in the get method, i returned 1.
any idea?
|
|
|
|
|
Hi guys,
I have an ftp location where i want my WPF clickonce deployment,
once i publish it from visual studio i add my ftp address into the
published location and it is published.
so no when i access this location and download the setup file at my local system to install
it gives me error and when i open the log file it says it is unable to find .application file
and the location from where it tries to find is where i have downloaded the setup file , although at ftp location the .application file exsistesm i am stuck , any help.
Regards,
Tauseef.
Tauseef A Khan
MCP Dotnet framework 2.0.
|
|
|
|
|
It is a question about WCF RIA.
A Datagrid is binding with DomainDataSource. When I add an entity to DomainContext in client, how can I update the DataGrid(add a row) without connecting to DomainService in server and reload?
|
|
|
|
|
I've solved it.
The method DomainDataSource.DataView.Add() can do this . ^^
|
|
|
|
|
Usually we use ItemSource property to set comboboxitems automatically. However, we also often hope to attach the following two options to the dropdownitems of combobox.
(None):
Sometimes we need to reset the value to none. but the itembinding combobox doesn't offer. You have to select one value.
(Add);
We also want to add a new value when the itembinding data doesn't include what we want. And we don't want to go to another page to initial this request.
I think it is a common function about combobox. but the bad thing is I can not find a good template for this.
Would anyone know about it? Thanks in advance for your help.
modified 15-Dec-11 3:01am.
|
|
|
|
|
Well, you could always do a variation of the technique I describe in my blog entry here[^].
|
|
|
|
|
The article is great . But the CompositeCollection is not included in silverlight in which my platorm is.
|
|
|
|
|
Thanks for that, but if I were you I would include vital information such as platform in future just so you don't get answers like mine.
|
|
|
|
|
I usually take a copy of the list servicing the combo and insert a couple of dummy records into the start of the list. Then you need to detect the content in the SelectedObject and deal with it when it is "Add"
Never underestimate the power of human stupidity
RAH
|
|
|
|