Advanced Forum Search Results
-
I not quite understand what you are talking about.
I am assuming you mean ....
1. A point connects to B point
2. B connects to C
3 A should be removed. only the line from B to C should be shown?
If so.polyline.Locations contains all the points that you created. (ex. your a(x1,y1), B(x2,y2))
what you do is remove from ...
-
Thanks for your reply, Jonathan. The below are the repros
Silverlight Project Name: SilverlightASPX
C# Class Library Name: LanfLibrary
WebService: LanfService
my dll
1 using System.Windows.Browser;
2 namespace LanfLibrary
3 {
4 [ScriptableTypeAttribute]
5 public class Student
6 {
7 ...
-
[quote user="Jonathan Shen – MSFT"]
Hi Lanfong,
Please make sure you have add
WebApplication.Current.RegisterScriptableObject("basic", this); on your Load event. Based on your description, I suspect that the dynamically downed dll didn't generate the js code for you. However, as a convenient, would you ...
-
Is anyone encountered such problem??? If so, please spend some time helping me here. If there's documentation that explains all, give me the link and I'll go through it myself...
thanks..
-
No, I don't. Should I do that??? My web page is really simple that it
only contains the Silverlight control creation tags and buttons and
that's it. It's the silverlight control calls web service and returns
data back to javascript / aspx page. However, It does have ScriptManager tags in aspx page.
I googled about ...
-
Hi all,
I know that if we want to return custom class object from Silverlight to Javascript. All we need to do is to make the class we
created [ScriptableType] ([ScriptableTypeAttribute]) to expose all the public methods and members or [ScriptableMembers]
to just expose a specific method, member.
I have tried and it works when the custom ...
-
Hello,
From what I see, your code has no problem. I am guessing the problem is the creation of the silverlight control which I encountered such problem, too.
if you want to test it, try putting the "var slcontrol = document.getElementById("<%= slControl.ClientID %>");" line inside the start() function.
Because the ...