Hi all,
Never mind, we've figured out what it was.
When the set property was called, it called an Update Property method in the
base class to hide the
details of the property it ultimately had to raise the change event for.
In the base class, it used reflection to identify the property
Hi Shingi,
It sounds like the object does not exist within the generated code within the
Silverlight component.
This means that the object is not shared properly from the web app.
There are a number of reasons for this - perhaps you don't have an
[EnableClientAccess] attribute
on your class?
Hi all,
It's Friday, so I thought I would let you know about one issue in our team.
Basically, we are running 32-bit Windows XP. The machines have anywhere between
2 and 4GB
RAM. Everyone in the team gets System Out Of Memory Exceptions. When that
happens, you have
wasted the compile time,
Yea, I try that. We even clean it first, but it seems you are luckier than us
as it rarely works for us!
Could have something to do with all the extra stuff we have going on in our
systems. Having
Outlook open doesn't help. Having SQL Management Studio open also doesn't help.
We have both
Actually compile time and time to run takes a while anyway, so there is plenty
of time to do other
activities.
T.
On Fri, Jul 23rd, 2010 at 10:26 AM, Steven Nagy steven.n...@readify.net wrote:
Yes but everyone's Facebook status will have been updated during that
outage period so its not a
That's the plan!
On Fri, Jul 23rd, 2010 at 11:02 AM, Corneliu Tusnea
corneliu.tus...@readify.net wrote:
Oh, just make sure you go for the x64 version of W7. (the packages you can
purchase they all have two DVDs in there one for 32b and one for 64b).
Trust me, you'll never look back! :)
Hi all,
I am currently attempting to rotate a form which is rendering to the screen in
Landscape to a
printed page which is Portrait. While I don't think it's that important, the
dimensions of the form are
Width=1112, Height=793. The print surface (I am just printing to an XPS file)
are
Ok, I tried to render the landscape control to a bitmap first and perform the
transform on that.
Unfortunately, the results are the same as the previous one - the content gets
clipped. Code below:
WriteableBitmap bitmap = new WriteableBitmap(1112, 1112);
LandscapePrintTemplateControl
Thanks Dan,
Is there a predefined set of arguments that I pass in to Measure and Arrange?
Regards,
Tony
On Thu, Jun 24th, 2010 at 4:02 PM, danlaz...@arcamis.com wrote:
Hey Tony, more info on what I meant:
I believe this is happening because the bitmap does not render
from a tab
that
Hi all,
We have moved to Silverlight 4 due to the printing capability. I have been
working on the best way
to enable printing in my application. I have settled on writing page components
to Bitmaps, then
slotting those bitmaps into a page template control (printTemplate) and
printing that.
Hi all,
We have finally made the move to Silverlight 4. It was a hard slog, mainly due
to third party
control library issues, and we still have some styling issues, however we've
made it.
One of the key reasons that we made the move to Silverlight 4 was for its print
functionality.
So
Hi Greg,
One possibility is to change the default editor that it opens with. This is
actually what I do
sometimes to speed up xaml page loads. The down side is that you lose
intellisense - but if you're
having serious problems with crashing this might be a better option.
To do this,
whoops, and I just read that you've already tried that. Sorry.
T.
On Tue, May 4th, 2010 at 12:27 PM, Greg Keogh g...@mira.net wrote:
Since I rebuilt my new machine last Xmas I have been suffering a
terrible
intermittent problem where Visual Studio 2008 SP1 crashes when I edit
the
XAML of
Hi all,
We are currently experiencing some impediments to upgrading our Silverlight
application and
VS2010.
Firstly, we have installed VS2010, which installs WCF RIA Services for 2010.
This uninstalls WCF
RIA Services for 2008. The problem is that we need the 2008 version to continue
to
Hi all,
I have created a basic Prism application with buttons as menu items. I have an
About button and a
Home button. I have a MenuClickedEvent. Within my Shell, I have created a
Region
called MainContentRegion within a ContentControl.
Ok, so now I've created a HomeModule (a basic home
Hi all,
Does anyone else get annoyed at the extra hastle required to set and bind the
Visibility property?
I mean, how easy was it in the old days to simply set IsVisible=true or
IsVisible=false? You didn't
need a Visibility to Bool converter, which is extra unneccessary processing,
and an
Cool, at least now I know the reason!
Thanks.
On Fri, Mar 12th, 2010 at 10:10 AM, ste...@snagy.name wrote:
No idea about this in SL but in WPF we have the same. Visibility DOES
have 3 states: Visible, Hidden, Collapsed.
Hidden is much differen from collapsed - a hidden object will
never mind - I denormalised my table, adding a HasAmount field, and populated
the field when the
TermTypeID was changed. Then when the object gets marshalled to the server,
there is no need
to worry about associated objects.
On Thu, Mar 11th, 2010 at 12:19 PM, ton...@tpg.com.au wrote:
Hi
Hi all,
I have a strange situation where the ItemsSource property on a combo box won't
OneWay bind to
the data source. That is, after the initial bind to the ItemsSource bound
property, I change the
contents of that bound collection, call the PropertyChanged event for that
property, but it
I do have other combo boxes that do successfully bind on the page, which are
pointing to static
viewmodel resources. That is, the collection associated with the viewmodel is
intially empty, then
after the async callback, it is populated, calls the propertychanged event,
then the combobox list
Hi all,
I was hoping that someone could explain to me why XAML causes an extra bind
when I am
transitioning to another page. What I am experiencing is that when I click on a
menu item, the load
event fires on the bindings for the page I am leaving. Is this normal? At least
in ASP.Net I could
Hi,
I am having a problem cancelling a data form.
Basically, I am displaying a dataform after calling AddNewItem() on the
dataform.
Then I click Next, which fires ValidateItem(). Of course, with no values set,
it fires a number of
validations. Then I click Cancel, which callse CancelEdit()
Hmmm. It turns out CanCancelEdit is set to false in the EditableCollectionView,
which means that
when CancelEdit is called, it simply returns without clearing the errors.
The EditableCollectionView is a PagedCollectionView. Not sure yet how I can
make it so that the
CanCancelEdit can be
Hi all,
I need to attach an event to a ViewModel object that is bound to a control via
DataContext. The
problem is, I can't attach the event in the constructor because the DataContext
object has not
been set at that point. So how do I attach that event if I want it to execute
code within the
Hi Miguel,
I ran the code:
var ctx = new ValidationContext(dfTermItem.CurrentItem, null, null) {
MemberName
= TermCategoryID };
var validationResults = new CollectionValidationResult();
//validate against a guid that should fail
if (Validator.TryValidateProperty(new
I just reflected over the code and found that it was using some reflection to
retrieve the custom
attributes. So I added in this code to see if the attributes were, in fact,
visible.
foreach (PropertyInfo info in typeof(Term).GetProperties())
{
It's ok, I think I figured it out. The attribute is not available on the client
side. Within the generated
code for the class, it was missing the TermCustomValidation class and it has
the following
message. So now I just have to figure out why the class isn't coming across to
the client.
T.
It was because I had forgotten to change the filename to have the .Shared.cs
extension. Then I
needed to do a clean and build again.
Thanks all for the help.
T.
On Thu, Jan 28th, 2010 at 5:06 PM, Chris Anderson christheco...@gmail.com
wrote:
Try deleting the contents of the Generated_Code
Hi all,
Say I have a car. Car has Make and Model. Then I have terms. Terms can apply to
an entire
Make, or they can apply to a particular Model.
A Term in the database would be TermID, TermType, Make, Model, Description. I
don't have the
ability to change the table structure.
So I have
Hi,
Apologies for the change of title - I don't have access to the original emails.
Thanks to the people
who have replied so far.
I am still having problems with trying to access page resources from a user
control.
If I put this withing the control:
UserControl.Resources
Hi Miguel,
Thanks for that; that is the approach I will take.
Regards,
Tony
On Mon, Jan 25th, 2010 at 2:49 PM, Miguel Madero m...@miguelmadero.com wrote:
As I mentioned in the other thread, I would try to avoid accessing
other
View's ViewModel. There're other ways of communicating them.
31 matches
Mail list logo