Register  Login
Forum
Subject: Answer about this.tag
Prev Next
You are not authorized to post a reply.

Author Messages
scippyUser is Offline

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 WashingtonUser is Offline

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.
scippyUser is Offline

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 WashingtonUser is Offline

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.
Forums > Silverlight Desktop > Module Development > Answer about this.tag



ActiveForums 3.7

ActiveForums

Terms Of Use | Privacy Statement | Copyright 2008 by SilverlightDesktop.net Dynnamite DotNetNuke Skins & Modules