473,394 Members | 1,946 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Calendar control and Webform

All,

I have a calendar control that is at the bottom of a webform, now when the
user selects a new date on the control the page refresh's and moves back up
to the top. Does anyone know how to return to the same position as the
calendar control saving the user from scrolling back down to it.

Thanks
Msuk
Nov 19 '05 #1
5 1848
If you set smartNavigation to true, that might help.

<%@ Page smartNavigation="True" ....%>

It might cause other problems in the page so check carefully before
deploying.

Ken
"msuk" <ms**@discussions.microsoft.com> wrote in message
news:3E**********************************@microsof t.com...
All,

I have a calendar control that is at the bottom of a webform, now when the
user selects a new date on the control the page refresh's and moves back
up
to the top. Does anyone know how to return to the same position as the
calendar control saving the user from scrolling back down to it.

Thanks
Msuk


Nov 19 '05 #2
SmartNavigation generally causes some problems.
IMHO, use an iframe to show calendar. This would help you not to post back whole page. It would be helpful, especially If user wants to select a few months ago...
Yunus Emre ALPÖZEN

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message news:%2****************@TK2MSFTNGP15.phx.gbl...
If you set smartNavigation to true, that might help.

<%@ Page smartNavigation="True" ....%>

It might cause other problems in the page so check carefully before
deploying.

Ken


"msuk" <ms**@discussions.microsoft.com> wrote in message
news:3E**********************************@microsof t.com...
All,

I have a calendar control that is at the bottom of a webform, now when the
user selects a new date on the control the page refresh's and moves back
up
to the top. Does anyone know how to return to the same position as the
calendar control saving the user from scrolling back down to it.

Thanks
Msuk

Nov 19 '05 #3
Hi,

Seems to work fine, but will it work in Netscape and Firefox I am guessing
not so how can I overcome this?

Thanks
Msuk

"Ken Cox [Microsoft MVP]" wrote:
If you set smartNavigation to true, that might help.

<%@ Page smartNavigation="True" ....%>

It might cause other problems in the page so check carefully before
deploying.

Ken
"msuk" <ms**@discussions.microsoft.com> wrote in message
news:3E**********************************@microsof t.com...
All,

I have a calendar control that is at the bottom of a webform, now when the
user selects a new date on the control the page refresh's and moves back
up
to the top. Does anyone know how to return to the same position as the
calendar control saving the user from scrolling back down to it.

Thanks
Msuk


Nov 19 '05 #4
Hi,

Sorry to ask but what is an iframe? Any example?

Thanks
Msuk

"Yunus Emre ALPÖZEN" wrote:
SmartNavigation generally causes some problems.
IMHO, use an iframe to show calendar. This would help you not to post back whole page. It would be helpful, especially If user wants to select a few months ago...
Yunus Emre ALPÖZEN

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message news:%2****************@TK2MSFTNGP15.phx.gbl...
If you set smartNavigation to true, that might help.

<%@ Page smartNavigation="True" ....%>

It might cause other problems in the page so check carefully before
deploying.

Ken
"msuk" <ms**@discussions.microsoft.com> wrote in message
news:3E**********************************@microsof t.com...
All,

I have a calendar control that is at the bottom of a webform, now when the
user selects a new date on the control the page refresh's and moves back
up
to the top. Does anyone know how to return to the same position as the
calendar control saving the user from scrolling back down to it.

Thanks
Msuk

Nov 19 '05 #5
Here's another idea. Replace Microsoft's calendar with one that does not
require a post back on each click. There are several developed by third
parties that use javascript to update. I built one of them in Peter's Date
Package (http://www.peterblum.com/datecontrols/home.aspx). It's client side
support is for IE, IE/Mac, Netscape 7, Mozilla, FireFox, Opera 7, and
Safari.

--- Peter Blum
www.PeterBlum.com
Email: PL****@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

"msuk" <ms**@discussions.microsoft.com> wrote in message
news:16**********************************@microsof t.com...
Hi,

Seems to work fine, but will it work in Netscape and Firefox I am guessing
not so how can I overcome this?

Thanks
Msuk

"Ken Cox [Microsoft MVP]" wrote:
If you set smartNavigation to true, that might help.

<%@ Page smartNavigation="True" ....%>

It might cause other problems in the page so check carefully before
deploying.

Ken
"msuk" <ms**@discussions.microsoft.com> wrote in message
news:3E**********************************@microsof t.com...
> All,
>
> I have a calendar control that is at the bottom of a webform, now when
> the
> user selects a new date on the control the page refresh's and moves
> back
> up
> to the top. Does anyone know how to return to the same position as the
> calendar control saving the user from scrolling back down to it.
>
> Thanks
> Msuk


Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: .Net Sports | last post by:
What is the best way to create a search script with an asp.net calendar in csharp? In visualstudio.net, I want to create a VisualC# project, put a calendar control from the toolbox on the first...
2
by: Boonaap | last post by:
Hi all, In a user control, the user can put the cultureinfo to his preference, choosing between "nl-BE","fr-BE", and "en-US". this way all calendar and datetime properties are set in the right...
5
by: Peter | last post by:
Is it possible to span / display a graphic in the web calendar control that spans more than one cell / day? Does anyone have an example of this? Thanks Peter
2
by: serge calderara | last post by:
Dear all, I have a webform with a calendar control on it. When loaded the calendar is set to the current date. Depending on a criteria from a database field, calendar day cell appears with red...
6
by: Sridhar | last post by:
Hi, I need to display a calendar that shows all the months of an year. In that, I need to show different colors for certain events. I know how to display a calendar for a certain month but I am...
3
by: WB | last post by:
Hi, Is it poosible to build an appointment planner on a webform using asp:Calendar control? I would like to display one month at a time and show all the appointments scheduled in every day...
1
by: Nathan Sokalski | last post by:
I have an ASP.NET 2.0 webform which includes both a FileUpload contol and a Calendar control. When the user selects a new data with the Calendar control, the FileUpload control is reset (there is...
0
by: jediknight | last post by:
I have a simple project where there is a master page called MasterPage.master and some webforms which are content pages. I also have a usercontrol which is a simple calendar control popup. The...
1
by: BMW | last post by:
The Calendar Control in ASP.NET form was overlapped by other controls, i.e. textbox... Anyone know how to handle it. Thank you very much!
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
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
0
BarryA
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...
1
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
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,...
0
tracyyun
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.