MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Monox - WebPart - Communication.. API  (Mono Support )

22125 put(a) pogledan, 3 odgovor(a) 13.1.2011. 21:50:46Kreirao(la) shawndg
shawndg

shawndg

13.1.2011. 21:50:46
Hello,

I been trying to figure out how to build monox into my own portal using web parts that can communicate with the current running monox system properties.

So far I figured out how to use the AJAX.NET Controls inside my own webpart.. as well as convert another paid web control into a monox control.. GREAT!!.

Now what im trying to do.. is figure out a way for my webpart control to read some of the monox properties..

For example.. if my part is placed on the user profile page... How do I read the current user ID inside the webpart code ?

Ovaj sadržaj još nije ocijenjen. 
1871 Reputacija 252 Ukupno objava
denis

denis

14.2.2011. 21:34:37
That is easy:

using MonoSoftware.MonoX.Utilities; 
... 
Guid userId = SecurityUtility.GetUserId();

You might want to download the developer's reference guide that lists all of the methods that can be used to build custom solutions. MonoSoftware.MonoX, MonoSoftware.MonoX.Utilities and MonoSoftware.MonoX.Repositories are nemaspaces you should get familiar with.
P.S. A new API with support for OpenSocial protocol is in the works. It will enable developers to build advanced mashups without using low-level calls.
Ovaj sadržaj još nije ocijenjen. 
7207 Reputacija 956 Ukupno objava
shawndg

shawndg

14.1.2011. 1:02:15
Thank you.. exactly what I needed..

But now im having another problem.. posted that on its own thread because its not related.. I removed all my custom controls and web parts and dlls and its still happening..

Ovaj sadržaj još nije ocijenjen. 
1871 Reputacija 252 Ukupno objava