Category: C# ASPX
AES Encrypted SSO
Passing information between one site and another is becoming more and more common but how can you do it without exposing confidential data? Below are some examples of how you can encrypt text and then decrypt it on the other end. C# to C# Once you get to the destination…
Ektron Upload File Into Library
I found and modified code to create an Ektron Library File Upload function. This function allows some customization: Defined Folder ID In this code I manually set the folder ID but effectively you could have a drop down list of folders to select the folder (see DMS Widget) Content Title…
User Registration – Check Username Availability
This is a simple example of how to check for the existence of a username prior to letting someone select a username.
Clear Form Field Inputs
Reference: http://stackoverflow.com/questions/4872364/clearing-all-fields-in-an-asp-net-form
C# Get URL Details From Browser
Host: test.domain.org Host: test.domain.org Path: /templates/pbcontent.aspx Application Path: / URL: https://test.domain.org/templates/pbcontent.aspx?pageid=2147483707&id=86186 Path With Query: /templates/pbcontent.aspx?pageid=2147483707&id=86186
ASPX Page Control Enable / Disable
In some cases you need to disable controls on a page, this will help you disable various types of controls.
Ektron – Widget Form
In the recent upgrade from Ektron 8.0.2 to 8.7 I’ve been rebuilding forms to user controls that can be used as widgets. Below is basic elements to make the form work for your Ektron 8.7 (possibly higher). Please note the TextBox SubmissionEmail, this allows you to change the email address…