|
You can always 'mark the answer as accepted'.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
Hi,
I am running a silverlight 4 application which is using web services.
The folowing error occurs when trying to create an instance of the web service.
Can you see why this is occuring please?
Error:
xxxServiceClient _xxClient = new xxxServiceClient();
The invocation of the constructor on type 'xx.xxx.Silverlight.xxxx.somename.somenameData' that matches the specified binding constraints threw an exception. [Line: 13 Position: 41]
Any thought please?
Thanks
|
|
|
|
|
Make sure everything is in order in the serviceRefrences.clientconfig file.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
|
Hi,
Under the target silverlight version I see silverlight 3.
How can I get silverlight 4 to appear in there as I am running vs2010 and silverlight 4 ?
Thanks
|
|
|
|
|
Hi,
I am using .net 4 visual studio 2010 premium.
I have been given a silverlight project to work on which was created in silverlight 3.
I can run the application but can not debug it.
The properties of the application shows that the target silverlight version is set to silverlight 3 and this is the only option available.
Note that I have installed silverlight 4.
And in the web.config of the host, the following line is indeed present
<compilation debug="true">
Question:
How can I debug the application based on the above please?
Thanks
|
|
|
|
|
So when you place a break point on the Code behind it does not go ?
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
All ok.
Wrong post.
Sorry
|
|
|
|
|
I want to use an expander control to contain a shadowbox style filter user control. So the basic idea is to make the expander button look like a filter button, and upon pressing a grid with some controls in it will appear in the center of the current window while the rest of the window is overlaid with a semi-transparent grid.
All the code for this is easy enough, but I am having trouble with expanded width of the expander vs. collapsed width. I want something along these lines:
<Style
x:Key="sbExpander"
TargetType="{x:Type Expander}">
<Style.Triggers>
<Trigger
Property="IsExpanded"
Value="True">
<Setter
Property="Background"
Value="Black" />
<Setter
Property="Opacity"
Value=".8" />
<Setter
Property="Width"
Value="760" />
<Setter
Property="Height"
Value="760" />
</Trigger>
</Style.Triggers>
</Style>
The expander control:
<Expander
Grid.Row="0"
Grid.Column="0"
Grid.RowSpan="10"
Grid.ColumnSpan="4"
IsExpanded="False"
HorizontalAlignment="Left"
Width="20"
ExpandDirection="Right"
Style="{StaticResource sbExpander}">
<Grid
Width="760"
Background="Black"
Opacity=".8">
</Grid>
</Expander>
The issue is that if the initial width of the expander is anything greater than 20 it overlays the rest of my controls and renders them unusable. I only want them unusable when the expander is expanded. So I really do want the collapsed expander control width to be 20 so that the controls under are available, while I want the expanded width to be 760 covering the entire window.
Thoughts?
Cheers, --EA
|
|
|
|
|
Ok, I figured it out. Put the expander inside a stackpanel whose width property was set to auto.
Cheers, --EA
|
|
|
|
|
Hi,
I am running visual studio 2010 premium with silverlight toolkit 4.
The project does not build and in references, the following dlls have yellow exclamation next to them:
1- Microsoft.Expression.Interactions
2- System.Windows.Interactivity
How can I solve these please?
Thanks
|
|
|
|
|
|
This [^] might help.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
Hi!
I am making a full screen WPF application. Please tell me what is right way to make full screen application in one window. How to change screens/views? All views as custom controls? Or just hide elements or create them dynamically? I couldn't find the answer.
Thanks.
SXILL
|
|
|
|
|
You might actually want to look at an application block like Microsoft Prism[^].
By using this, you can divide your screen into regions and then add and remove views (xamls) from these regions based on your business requirements.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
Hi
The RichTextBox has no Text property which to bind to show data from database..so are there workarounds to do this???
Thanks
"For as long as men massacre animals, they will kill each other. Indeed, he who sows the seed of murder and pain cannot reap joy and love." Pythagoras
|
|
|
|
|
This[^] thread may help you.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
It seems a hard work to bind the richtextbox...
"For as long as men massacre animals, they will kill each other. Indeed, he who sows the seed of murder and pain cannot reap joy and love." Pythagoras
|
|
|
|
|
jadughar wrote: It seems a hard work to bind the richtextbox
Seems dam near impossible to bind a RTB, thankfully my requirement could be met but a simple textblock and I moved on, but I spent a couple of weeks ratting around trying to find an decent solution to this and failed.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
hi Mycroft Holmes,
so did you use a TextBlock instead of a RTB???
But a simple texbolock can't show images, grids, calendar etc...am i right??
bye
thanks
"For as long as men massacre animals, they will kill each other. Indeed, he who sows the seed of murder and pain cannot reap joy and love." Pythagoras
|
|
|
|
|
jadughar wrote: But a simple texbolock can't show images, grids, calendar etc...am i right??
Absolutely you are correct, my requirements were actually extremely simple, some fancy formatting which I convinced the client to reduce to bullet points which are supported by the textblock.
Your requirement completely contradicts your initial issue, what has a text property have to do with a grid, calendar or image.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
yes..but the main step was to bind the RTB, thereafter try to inserit some custom controls.
"For as long as men massacre animals, they will kill each other. Indeed, he who sows the seed of murder and pain cannot reap joy and love." Pythagoras
|
|
|
|
|
Certainly - Michael Sync wrote an excellent bindable version here[^].
|
|
|
|
|
I was watching the video about upcoming Silverlight 5.0. I have an app I would like to port to the web and Silverlight appears to be the perfect platform. Is this all real hype or is it as good as Microsoft describes it.
|
|
|
|
|
Roger165 wrote: the web and Silverlight appears to be the perfect platform
It basically depends on your requirements.
You might want to compare and contrast some other technologies (like ASP.Net, HTML5) etc. before selecting SL.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|