Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Cannot perform runtime binding on a null reference
fatnjazzy
#1 Posted : Friday, January 27, 2012 2:01:26 PM(UTC)
Rank: Newbie
Groups: Registered

Joined: 1/27/2012(UTC)
Posts: 2
Hi,
I am new to this CMS.
I have created a vew, inside it I setup a data rule and Slogen.
Inside the view i put:
@Html.Raw(ViewBag.Slogen.Topslogen ?? "")
and I get the error: Cannot perform runtime binding on a null reference.

The content is not empty.

What do you think went wrong?
Thanks
jifeng
#2 Posted : Saturday, January 28, 2012 2:18:52 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,552
Location: Xiamen China
I think the Slogen data is null.
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
fatnjazzy
#3 Posted : Saturday, January 28, 2012 5:36:51 AM(UTC)
Rank: Newbie
Groups: Registered

Joined: 1/27/2012(UTC)
Posts: 2
hi
this is what i am asking. y it is null?
what can be the cause for that.

i went step by step with the tutorial
jifeng
#4 Posted : Sunday, January 29, 2012 1:25:39 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,552
Location: Xiamen China
Maybe the data rule need parameters and the page does not provide.

Can you give a screenshot show me how do you create the data rule?
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
Users browsing this topic
Guest
Forum Jump  
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.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.066 seconds.