Using Crystal Reports in Umbraco Options
lpastor
Posted: Sunday, September 28, 2008 1:38:52 AM

Rank: Aficionado

Joined: 8/4/2008
Posts: 111
Location: Serbia
HI

Is anybody used Crystal reports in custom controls...


I create some user controls and when I testing alone it works but when I put in Umbraco ... actually I put it into dashboard(I want to show some result of user action ...)
No report is shown ?!?

I put that report shoud be Embeder resource and call it in cs code like

Quote:

report.MemberActivity rep = new global::Reporter.report.MemberActivity();

crViewer.ReportSource = rep;




but now report at all and no error message ???

any idea?
Ammu
Posted: Tuesday, September 30, 2008 12:24:13 PM
Rank: Newbie

Joined: 8/18/2008
Posts: 21
Location: bangalore
Hi lpastor,


I had created a .Net web user control and build it.Then i had added the corresponding dll in Umbraco's bin and the user control which i created,to usercontrols of umbraco respectively.
But I am not getting the corresponding user control in Macros of Umbraco,where we select the required user control in macros,it should populate in dropdown by default,if we add the control in the usercontrols of the UMBRACO.

Can you tell me what I am Missing here?




Thanks & Regards,
Ammu
lpastor
Posted: Tuesday, September 30, 2008 12:49:34 PM

Rank: Aficionado

Joined: 8/4/2008
Posts: 111
Location: Serbia
HI

It seems that you do everything ok.

I building a control , put dll into bin , create new folder under user controls folder and when create new macro I seen that aspx uin dropdaown box.

Did you ever managed to create new controls or this is your first one ?
Maybe you should check privilege under umbraco folders ? Just a tip

LAslo
jitendraapi
Posted: Tuesday, September 30, 2008 1:50:00 PM
Rank: Newbie

Joined: 9/30/2008
Posts: 1
Location: India
Its looks like good, i just seeing its code. But is there any other CMS which have more functionality than... this.

or it is the best in c# open source ???

thanks

Jitendra Singh
www.newGenLives.com
Ammu
Posted: Tuesday, September 30, 2008 2:37:52 PM
Rank: Newbie

Joined: 8/18/2008
Posts: 21
Location: bangalore
hi lpastor,

Thankyou for your reply,

This is my first user control which i added, as u said i had created one folder and added the control in the folder.and i am trying to select the corresponding control from the list of controls in Macros.

Still I am missing something here,Can you tell me what i am missing?

Thanks & Regards,
Ammu
lpastor
Posted: Tuesday, September 30, 2008 2:46:57 PM

Rank: Aficionado

Joined: 8/4/2008
Posts: 111
Location: Serbia
Your privilege over folders are set OK...

ASP.net user have all privilege?

Ammu
Posted: Tuesday, September 30, 2008 3:04:39 PM
Rank: Newbie

Joined: 8/18/2008
Posts: 21
Location: bangalore
Quote:
Your privilege over folders are set OK...

ASP.net user have all privilege?


Hi lpastor,

Can you please tell me in detail? You are asking about what? I am not getting this ?

Thanks & Regards,
Ammu
Ammu
Posted: Tuesday, September 30, 2008 3:10:06 PM
Rank: Newbie

Joined: 8/18/2008
Posts: 21
Location: bangalore
Hi lpastor,

Can you tell me,how you worked with .Net User control?

I will check with you,whether i had missed anything else??


Anxious

Thanks & Regards,
Ammu
lpastor
Posted: Tuesday, September 30, 2008 3:48:44 PM

Rank: Aficionado

Joined: 8/4/2008
Posts: 111
Location: Serbia
Ok

create new asp net web application.
create in solution new folder user control
create in solution new folder External reference (here I just store all dll that I need from UMBRACO ...
busineslogic.dll
cms.dll
umbraco.dll
interface.dll
)

add reference to all this (meybe I will need it :-))

in post build event under solution propertie page I add this :

Quote:

xcopy /Y /S /F "$(TargetPath)" "C:\Inetpub\dvv303\bin"
xcopy /Y /S /F "$(ProjectDir)usercontrols\*.ascx" "C:\Inetpub\dvv303\usercontrols\dvvMemberControls"


(change the path according to your machine)

Develop my usercontrol , add logic ... and build ...
solution copy dll and usercontrol ascx file ...

In umbraco admin create new macro .. save it
open it again ...found usercontrol ascx in drop down box ... save it
opet it and add properties ...

that is ..

go on page or template and add your macro , set properties and get for drink Whistle


Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.