This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.ir { | |
border:0; | |
font: 0/0 a; | |
text-shadow: none; | |
color: transparent; | |
background-color: transparent; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Bb]in | |
[Oo]bj | |
*.suo | |
*.user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n the head <meta http-equiv="refresh" content="1" id="refresh"> | |
and also in the head | |
<script> | |
var r = document.getElementById('refresh'); | |
r.parentNode.removeChild(r); // meta refresh that is removed in JS... therefore if JS is disabled the page will refresh. iirc you can navigate to a new page with meta tags as well. | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@*<div class="controls"> | |
@for (int i = 0; i < Model.MarketingCodes.Count(); i++) | |
{ | |
var name = @Model.MarketingCodes[i].name.ToString(); | |
<label for="@Model.MarketingCodes[i].name" class="checkbox inlineblock"> | |
@Html.CheckBoxFor(model => model.MarketingCodes[i].selected, new { name = @Model.MarketingCodes[i].name.ToString(), @id = @Model.MarketingCodes[i].name.ToString() }) | |
@Model.MarketingCodes[i].name | |
</label> | |
@Html.HiddenFor(model => model.MarketingCodes[i].name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//On your View: | |
//view plaincopy to clipboardprint? | |
@using (Html.BeginForm()) | |
{ | |
//other fields here..... | |
<input type="submit" value="Save1" name="submitButton" id="submitButton"> | |
<input type="submit" value="Save2" name="submitButton" id="submitButton"> | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('form').validate({rules: {...}, | |
onkeyup: false}); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="editor-field"> | |
@for (int i = 0; i < Model.Data.Count(); i++) | |
{ | |
@Html.HiddenFor(m => m.Data[i].Id) | |
@Html.HiddenFor(m => m.Data[i].ParentId) | |
@Html.HiddenFor(m => m.Data[i].Name) | |
@Html.TextBoxFor(m => m.Data[i].Value) | |
} | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To configure Git to use an Internet Proxy: | |
If your computer passes through a Proxy in order to access the Internet, then Git must be configured to use this Proxy when interacting with repositories on the Internet. The command to enable Git to use a Proxy is: | |
git config –global http.proxy http://our-proxy-server:8088 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ScriptManager.RegisterClientScriptBlock(this, Page.GetType(), "a", "window.onload = function () { $('#NewUserDialog').dialog('open'); }", true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//jqprint() for printing pcl details on click | |
$('PrintPCLDetails').live('click', function (event) { | |
event.preventDefault(); | |
$('#terms').jqprint(); | |
}); |
OlderNewer