|
I wouldn't use a frame for this. Have a look at ContentControl it can be a 'host' in a Grid for the user controls you create for the right hand panel.
|
|
|
|
|
Hi everybody. I've had EB2 SP1.
Whenever I wanna create an event in SilverLight 2 I receive this[^] error What's wrong with it ?
How can I solve it ?
( By the way I have VS2008 SP1)
Thanks in advance.
|
|
|
|
|
The error occurred because I didn't have VS2008 SP1[^] with SL2 tools[^].
When I downloaded and installed them , my problem solved.
|
|
|
|
|
i have created a user control Dynamically and added it to a Wrap Panel as a child. now if i remove it from panel but it still remains in memory.
i want it to be permanently removed from memory. There is no Dispose method available. and i also tried by implementing idisposable interface and overwriting the Dispose() method for my control but it still remain in memory.
Is there any way to remove this object(User Control) from memory
Regards
Rishi
|
|
|
|
|
RishiKasnia wrote: Is there any way to remove this object(User Control) from memory
Nope. WPF uses MIL handles internally, and the garbage collector is called as and when it is needed. When you think about it, this makes perfect sense - the whole point of WPF is that it doesn't need you to access unmanaged resources to do things (you can, but you aren't required to) so you don't actually need to Dispose controls.
|
|
|
|
|
Thanks Pete for reply
but in my case i need to remove this user control from memory . becoz after removing it from canvas or panel , if i try to fire some event then this Control also respond the event (Though it has been removed).
for a workaround i detached the Event Handler for user control(when i remove it from canvas/panel). but it still resides in memory and remains throughout the program execution (becoz this control is not local to any Block) thus degrading performance .
Regards Rishi.
|
|
|
|
|
Unfortunately you can't automatically remove the control deterministically. You could, possibly, remove the control by forcing a garbage collection, but this really is a bad idea.
|
|
|
|
|
Hi,
I have created service in which I am fetching data from database write that in xmldocument and returning XMLDOCUMENT.
But it raised error in client page
"System.Xml.XmlDocument" can not serialized.
is anybody have any solution.
Thanks,
Nagraj
|
|
|
|
|
|
This sort of thing really pi**** me off ...
|
|
|
|
|
Dude, calm down. You should pity these fools for being both stupid enough to need this type of help to start with and being desperate enough to spam all sorts of forums to find it.
led mike
|
|
|
|
|
You really need to start doing the Mr T voice here. "Pity this you crazy fool"
|
|
|
|
|
Pete O'Hanlon wrote: You really need to start doing the Mr T voice
I did. Apparently you did not hear my post correctly.
led mike
|
|
|
|
|
|
I love it when a plan comes together.
|
|
|
|
|
Pete O'Hanlon wrote: I love it when a plan comes together.
I created that plan like all great plans. I outsourced it, some guy named Nagraj Naik came up with that one.
led mike
|
|
|
|
|
Hi,
I have started working of WPF for past 2 months. I am developing custom controls in WPF , layout mechanism by container controls,depency properties etc. Can u please suggest me a book, from which I can get the a good and solid base for all these things.
thanks in advance,
Vinod C S
|
|
|
|
|
WPF Unleashed - Adam Nathan is a really good book I read.
|
|
|
|
|
As well as the Nathan book, you must get this one: Pro WPF[^]
|
|
|
|
|
That is definitely a good suggestion, I would suggest any of the WPF books from Apress.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
thanks for the suggestions.
I am having the book ProC# from Apress. I vl start
with that.
|
|
|
|
|
Good choice. Adam Nathan's book is a good one to get as well. There's also a decent WPF book by Chris Sells that you might ultimately want to take a look at.
|
|
|
|
|
I need good tutorial for SilverLight >?
thanks have a good day
|
|
|
|
|
You can start from this[^] link.
Regards,
Syed Mehroz Alam
My Blog
My Articles
Computers are incredibly fast, accurate, and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination. - Albert Einstein
|
|
|
|
|
go to www.silverlight.net
|
|
|
|