I am building a new module that has an Upload capability for registered users only. I also want to build a control that allows them to view their uploads. So basically a "Upload" page and a "View My Uploads" page. I have successfully built the module with the Upload page, settings page, and I removed the edit page (there's nothing to edit). I am going to build an Admin Upload module seperate from this, that's why I didn't need the edit page.
I can't figure out how to tie the ascx pages together in the module. I have a "ViewUploader.ascx" and "MyUploads.ascx" page. I have placed the module on a page called "Uploads.aspx". How can I place the "ViewUploader.ascx" on a seperate page, lets say "MyUploads.aspx". I am thinking this can't be done without creating seperate modules???
If the controls have to exist on the same page, how do I correctly link from the "ViewUploader.ascx" control to the "MyUploads.ascx"?
I have tried monkeying around with this code, but am not exactly sure hot to "hook" it up correctly. The two ascx pages are in the same directory.
Actions.Add(GetNextActionID, Localization.GetString(Entities.Modules.Actions.ModuleActionType.AddContent, LocalResourceFile), Entities.Modules.Actions.ModuleActionType.AddContent, "", "", EditUrl(), False, Security.SecurityAccessLevel.Edit, True, False)
Any help will be greatly appreciated. Examples, Advice, Links, etc.
Thanks!
Frank