Hi!
Our customer wants to see his data week by week. So, how could I let him
select a week the most easy way?
Anyone already solved this challenge?
Proposal (1):
Use a calendar to select the week: But which one? Which calendar
supports week selection?
Proposal (2):
Drop down list for Year and Month, then another drop down for the week
of the selected year and month combination. Not really intuitive...
Proposal (3):
Your turn ;-)
Regards,
Joe 9 4859
Joe Kovac wrote:
Hi!
Our customer wants to see his data week by week. So, how could I let him
select a week the most easy way?
Anyone already solved this challenge?
Proposal (1):
Use a calendar to select the week: But which one? Which calendar
supports week selection?
Proposal (2):
Drop down list for Year and Month, then another drop down for the week
of the selected year and month combination. Not really intuitive...
Proposal (3):
Your turn ;-)
Regards,
Joe
http://www.java2s.com/Code/ASP/Asp-C...aweekVBnet.htm
Regards,
Petar Atanasov http://a-wake.net
Petar Atanasov wrote:
Joe Kovac wrote:
>Hi!
Our customer wants to see his data week by week. So, how could I let him select a week the most easy way? Anyone already solved this challenge?
Proposal (1): Use a calendar to select the week: But which one? Which calendar supports week selection?
Proposal (2): Drop down list for Year and Month, then another drop down for the week of the selected year and month combination. Not really intuitive...
Proposal (3): Your turn ;-)
Regards,
Joe
http://www.java2s.com/Code/ASP/Asp-C...aweekVBnet.htm
Regards,
Petar Atanasov http://a-wake.net
Thanks for the fast reply.
Now I just need a way to disable the day selection plus a way to make
this a pop-up calendar.
Joe Kovac wrote:
Petar Atanasov wrote:
>Joe Kovac wrote:
>>Hi!
Our customer wants to see his data week by week. So, how could I let him select a week the most easy way? Anyone already solved this challenge?
Proposal (1): Use a calendar to select the week: But which one? Which calendar supports week selection?
Proposal (2): Drop down list for Year and Month, then another drop down for the week of the selected year and month combination. Not really intuitive...
Proposal (3): Your turn ;-)
Regards,
Joe
http://www.java2s.com/Code/ASP/Asp-C...aweekVBnet.htm
Regards, Petar Atanasov http://a-wake.net
Thanks for the fast reply.
Now I just need a way to disable the day selection plus a way to make
this a pop-up calendar.
Hi, Joe
The calendar control wouldn't give you a way to show only week selection
(refer to: SelectionMode enum), further more I don't think it's a good
idea to present it to the user even if so - let the user see which days
actually selects ;)
May be a better approach would be to try to build up your logic around
MyCal.SelectedDates.Count - if there are less than seven days selected,
than - cancel user input, else process it...
Regards,
Petar Atanasov http://a-wake.net
Petar Atanasov wrote:
Joe Kovac wrote:
>Petar Atanasov wrote:
>>Joe Kovac wrote: Hi!
Our customer wants to see his data week by week. So, how could I let him select a week the most easy way? Anyone already solved this challenge?
Proposal (1): Use a calendar to select the week: But which one? Which calendar supports week selection?
Proposal (2): Drop down list for Year and Month, then another drop down for the week of the selected year and month combination. Not really intuitive...
Proposal (3): Your turn ;-)
Regards,
Joe
http://www.java2s.com/Code/ASP/Asp-C...aweekVBnet.htm
Regards, Petar Atanasov http://a-wake.net Thanks for the fast reply.
Now I just need a way to disable the day selection plus a way to make this a pop-up calendar.
Hi, Joe
The calendar control wouldn't give you a way to show only week selection
(refer to: SelectionMode enum), further more I don't think it's a good
idea to present it to the user even if so - let the user see which days
actually selects ;)
May be a better approach would be to try to build up your logic around
MyCal.SelectedDates.Count - if there are less than seven days selected,
than - cancel user input, else process it...
Hi Petar,
Yes, I see it the same way. Just instead of canceling a single day
selection I would "calculate" the week if the user selected a day only.
I just hope I can make the calender popup-able now using asp:panel or
like that..
Regards,
Joe
Joe Kovac wrote:
Petar Atanasov wrote:
>Joe Kovac wrote:
>>Petar Atanasov wrote: Joe Kovac wrote: Hi! > Our customer wants to see his data week by week. So, how could I let him select a week the most easy way? Anyone already solved this challenge? > Proposal (1): Use a calendar to select the week: But which one? Which calendar supports week selection? > Proposal (2): Drop down list for Year and Month, then another drop down for the week of the selected year and month combination. Not really intuitive... > Proposal (3): Your turn ;-) > Regards, > Joe
http://www.java2s.com/Code/ASP/Asp-C...aweekVBnet.htm
Regards, Petar Atanasov http://a-wake.net
Thanks for the fast reply.
Now I just need a way to disable the day selection plus a way to make this a pop-up calendar.
Hi, Joe
The calendar control wouldn't give you a way to show only week selection (refer to: SelectionMode enum), further more I don't think it's a good idea to present it to the user even if so - let the user see which days actually selects ;)
May be a better approach would be to try to build up your logic around MyCal.SelectedDates.Count - if there are less than seven days selected, than - cancel user input, else process it...
Hi Petar,
Yes, I see it the same way. Just instead of canceling a single day
selection I would "calculate" the week if the user selected a day only.
I just hope I can make the calender popup-able now using asp:panel or
like that..
Regards,
Joe
Hmmm "calculating" is double "sided knife" e.g. you can take the current
week (the one that current day belongs to), the week before the actual
date and finally the week after the current day as well as in all date
ranges [except in the first case] you can include, or exclude the
current day :)
I still think it would be better not to fall in details, but simply
cancel user input and show some message (like: "please select a week")...
Anyway - do whatever you actually think is necessary... I've got some
rambling thoughts to share...
Regards,
Petar Atanasov http://a-wake.net
Petar Atanasov wrote:
Joe Kovac wrote:
>Petar Atanasov wrote:
>>Joe Kovac wrote: Petar Atanasov wrote: Joe Kovac wrote: >Hi! >> >Our customer wants to see his data week by week. So, how could I >let him select a week the most easy way? >Anyone already solved this challenge? >> >Proposal (1): >Use a calendar to select the week: But which one? Which calendar >supports week selection? >> >Proposal (2): >Drop down list for Year and Month, then another drop down for the >week of the selected year and month combination. Not really >intuitive... >> >Proposal (3): >Your turn ;-) >> >Regards, >> >Joe > http://www.java2s.com/Code/ASP/Asp-C...aweekVBnet.htm > Regards, Petar Atanasov http://a-wake.net
Thanks for the fast reply.
Now I just need a way to disable the day selection plus a way to make this a pop-up calendar.
Hi, Joe
The calendar control wouldn't give you a way to show only week selection (refer to: SelectionMode enum), further more I don't think it's a good idea to present it to the user even if so - let the user see which days actually selects ;)
May be a better approach would be to try to build up your logic around MyCal.SelectedDates.Count - if there are less than seven days selected, than - cancel user input, else process it...
Hi Petar,
Yes, I see it the same way. Just instead of canceling a single day selection I would "calculate" the week if the user selected a day only.
I just hope I can make the calender popup-able now using asp:panel or like that..
Regards,
Joe
Hmmm "calculating" is double "sided knife" e.g. you can take the current
week (the one that current day belongs to), the week before the actual
date and finally the week after the current day as well as in all date
ranges [except in the first case] you can include, or exclude the
current day :)
Well, in this case I would just take the week the selected day is in.
For me a week is the days between Monday and Sunday.
I still think it would be better not to fall in details, but simply
cancel user input and show some message (like: "please select a week")...
Right. Perfection is often not that good... at least not that efficient.
Anyway - do whatever you actually think is necessary... I've got some
rambling thoughts to share...
That's what newsgroups are for, aren't they? Thanks therefor!
I am still thinking weather to use the asp:Calender with postback or a
javascript calendar. Which one would be easier to realize pop up?
Regards,
Petar Atanasov http://a-wake.net
Joe Kovac wrote:
Petar Atanasov wrote:
>Joe Kovac wrote:
>>Petar Atanasov wrote:
Joe Kovac wrote: Petar Atanasov wrote: >Joe Kovac wrote: >>Hi! >>> >>Our customer wants to see his data week by week. So, how could I >>let him select a week the most easy way? >>Anyone already solved this challenge? >>> >>Proposal (1): >>Use a calendar to select the week: But which one? Which calendar >>supports week selection? >>> >>Proposal (2): >>Drop down list for Year and Month, then another drop down for the >>week of the selected year and month combination. Not really >>intuitive... >>> >>Proposal (3): >>Your turn ;-) >>> >>Regards, >>> >>Joe >> >http://www.java2s.com/Code/ASP/Asp-C...aweekVBnet.htm >> >Regards, >Petar Atanasov >http://a-wake.net > Thanks for the fast reply. > Now I just need a way to disable the day selection plus a way to make this a pop-up calendar.
Hi, Joe
The calendar control wouldn't give you a way to show only week selection (refer to: SelectionMode enum), further more I don't think it's a good idea to present it to the user even if so - let the user see which days actually selects ;)
May be a better approach would be to try to build up your logic around MyCal.SelectedDates.Count - if there are less than seven days selected, than - cancel user input, else process it...
Hi Petar,
Yes, I see it the same way. Just instead of canceling a single day selection I would "calculate" the week if the user selected a day only.
I just hope I can make the calender popup-able now using asp:panel or like that..
Regards,
Joe
Hmmm "calculating" is double "sided knife" e.g. you can take the current week (the one that current day belongs to), the week before the actual date and finally the week after the current day as well as in all date ranges [except in the first case] you can include, or exclude the current day :)
Well, in this case I would just take the week the selected day is in.
For me a week is the days between Monday and Sunday.
>I still think it would be better not to fall in details, but simply cancel user input and show some message (like: "please select a week")...
Right. Perfection is often not that good... at least not that efficient.
>Anyway - do whatever you actually think is necessary... I've got some rambling thoughts to share...
That's what newsgroups are for, aren't they? Thanks therefor!
I am still thinking weather to use the asp:Calender with postback or a
javascript calendar. Which one would be easier to realize pop up?
>Regards, Petar Atanasov http://a-wake.net
I would vote for the asp:calendar - you'll don't have to check if
javascript is enabled in order to use it, while there are enough
techniques to make them both pop-up-able ;)
Regards,
Petar Atanasov http://a-wake.net
>
I would vote for the asp:calendar - you'll don't have to check if
javascript is enabled in order to use it, while there are enough
techniques to make them both pop-up-able ;)
Using AJAX javascript will not be a problem. Therefor I used a
js-calendar now, so to avoid PostBacks.
Joe Kovac wrote:
>> I would vote for the asp:calendar - you'll don't have to check if javascript is enabled in order to use it, while there are enough techniques to make them both pop-up-able ;)
Using AJAX javascript will not be a problem. Therefor I used a
js-calendar now, so to avoid PostBacks.
ok, than check out for this:
Browser Compatibility and Security Settings for AJAX-Enabled ASP.NET Sites http://ajax.asp.net/docs/BrowserComp...SPNETAJAX.aspx
Regards,
Petar Atanasov http://a-wake.net This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Richard Barnet |
last post by:
Dear CSS gurus,
My question regarding 'the cascade' is a simple one, but one that I haven't
heard anyone talk about before:
When cascading (for instance, when applying two linked stylesheets),...
|
by: Zane |
last post by:
Hi,
I am having some grieve with the following part of my CSS, basically
when using a composite selector using an ID as the first element the
it doesn't display the expected results. Am I doing...
|
by: Lian Liming |
last post by:
Hi,
The language in my web site may be Simplified Chinese or English. I want
to define different styles for each language.
For each language, the http header is different.
<meta name="language"...
|
by: Tim & Alethea Larson |
last post by:
In order to mark links leaving my site, I recently added this rule to my
stylesheet.
A:after { content: "\2197" }
The character is a northeast-pointing arrow, since that seems to be
fairly...
|
by: John Rowe |
last post by:
I run the web site for a University department. A few of
my authors will carefully write:
<h3>Title</h3>
<p>Some text here.</p>
<p>Second paragraph.</p>
Most of us can't be bothered(!):
...
|
by: Chris Sharman |
last post by:
See http://services.ccagroup.co.uk/testform.htm
Looks as intended in firefox, is valid (bulk of inputs centred in a div
occupying the left half of the page).
ie ignores the child selector,...
|
by: sajid |
last post by:
The CSS 2.1 Specification describes how to sort a list of selectors in
order of specificity, but it doesn't provide a method to calculate the
specificity of a single selector in isolation.
I've...
|
by: JakDaniel |
last post by:
is it possible, create a selector as alias of another selector...
(maybe) in another stylesheet file?
ex:
html page
....
<link rel="stylesheet" type="text/css" href="style1.css" />
<link...
|
by: _googlepost |
last post by:
I have some CSS that goes something like this:
table.TableStyle {font-family: "Helvetica", "Ariel"; background-
color:white; border-collapse:collapse;}
table.TableStyle COLGROUP { background-...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |