BMXDad 23 Newbie Poster
$("#DatePick").datepicker({
   minDate: <%= DateTime.Now.ToShortDateString() %>
}); 

This will set min date to the current date. Only future dates are available to select. Set the 'minDate' argument to the date you need.

BMXDad 23 Newbie Poster

oops, modded version :-)

    if (dat.Day == 11 || dat.Day == 12 || dat.Day == 13)
            {
                ord = "th"; 
            }
            else
            {
                switch (i)
                {
                    case 1:
                        ord = "st";
                        break;
                    case 2:
                        ord = "nd";
                        break;
                    case 3:
                        ord = "rd";
                        break;
                    default:
                        ord = "th";
                        break;
                }
            }
JorgeM commented: very nice! +12
BMXDad 23 Newbie Poster

Try removing the "http" on your links.

I.E. href="\somewebsite.com\css\site.css"

This is a hack that works if one of the sites is using https or http.

<M/> commented: Hmmm, never thought of that... +10
BMXDad 23 Newbie Poster

diafol ... nicely done.

I'd make a small change though (visual stuff):

    body{
        font-size: 60px;
    }
    .ring{
        color:white;
        text-align: center;
        background-color:#CC0000;
        padding: 5px;
    }
BMXDad 23 Newbie Poster

Generally, if its part of the page or menu structure then put it in the CSS, using the background-image property.

If its part of the content, then in the markup. That way you can make sure the Alt tag is filled out properly and an individual that's using an AT (Assistive Technology) device can understand what the image is about.

travis.holt.921_2 commented: I agree! +0
BMXDad 23 Newbie Poster

Blog Engine

Open source blog that has everything you need.

BMXDad 23 Newbie Poster

Are you trying to add a query string to the current url, like this:

http://current.website.com/index.aspx?zoom=true

Try

   protected void Button1_Click(object sender, EventArgs e)
    {
        Response.Redirect("default.aspx?zoom=true");
    }
BMXDad 23 Newbie Poster

Twitter Bootstrap is one of the best Mobile ready frameworks around, in my opinion.

http://twitter.github.io/bootstrap/

Customise it to your color scheme and select only jQuery plugins your actully going to use ... and your ready to go.

BMXDad 23 Newbie Poster

No ... but you could use css hacks. If your looking for diffent style sheets for each browser, then a conditional on the link is better ... IMO

<!--[if lt IE 7]> <link rel="stylesheet" href="Content/IE7.min.css" /> <![endif]-->

But before doing that, you might want to see if you can solve the problem either with diffent css or with some minor ie spacing hacks.

This should work for all IE (pretty sure it still does). Just duplicate a class for IE

html>body someClass {
Something for IE here: 30em
}
BMXDad 23 Newbie Poster

Try FormCollection in your controller and see if anything is coming through that way.

divin757 commented: That works but how could I make it work with a model? I have another page that is almost identical and it passes back a model like I would expect. +1
BMXDad 23 Newbie Poster

Add this just under the closing form tag, line 105

 <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
BMXDad 23 Newbie Poster

Sorry ... what I sent is for a button click. This works like you want I think.
http://jsfiddle.net/GBL4s/1/

<label for="business">
    <input type="checkbox" id="business">Business</label>
<div id="businesslist">
    <ul style="list-style: none;">
        <li>
            <label for="chk1">
                <input type="checkbox" name="chk1" id="chk1" class="sub" />First</label>
        </li>
        <li>
            <label for="chk2">
                <input type="checkbox" name="chk2" id="chk2" class="sub" />Second</label>
        </li>
        <li>
            <label for="chk3">
                <input type="checkbox" name="chk3" id="chk3" class="sub" />Third</label>
        </li>
        <li>
            <label for="chk4">
                <input type="checkbox" name="chk4" id="chk4" class="sub" />Fourth</label>
        </li>
        <li>
            <label for="chk5">
                <input type="checkbox" name="chk5" id="chk5" class="sub" />Fifth</label>
        </li>
        <li>
            <label for="chk6">
                <input type="checkbox" name="chk6" id="chk6" class="sub" />Sixth</label>
        </li>
        <li>
            <label for="chk7">
                <input type="checkbox" name="chk7" id="chk7" class="sub" />Seventh</label>
        </li>
    </ul>
</div>




$('#business:checkbox').change(function () {
    if ($('#business:checkbox').attr("checked")) $('.sub').attr('checked', 'checked');
    else $('.sub').removeAttr('checked');
});
BMXDad 23 Newbie Poster

To split the string at the dash, with string str being the returned result ...

string s = str.Substring(str.IndexOf("-")+1, str.Length - (str.IndexOf("-")+1));