Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...VIEW.ASCX Not DisplayingVIEW.ASCX Not Displaying
Previous
 
Next
New Post
12/20/2012 2:18 PM
 

In VIEW.ASCX and VIEW.ASCX.CS, should I use "Repeater1" or "rptTaskList" ???

I've seen it both ways...

Jeff

 
New Post
12/20/2012 3:06 PM
 

TaskManager 04

    Tasks loaded: 0

     

    This is what displays every time.   I've entered 5 transactions and am able to view them via the "database" access of the WEB MATRIX home screen.

    I'm highly confident that all I did was "cut and paste" the code you gave me (with the exception of the reference to the "Repeater1" / "rptTaskList" variable.

    When I go to the module-hosting screen "Shenandoah", this is what appears.   I enter the "Manage" box and click on the "Edit Module" option, at which time the "Edit / Entry" screen appears.  I can enter transactions all day long, but the VIEW.ASCX screen never appears.

    I will be moving forward using the lblmessage.text option.

    Here are the transactions I entered, below.  Notice that transactions # 1 and # 2 are duplicates, separated only by a couple of seconds.  I've never seen it do this before, and it may be a fluke due to control characters or somesuch.  Notice also that there are two sets of transactions; I accidently "cut and paste" two sets into this box instead of one, and haven't been able to delete the second box (so disregard it, also, please).

    Jeff

     

     

    1 Task # 1 This is the description for Task # 1. 2 565 11/1/2012 12:00:00 AM 12/20/2012 1:42:30 PM -1 12/20/2012 1:42:30 PM 1 12/20/2012 1:42:30 PM 0
    2 Task # 1 This is the description for Task # 1. 2 565 11/1/2012 12:00:00 AM 12/20/2012 1:42:32 PM -1 12/20/2012 1:42:32 PM 1 12/20/2012 1:42:32 PM 0
    3 Task # 2 This is the description for Task # 2. 3 565 10/1/2012 12:00:00 AM 12/20/2012 1:44:50 PM -1 12/20/2012 1:44:50 PM 1 12/20/2012 1:44:50 PM 0
    4 Task # 3 This is the description for Task # 3. 2 565 7/1/2011 12:00:00 AM 12/20/2012 1:45:31 PM -1 12/20/2012 1:45:31 PM 1 12/20/2012 1:45:31 PM 0
    5 Task # 5 This is the description for Task # 5. 3 565 11/1/2010 12:00:00 AM 12/20/2012 1:49:22 PM -1 12/20/2012 1:49:22 PM 1 12/20/2012 1:49:22 PM 0
                           

     

    1 Task # 1 This is the description for Task # 1. 2 565 11/1/2012 12:00:00 AM 12/20/2012 1:42:30 PM -1 12/20/2012 1:42:30 PM 1 12/20/2012 1:42:30 PM 0
    2 Task # 1 This is the description for Task # 1. 2 565 11/1/2012 12:00:00 AM 12/20/2012 1:42:32 PM -1 12/20/2012 1:42:32 PM 1 12/20/2012 1:42:32 PM 0
    3 Task # 2 This is the description for Task # 2. 3 565 10/1/2012 12:00:00 AM 12/20/2012 1:44:50 PM -1 12/20/2012 1:44:50 PM 1 12/20/2012 1:44:50 PM 0
    4 Task # 3 This is the description for Task # 3. 2 565 7/1/2011 12:00:00 AM 12/20/2012 1:45:31 PM -1 12/20/2012 1:45:31 PM 1 12/20/2012 1:45:31 PM 0
    5 Task # 5 This is the description for Task # 5. 3 565 11/1/2010 12:00:00 AM 12/20/2012 1:49:22 PM -1 12/20/2012 1:49:22 PM 1 12/20/2012 1:49:22 PM 0
                           
     
    New Post
    12/20/2012 4:55 PM
     

    OK - we now know that

    • the View.ascx control is displaying
    • tasks are being created in the database
    • the TaskController.GetTasks method is returning an empty list ("Tasks loaded : 0")
    • since no tasks are being read the repeater control has noting to display

    In looking at the data in the database Tasks table, note that the values in the ContentItemId column are all -1. Because of the way the GetTask and GetTasks stored procedures are written (with an inner join to the ContentItems table on ContentItemId) no data will be returned even though it exists in the Tasks table.

    I would look closely at the SaveTask method in Components\TaskController.cs and all of the code in the components\Taxonomy\Content.cs file comparing your code with that of the source project downloaded from CodePlex.

    You could also look at the ContentType table to see if a ContentType with ContentTypeName "TaskManagerTask" is being created and then after making a note of its ContentTypeId checking to see if entries with this ContentTypeId are being created in the ContentItems table for each task in the Tasks table. We will then have a better idea of where the failure to assign a ContentItemId to each entry in the Tasks table is occuring.

    Note that once the coding error(s) are located and fixed only tasks created after the fix will be displayed.


    Bill, WESNet Designs
    Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
    Extensions Forge Projects . . .
    Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
    Coming Soon: FRBO-For Rent By Owner
     
    New Post
    12/20/2012 5:03 PM
     

    1.  It's amazing how much progress we can make when someone who knows what they're doing gets involved...   ; - )

    2.  I actually tried to set that CONTENTITEMID number to a non-negative number several days ago, as one of my first thoughts was "maybe bad data is keeping the records from displaying ???"....

    3.  I'll keep you posted.

    Jeff

     
    New Post
    12/20/2012 5:42 PM
     

    Still a no-go.

    Admittedly, there was some of my "chicken-scratching" in CONTENT.CS ( I think I told you I tried to change that -1 value to a positive value), so I  replaced both it (CONTENT.CS) and TASKCONTROLLER.CS with their Codeplex counterparts, rebuilt but still with no good result.

    I got to thinking a few minutes ago:  the ADD routine works, and the GETTASKS routine doesn't, so I went all the way back to SQLDATAPROVIDER.CS, noticed that the connection string for the unsuccessful one differed from that of the succesful one, changed it, rebuilt the module, tested it, again with no good result.

    Jeff

     
    Previous
     
    Next
    HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...VIEW.ASCX Not DisplayingVIEW.ASCX Not Displaying


    These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

    For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

    1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
    2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
    3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
    4. No Flaming or Trolling.
    5. No Profanity, Racism, or Prejudice.
    6. Site Moderators have the final word on approving / removing a thread or post or comment.
    7. English language posting only, please.
    What is Liquid Content?
    Find Out
    What is Liquid Content?
    Find Out
    What is Liquid Content?
    Find Out