Tuesday, April 28, 2015
Practical Guide for Creating HyperLinkField in GridView in ASP.NET
http://www.codeproject.com/Articles/99607/Practical-Guide-for-Creating-HyperLinkField-in-Gri
Interesting Article about Learning How You Understand Code
http://www.codeproject.com/Articles/891833/How-to-Become-a-Better-Programmer-by-Learning-How
Monday, April 27, 2015
LiveReload.com
This tool automatically refresh website if file changes.
http://feedback.livereload.com/knowledgebase/articles/67441-how-do-i-start-using-livereload-
//remove before moving to production
<script>
document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')
</script>
http://feedback.livereload.com/knowledgebase/articles/67441-how-do-i-start-using-livereload-
//remove before moving to production
<script>
document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')
</script>
disable a button
$('#btnXYZ').attr('disabled','');
$('#btnXYZ').attr('disabled','disabled')
$('#btnXYZ').attr('disabled','disabled')
Angular js with bootstrap ui
http://www.dotnetcurry.com/showarticle.aspx?ID=1080
Sunday, April 26, 2015
set text box hidden by default
Not sure what you mean by default, but you could add the style attribute:
<%= Html.TextBoxFor(m => m.SomeProperty, new { style = "display: none;" }) %>
or:
<%= Html.TextBoxFor(m => m.SomeProperty, new { @class = "hidden" }) %>
and in your CSS file:
.hidden {
display: none;
}
Subscribe to:
Posts (Atom)