|
|
 |  |  |
 |
|
 |
 |
|
|
|
|
| Author |
Messages |
|
scippy
Posts:15
 |
| 10/05/2009 10:26 AM |
|
I am very excited to use silverlightdesktop for DNN, I'm checking out the code page.xaml.cs and I did not clear where it comes from the information contained in this.tag of page_loaded void. can someone explain? thanks! |
|
|
|
|
Michael Washington
Posts:64
 |
| 10/05/2009 10:33 AM |
|
Do you mean the source code for the Silverlight module at: http://silverlightdesktop.codeplex.com/sourcecontrol/changeset/view/37640?projectName=SilverlightDesktop#242867 This method: public Page(string PortalID, string ModuleId, string UserID, string Password, string WebServiceBase, string AutoLoadModule) set global variables. The method also has: Loaded += new RoutedEventHandler(Page_Loaded); That calls the PageLoaded method when it completes. |
|
|
|
|
scippy
Posts:15
 |
| 10/05/2009 2:05 PM |
|
No, I'm speaking about Notepad example: http://silverlightdesktop.codeplex.com/sourcecontrol/changeset/view/37640?projectName=SilverlightDesktop#370955 I'm no able to understand 'this.tag' in this row of page_loaded void (see below): string[] strParameters = this.Tag.ToString().Split(delimiterChars); I don't understand how work 'this.tag' function, I see in debug that here I can find some information like user id, module id etc. but I don't understand where come from this information. I use the proxy web service for load and save (and this is clear to me) but where 'this.tag' get information I'm no able to understand. Thanks for the help! |
|
|
|
|
Michael Washington
Posts:64
 |
| 10/05/2009 2:14 PM |
|
This article explains it: http://silverlightdesktop.net/Documentation/tabid/58/itemid/11/Default.aspx |
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.7
|
|
|
|
|
 |  |  |
|