You need to Register for free and Login to post a message in the forum.

Forum

Subject: properteditorcontrol in dnn 4.7
Prev Next
You are not authorized to post a reply.

Author Messages
Shreekala
Nuke Newbie
Nuke Newbie
Posts:1

16 Jan 2008 3:22 AM  
Hi

I can not populate data(external data) to a list in properteditorcontrol  in dnn 4.7

i can retrive the contents of list using this code but i can not add data to a list

Dim objListController As New ListController

Dim q11 As New ListEntryInfo

Dim q2 As New ListEntryInfoCollection

 

q2 = objListController.GetListEntryInfoCollection(profProperty.PropertyName, profProperty.PropertyCategory)


q11 = q2.Item(0)
dim s,s1 as string
s=q11.Text
s1=q11.Value


i tried following code to add data to a list but it thrown an error
if any one knows please help

Dim objListController As New ListController

Dim q11 As New ListEntryInfo

Dim q2 As New ListEntryInfoCollection

q2 = objListController.GetListEntryInfoCollection(profProperty.PropertyName, profProperty.PropertyCategory)
q11.text="s"
q11.Value="s"
q2.Add(profProperty.PropertyName + ":" +q11.Value,q11)

i used this code to add but following error ocured

Error: Edit User Accounts is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Admin.Users.Profile.DataBind() in c:\inetpub\wwwroot\DNN470\Website\Admin\Users\Profile.ascx.vb:line 236 at DotNetNuke.Modules.Admin.Users.ManageUsers.ShowPanel() in c:\inetpub\wwwroot\DNN470\Website\Admin\Users\ManageUsers.ascx.vb:line 465 at DotNetNuke.Modules.Admin.Users.ManageUsers.BindData() in c:\inetpub\wwwroot\DNN470\Website\Admin\Users\ManageUsers.ascx.vb:line 266 at DotNetNuke.Modules.Admin.Users.ManageUsers.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\DNN470\Website\Admin\Users\ManageUsers.ascx.vb:line 545 --- End of inner exception stack trace ---

You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > properteditorcontrol in dnn 4.7



ActiveForums 3.7

Latest Forum Posts

Web.config Error by derpir
HelloI got this error, does this seem familiar to you? Can anyone say how to fix this error?Error 98...
No Access for me too by ristori
I suscribe for the magazine novembre 2008 13. I receive this ticket from Paypal : Prix de l...
How can I list our offices by country by bluehoops
Hi everyone!Apologies if this is a simple question, but it is driving me nuts.I run a small ISV and ...
RE: DNN Creative vs FireFoX V3 by DavidWSnow
It now looks like the error'ing extension is StumbleUpon and it effects FireFox on some, but not all...
Issue 39 Authentication by DavidWSnow
I was glad to see you address this topic. When LiveId was first added to DNN, I tried to implement i...
RE: (catalook) Itempane changes on product pages ?? by Vilaplana
Hi, I think the problem is been caused by your skin and not by Catalook itself.  In the main page, C...
Yahoo Answers by cdtguru
Hey, i was wondering if anyone knew of a module that would create a similar system to Yahoo Answers...
(catalook) Itempane changes on product pages ?? by Gaz35
Hi , hi , I don’t know if you can help me , here is the site in question http...
RE: Virtual Pc 2007 help by jeff@zina.com
You need to get the Virtual PC's network set up.  Might check the Virtual PC news group: http://www...
DNNCreative Just Keeps Getting Better by jeff@zina.com
Kudos on issue 39, the article on importing large quantities of data was both timely for me and spot...
RE: Videos by clippy
Hello from France My question is about the videos for beginners, and specially n° 3; I'm working...
skinning trouble by derpir
HelloI have uploaded a skin to my DNN-website, but I want to make som changes. I have made some chan...
RE: Column width in UDT by VickySwift
In case anyone else is looking for the answer to this, I have been able to add the headers back in b...
RE: search not working by jncraig
Did you either reindex the site to turn on the scheduled task to do it?
RE: Template Issue by jncraig
No, you need to install your custom modules before you use the template.
RE: error message in registration page by jncraig
I'm not sure that you can avoid them, short of rewriting the module.You might want to investigate Dy...
Template Issue by Bobbyjosephg
Hi,   Today I have come up with a problem with templates.I was successful in exporting a template an...
RE: search not working by sanju_k1421
I checked     host==>admin search  page   that is set both limits min //max  page     still i m n...
RE: error message in registration page by coder247
but how do I avoid the error messages provided by default in dnn?
RE: Style sheet does nothing by andorz
Oh. I was told to do that in my thread at the dotnetnuke.com forum. http://www.dotnetnuke.com/Commun...
DotNetNuke Modules
RSS Feeds