I am learning jQuery. Here I have a requirement i.e I have to add Week number and Week ranges of a year to Drop-down List in ASP.NET3.5. And I have to pass selected week range to database. I am using c#.net. This should be done automatically for every year.
Im struggling to find week start and week end date based on week number of the year. I have written this following sql to calculate that but it fails when year is 2012... The logic should count week number starting from first monday of the year. But it gives me wrong start date and end date when year is 2012, 2018....
I have a working timesheet which displays on a webpage, what I was also wanting was to display the previous week and the following also on the same page. I will attach both the .aspx page and the aspx.cs page. I have hardcoded the date into the webpage just for ease of reference at the moment.
how to get the start and end dates of the week by passing in a week number? I have a dropdownlist that needs to show 2010-05-17 - 2010-05-23 and I need to determine this date by passing in a week number.
Ex: if I pass the number 20, it will return 2010-05-10 - 2010-05-16 etc...
My dropdownlist will always only show one week and it will always be the previous week from the currect week.
how can i get the actual date through that date's datepart and calendar week? Its means that , i have Calendar week = 1 and datepart is Friday, so i will the actual date is 01-JAN-2010?
I have the area Blog with controllers (Post and Blog) i want that when the user acess my site without one area, it should redirect him to the Blog area inthe blog controller and in the index action if i use:
I've tried looking at the properties for the asp.net checkboxlist on msdn and searching google and I can't seem to find a way of setting the checkboxes to unchecked as default.
We are working on an aspx site that we would like to not show users until we are ready to launch. The Default.aspx seems to have more "power" over my index.html file. All I would like to do is show the index.html by default and when working on the site, we can navigate to Default.aspx and work from there.
I have href links inside a datalist and want to make sure that the top link is clicked by default. The reason for this is that the href inside the datalist will show a different friendly url each time one is selected and also fill a seperate detailsview with data based on values from the query string. I want the user to see the friendly url and first lot of data once he navigates to a page is this possible ?.
Users turn on their computers and XP boots up.I have an ASP.Net website.Is there a way such as a login script that runs that will run the default.aspx inmy ASP.Net website so that the first thing that the user sees after XP boots up is the default.aspx web page in my ASP.Net website?
I have 1 textbox where user is entering date. Depending on entered date, I would like to calculate week start date and week end date for entered date thru programming without javascript. My working days are monday to friday
How do i make the default entry in a dropdownlist not selectable? Right now I have a drop down and the users are able to select the default option that says (Select one)...here is what my code look like. I hard coded my options in there cause the list is really short and won't change ever. Right now, users can select the default entry and add it whatever list they are generating on the page...and I would like to make that default visible but not selectable.
I want to select "Algeria" as default selected value in drop down list.I am fetching countrylist from database using handler ( LoadCountryList.ashx ) in JSON data format and binding it to dropdownlist on aspx page using Jquery's $.getJSON precedure given below
I have an ASP.NET application which uses JQuery datepicker for picking dates in some text boxes. For some date textboxes, I populate the date textbox from my database. When this textbox is clicked my JQuery datepicker appears, and it shows the current month with Today highlighted. This is fine for empty textboxes, however sometimes the text box is populated from the database. When the textbox is not empty I want the datepicker to show the textbox month and have the selected date to be the textbox date. Here's my current javascript code in my asp.net script header:
I am using javascript print function in my project (window.print) . i can' t able to chage the default font style in my funtion pls help me how to find the default font style in window.print
I have a Custom confirm box with Yes No.....The function executes in Jquery when click on Yes/No.But I want to exec my code there.....how it is to be done?This is code
//This is the file creating ConfirmBox <script type="text/javascript" src="scripts/jquery.alerts.js"></script> <script type="text/javascript" >