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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsRemoving fields displayed in My Enrollments pageRemoving fields displayed in My Enrollments page
Previous
 
Next
New Post
6/14/2010 3:40 AM
 
Add visible="false" to the asp label lblAmount and checkbox chkApproved. So:-

<asp:Label id="lblAmount" runat="server" visible="false"></asp:Label>

and

<asp:CheckBox ID="chkApproved" runat="server" visible="false" Enabled="false" Checked='<%# DataBinder.Eval(Container.DataItem,"Approved") %>'/>

I would suggest if you want to add extra content to this view that you run it through debug mode in Visual Studio, because you will then see what actions it performs. This will give you much better knowledge than anything we can sensibly provide. It isn't quite as simple as editing ascx files and sprocs, you will also need change vb code in a number of places, primarily myenrollments.ascx.cv, eventcontroller.vb, dataprovider.vb and probably eventinfo.vb.

Cheers
Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
6/14/2010 4:30 AM
 
Hi Leroy

 

OK, I am getting a better idea what you try to achieve. It's suprsing to read what people try to accomplish with the Events module...

 

I think the enrollment change is not a simple change settings. The principle of enrollment (1 event, multiple people can enroll for free or payed), is really dfferent from the things you would like to do.

 

There is 1 enhancement request (http://dnnevents.codeplex.com/workite...) that will fit one of your needs: a see "my enrollments" option (in your case assigments). Give this an extra vote on CodePlex, and thare is a better chance that it might end up in the next version fo Events.

We are also working on fully templating the list view, and we will rethink the enrollment display (please add an feature request/issue on CodePlex for this)  which might also solve the rest of your case. Good ideas are always welcome.

Sorry we cannot be of more help NOW, working on Events is our free time, we are all volunteers


XCESS expertise center b.v.
Regards,
Ernst Peter
LinkedIn Profile Ernst Peter Tamminga


XCESS: DNN/Evoq specialist, zie www.xcess.nl

Events 7.0.1 - Released
Reports 6.1.0 - Released
 
New Post
6/14/2010 6:30 AM
 
Hi, thank you very much for the answers. Roger, I will try that - what I did was to add the div tags around it (using a text editor and then uploading the file again) - I will edit the file properly this time and really look throught he code files etc. Ernst Peter, I submitted that work request :) ... I don't know if I can vote for my own work requests, if so, prepare yourself to see the vote count rocket upwards! :) - everybody else: feel free to vote that request up! (for adding some security in seeing events on the calendar - i.e. only people who are enroled, owner, editors or admin can view the events) Again, thanks a lot for your time, Best regards, leroyb
 
New Post
6/15/2010 6:35 AM
 
Hi Roger,

you solution worked for me - thank you very much for that.
I realise that it is not a perfect solution because I am editing the source file but this works for me.
Just to confirm, I opened the page EventMyEnrollments.ascx in Visual Studio (could have opened it in textpad of course) and added the tags as indicated by you.
The code at those last 2 columns now looks like this:
<asp:TemplateColumn headerText="Approved" visible="false">
    <ItemTemplate>
        <asp:CheckBox ID="chkApproved" runat="server" visible="false" Enabled="false" Checked='<%# DataBinder.Eval(Container.DataItem,"Approved") %>'/>
    </ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn DataField="Approved" HeaderText="Approved" Visible="false"></asp:BoundColumn>
<asp:TemplateColumn headerText="Amount" visible="false">
    <ItemTemplate>
        <asp:Label id="lblAmount" runat="server" visible="false"></asp:Label>
    </ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn DataField="PayPalAmount" HeaderText="Amount" DataFormatString="{0:F2}" Visible="false"></asp:BoundColumn>

In yellow being what I added.

Again, thank you very much for your help,

Best regards,

leroyb
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsRemoving fields displayed in My Enrollments pageRemoving fields displayed in My Enrollments page


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