• Member Avatar for BMXDad
    BMXDad

    Replied To a Post in disable past days in ajax calendar extender

    $("#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 …
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in dynamic menu created using <li> how can I set it to active

    Use jQuery $("ul.nav > li a[href*='pageName']").parent("ul.nav > li").addClass("active");
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in ajaxToolkit:ComboBox displays drop down list items away from the control

    Check your CSS classes, to make sure they are not floating it over or repostioning it somehow.
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in Date and name not declared errors?

    Try casting it to a string ` Name.Text = (string)Request.QueryString("Name");`
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in How to count rows in recordset

    What do you mean crashed? What did the error say?
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in copying asp.net site on the server

    Yes, you can even point your custom domian to it. There are some restrictions if your site has alot of traffic, but not to bad.
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in date query?

    oops, modded version :-) if (dat.Day == 11 || dat.Day == 12 || dat.Day == 13) { ord = "th"; } else { switch (i) { case 1: ord = …
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in date query?

    Ah ... understand now. Your best bet would be to make a custom formatter. Here is one I've used. Stole the idea from someone awhile ago ... :-) public class …
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in validation, what to do

    Couple things that may make life easier ... * Use ValidationGroup names. Then you can validate groups or individual inputs * Don't use inline SQL. Write a view or procedure …
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in CSS file won't update in visual studio 2008

    ... you can usually refresh by hitting F5.
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in calling code

    You can't ... unless you have access to a pbx.
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in copying asp.net site on the server

    Your site host needs to be able to support IIS. Not all hosting sites do. If they don't your either going to have to find a new host, serve it …
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in date query?

    Are you looking for a certain format? This is what I do to keep the copyright set to the current year ... `<%= DateTime.Now.Year %>` If you need the whole …
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in How to count rows in recordset

    If your record count is fairly small you can use the .RecordCount attribute on the record set. Otherwise a seperate SQL statment returning an int of records counted.
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in Date and name not declared errors?

    Go into designer view, refresh and save the page, then go back into code view. Sometimes the IDE is slow in writing to the .designer file.
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in Binding a grid view with multiple tables??

    Yes, call a stored procedure in the database that will list out the columns you want. Bind the results to the DataGrid.
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in HOW TO INCLUDE TRIANGLE AT THE TIP OF NAVIGATION DROPDOWN

    Add font-awesome or one of the other icon stacks. `<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> ` Example from Font-Awesome ( [Font-Awesome](http://fortawesome.github.io/Font-Awesome/examples/) ): <div class="list-group"> <a class="list-group-item" href="#"><i class="fa fa-home fa-fw"></i>&nbsp; Home</a> <a class="list-group-item" …
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in CSS Works fine on local but not on remote

    Make sure the path to your external files are correct. You can go to 'View Source' in the browser and click on an external file location. If it doesn't work, …
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in Cannot select SQL query with DAL to show in message box

    Looks like your trying to convert "monster.co.uk" to an int
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in Interface

    Try to think of an interface as a class of classes. Each seperate class could be of a different type. It allows you to create very complex models.
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in Am I referencing my CSS correctly within the header?

    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.
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in Centering 2 div items

    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; }
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in Sending an email on asp.net

    Do you have access to Sql Mail?
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in Populate a gridview based on a dropdownlist value

    Doesn't look like your calling LoadGrid() till after a dropdown selection. On page load you can do this, but you'll need to have some default start values. Also, firstDate and …
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in view current user documents in asp.net

    Your trying to turn a DataSet into a Table explicitly which might not work ... try this: public DataTable hrdoc1(int id) { DataSet ds = (Call DataSet here) DataTable dt …
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in Blocking and unblocking of part of a website

    Wrap it in an if then clause, checking a date?, then have a seperate panel with a message on why its not available. How are you going to stop them …
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in What matters when creating a webisite

    Accessibility ... Can it be read and navigated by anyone? User Experiance ... Can I find what I want fast. Can I view it on my ... (Phone, tablet, laptop, …
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in populating a combobox in datagrid

    On the grids row databound event you can access and run your method that would fill the dropdown. You can even set selected item after its loaded, by using a …
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in Blocking and unblocking of part of a website

    Is this an MVC or Forms page?
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in two grid views in the same page

    Grab an id from a grid row and then use that to get the detail information. Works best if you can put the id into a link button CommandArgument. Example …
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in two desingation with the same department

    You need to check c1.SignUp, to see if the return value is true or false.
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in field not working in asp.net

    What is your procedure "GetMonthlyReport" bringing back?
  • Member Avatar for BMXDad
    BMXDad

    Replied To a Post in code behind page "argumentexception was unhandled by user code"

    Can you post the full Inner Exception text?

The End.