Click here to Skip to main content
14,542,667 members

.NET Framework

 
QuestionOne Wier library for VB.NET Pin
Member 1218072911-Jul-17 23:47
MemberMember 1218072911-Jul-17 23:47 
AnswerRe: One Wier library for VB.NET Pin
Afzaal Ahmad Zeeshan12-Jul-17 0:30
mvaAfzaal Ahmad Zeeshan12-Jul-17 0:30 
GeneralRe: One Wier library for VB.NET Pin
Member 1218072920-Jul-17 6:01
MemberMember 1218072920-Jul-17 6:01 
QuestionMVC: ValidationSummary("); dosn't work with Partial Viwe Pin
Azza ALbelushi5-Jul-17 23:55
MemberAzza ALbelushi5-Jul-17 23:55 
AnswerRe: MVC: ValidationSummary("); dosn't work with Partial Viwe Pin
Richard Deeming6-Jul-17 1:22
mveRichard Deeming6-Jul-17 1:22 
GeneralRe: MVC: ValidationSummary("); dosn't work with Partial Viwe Pin
Azza ALbelushi6-Jul-17 2:49
MemberAzza ALbelushi6-Jul-17 2:49 
GeneralRe: MVC: ValidationSummary("); dosn't work with Partial Viwe Pin
Richard Deeming6-Jul-17 2:52
mveRichard Deeming6-Jul-17 2:52 
GeneralRe: MVC: ValidationSummary("); dosn't work with Partial Viwe Pin
Azza ALbelushi6-Jul-17 8:00
MemberAzza ALbelushi6-Jul-17 8:00 
It switch between the forms probably, and successfully registered users. But the only problem in handling the Error like if user is exist it goes to login form instead and error appear there.

the animation is done in css
.wrapper p.change_link a {
    display: inline-block; 
    font-weight: bold;
    padding: 3px 6px;
    color:#ffffff;
    margin-left: 10px;
    text-decoration: none;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s  linear;
    -o-transition: all 0.4s linear;
    -ms-transition: all 0.4s  linear;
    transition: all 0.4s  linear;
}

.change_link
{
 font-weight:550; 
 margin-left: 30px;
 color:#23C1B0;
 font-family: "Trebuchet MS","Myriad Pro",Arial,sans-serif;
font-size:17px;     

}

<h1>toregister:target ~ .wrapper #register,</h1>

<h1>tologin:target ~ .wrapper #login{</h1>

    z-index: 22;
    -webkit-animation-delay: .6s;
    -webkit-animation-timing-function: ease-in;
    -moz-animation-delay: .6s;
    -moz-animation-timing-function: ease-in;
    -o-animation-delay: .6s;
    -o-animation-timing-function: ease-in;
    -ms-animation-delay: .6s;
    -ms-animation-timing-function: ease-in;
    animation-delay: .6s;
    animation-timing-function: ease-in;
    -webkit-animation-name: scaleIn;
    -moz-animation-name: scaleIn;
    -ms-animation-name: scaleIn;
    -o-animation-name: scaleIn;
    animation-name: scaleIn;
}
#toregister:target ~ .wrapper #login,
<h1>tologin:target ~ .wrapper #register{</h1>

    -webkit-animation-timing-function: ease-out;
    -moz-animation-timing-function: ease-out;
    -o-animation-timing-function: ease-out;
    -ms-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    -webkit-animation-name: scaleOut;
    -moz-animation-name: scaleOut;
    -ms-animation-name: scaleOut;
    -o-animation-name: scaleOut;
    animation-name: scaleOut;
}
/** the actual animation, credit where due : <a href="http://daneden.me/animate/">http://daneden.me/animate/</a> */
.animate{
    -webkit-animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;

    -moz-animation-duration: 0.5s;
    -moz-animation-fill-mode: both;

    -o-animation-duration: 0.5s;
    -o-animation-fill-mode: both;

    -ms-animation-duration: 0.5s;
    -ms-animation-fill-mode: both;

    animation-duration: 0.5s;
    animation-fill-mode: both;
}

here is the place of change link
@using (Html.BeginForm("Register", "Account", FormMethod.Post))

{<br />
      @Html.AntiForgeryToken()
   @Html.ValidationSummary(true, "Registeration Failed, fields.");

<pre>
<label data-icon="u"> </label>
@Html.EditorFor(user => Model.UserName, new { htmlAttributes = new { @class = "form-control", placeholder = "username" } })
@Html.ValidationMessageFor(user => Model.UserName)

<label data-icon="e"> </label>
@Html.EditorFor(user => Model.Email, new { htmlAttributes = new { @class = "form-control", placeholder = "mymail@mail.com" } })
@Html.ValidationMessageFor(user => Model.Email)

<label data-icon="p"> </label>
@Html.EditorFor(user => Model.Password, new { htmlAttributes = new { @class = "form-control", placeholder = "password" } })
@Html.ValidationMessageFor(user => Model.Password)

<input type="submit" value="Sign Up">
<p class="change_link">  Already a member ?<a href="#tologin" class="to_register"> Log in </a></p</pre>


modified 6-Jul-17 14:09pm.

GeneralRe: MVC: ValidationSummary("); dosn't work with Partial Viwe Pin
Richard Deeming6-Jul-17 9:07
mveRichard Deeming6-Jul-17 9:07 
GeneralRe: MVC: ValidationSummary("); dosn't work with Partial Viwe Pin
Azza ALbelushi6-Jul-17 19:07
MemberAzza ALbelushi6-Jul-17 19:07 
GeneralRe: MVC: ValidationSummary("); dosn't work with Partial Viwe Pin
Richard Deeming7-Jul-17 0:29
mveRichard Deeming7-Jul-17 0:29 
GeneralRe: MVC: ValidationSummary("); dosn't work with Partial Viwe Pin
Azza ALbelushi10-Jul-17 20:05
MemberAzza ALbelushi10-Jul-17 20:05 
GeneralRe: MVC: ValidationSummary("); dosn't work with Partial Viwe Pin
Richard Deeming11-Jul-17 1:29
mveRichard Deeming11-Jul-17 1:29 
GeneralRe: MVC: ValidationSummary("); dosn't work with Partial Viwe Pin
Dave Kreskowiak11-Jul-17 3:33
mveDave Kreskowiak11-Jul-17 3:33 
QuestionPrinting things in MVC Pin
kijie4-Jul-17 5:33
Memberkijie4-Jul-17 5:33 
AnswerRe: Printing things in MVC Pin
Gerry Schmitz4-Jul-17 6:03
mveGerry Schmitz4-Jul-17 6:03 
QuestionConsole Application is raising following Error Pin
indian14329-Jun-17 7:54
Memberindian14329-Jun-17 7:54 
AnswerRe: Console Application is raising following Error Pin
jschell2-Jul-17 7:18
Memberjschell2-Jul-17 7:18 
QuestionTelerik radscheduler day view problem Pin
Member 1326557818-Jun-17 1:50
MemberMember 1326557818-Jun-17 1:50 
AnswerRe: Telerik radscheduler day view problem Pin
Eddy Vluggen18-Jun-17 2:37
professionalEddy Vluggen18-Jun-17 2:37 
GeneralRe: Telerik radscheduler day view problem Pin
Member 1326557818-Jun-17 2:51
MemberMember 1326557818-Jun-17 2:51 
GeneralRe: Telerik radscheduler day view problem Pin
Eddy Vluggen18-Jun-17 3:03
professionalEddy Vluggen18-Jun-17 3:03 
GeneralRe: Telerik radscheduler day view problem Pin
Member 1326557818-Jun-17 3:07
MemberMember 1326557818-Jun-17 3:07 
GeneralRe: Telerik radscheduler day view problem Pin
Eddy Vluggen18-Jun-17 3:14
professionalEddy Vluggen18-Jun-17 3:14 
GeneralRe: Telerik radscheduler day view problem Pin
Dave Kreskowiak18-Jun-17 3:45
mveDave Kreskowiak18-Jun-17 3:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.