Click here to Skip to main content
15,892,059 members
Articles / Hosted Services / Azure

YouConf - Your Live Online Conferencing Tool

Rate me:
Please Sign up or sign in to vote.
4.96/5 (41 votes)
17 Nov 2013CPOL167 min read 259.3K   660   70  
A site for managing and delivering virtual conferences - complete with embedded live streaming and chat. Showcasing the best Azure has to offer!
@model Speaker
@{
    ViewBag.Title = "Edit speaker";
}

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
    @Html.Hidden("conferenceHashTag", (string)ViewBag.ConferenceHashTag)
    @Html.HiddenFor(model => model.Id)
    @Html.HiddenFor(model => model.ConferenceId)

    <p>Please enter details for the speaker below. Note that whilst it is not mandatory to provide an avatar for a speaker, it can be helpful for users to help recognise the speaker on the conference details page. See <a href="http://avatars.io" target="_blank" class="no-button">Avatars.io</a> for more details on how to use a Twitter, Facebook, or Instagram avatar. In future we'll also add the option to upload your own image for the speaker.</p>

    <fieldset>
        <legend>Speaker</legend>

        <div class="editor-label">
            @Html.LabelWithRequiredAsteriskFor(model => model.Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>

        <div class="editor-label">
            @Html.LabelWithRequiredAsteriskFor(model => model.Url)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Url, new { title = "The full url for further information on the speaker. E.g. A profile page, blog page, or company page." })
            @Html.ValidationMessageFor(model => model.Url)
        </div>

        <div class="editor-label">
            @Html.LabelWithRequiredAsteriskFor(model => model.Email)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Email, "This will not be displayed to the public on the conference details page.")
            @Html.ValidationMessageFor(model => model.Email)
        </div>

        <div class="editor-label">
            @Html.LabelWithRequiredAsteriskFor(model => model.AvatarUrl)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.AvatarUrl, new { title = "The non-qualified url for the speaker's avatar to display on the conference page. E.g. //avatars.io/twitter/speakername" })
            @Html.ValidationMessageFor(model => model.AvatarUrl)
        </div>

        <div class="editor-label">
            @Html.LabelWithRequiredAsteriskFor(model => model.Bio)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.Bio, new { title = "A brief biography of the speaker's background and areas of expertise." })
            @Html.ValidationMessageFor(model => model.Bio)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to Conference", "Details", "Conference", new { hashTag = (string)ViewBag.ConferenceId }, null)
</div>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
New Zealand New Zealand
I'm a software developer based in the beautiful city of Wellington, New Zealand. I love experimenting with new .Net technologies as they arrive, and these days there seems to be a lot of choice as there are so many new features in the framework! My current interests are Azure, ASP.Net MVC, SignalR, Knockout, AngularJS, and responsive design (inc. using Bootstrap, Foundation, Skeleton). These change fairly often as I tinker with various new technologies...

Comments and Discussions