473,387 Members | 1,892 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,387 software developers and data experts.

windows.open in aspx page

Hi all,

I want to open one page without navigating user to another page. What
i am having is having aspx page having calender control.this aspx page
i am showing to user when user want to set date usig windows.open
method of javascript.

Here i am facing one problem that is how to setvalue selected in
calender cotrol in text box of parent withdow.

One more thing when i use window.showmodaldialog and click on calender
control its not working. Every time when i click on any date of
calener control IE open new page with error and
'javascrpit:_dopostback(calender1,'some int value')) is getting
displayed in address bar.

I don' know why this is happenin.

can anyone help me in solving above mention 2 problems

thanks in advance.

Jul 10 '07 #1
3 1898
On Jul 10, 3:08 pm, archana <trialproduct2...@yahoo.comwrote:
Hi all,

I want to open one page without navigating user to another page. What
i am having is having aspx page having calender control.this aspx page
i am showing to user when user want to set date usig windows.open
method of javascript.

Here i am facing one problem that is how to setvalue selected in
calender cotrol in text box of parent withdow.

One more thing when i use window.showmodaldialog and click on calender
control its not working. Every time when i click on any date of
calener control IE open new page with error and
'javascrpit:_dopostback(calender1,'some int value')) is getting
displayed in address bar.

I don' know why this is happenin.

can anyone help me in solving above mention 2 problems

thanks in advance.
It's hard to say without seeing a code.

Take a look the following article, it describe the calendar in
window.showModalDialog
http://www.codeproject.com/useritems/Calendar.asp

Hope this helps

Jul 10 '07 #2
MG
what you can do is right a javascript function in the parent page .

use the ' window.opener.functionname(var datestring ) ' to invoke the
parent page function from popup of calendar.

the parent page function would assign the value of the variable to the
textbox control.

hope this helps you
murtaza.



Jul 11 '07 #3
On Jul 10, 7:08 pm, archana <trialproduct2...@yahoo.comwrote:
Hi all,

I want to open one page without navigating user to another page. What
i am having is having aspx page having calender control.this aspx page
i am showing to user when user want to set date usig windows.open
method of javascript.

Here i am facing one problem that is how to setvalue selected in
calender cotrol in text box of parent withdow.

One more thing when i use window.showmodaldialog and click on calender
control its not working. Every time when i click on any date of
calener control IE open new page with error and
'javascrpit:_dopostback(calender1,'some int value')) is getting
displayed in address bar.

I don' know why this is happenin.

can anyone help me in solving above mention 2 problems

thanks in advance.
Hi,

Okay to stop opening new window... from modal dialog... you got to set
basetarget to self............ in you page's head meta

<base target="_self" />

Thanks
Md. Masudur Rahman (Munna)
kaz Software Ltd.
www.kaz.com.bd
http://munnacs.110mb.com

Jul 11 '07 #4

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

Similar topics

11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
7
by: IntraRELY | last post by:
I am using the following command to launch and .NET VB Executable, which is a simple Windows Form (printCheckClient.exe). I am using a HyperLink Control and works perfect....
3
by: clsmith66 | last post by:
I am building an ASP.NET application where I have been required to make all the editing screens popup windows within the application. I didn't have any trouble creating the new windows but only...
1
by: Jennyfer J Barco | last post by:
Hello I have a datagrid and a linkbuttom in the datagrid that says Picture, every time I click on the link "Picture" my program opens a popup window showing a picture of the item the selected and...
44
by: Viken Karaguesian | last post by:
Hello all, On occasion I want to open hyperlinks (images, etc.) in a new window. In the past, I've used target="_blank" to open the link in a new window. However, using the "target" attribute...
1
by: dnes | last post by:
Open Multiple New Browser Windows from ASP.NET I'm having trouble figuring out how to open multiple new browser windows (each one displaying something different). As you can see from the code...
2
by: =?Utf-8?B?SnJ4dHVzZXIx?= | last post by:
I just started using Windows Live OneCare, I had been using Norton, but was unable to fix the problems I was having. I have yet been unsuccessful with OneCare as well. I keep getting the same...
18
zybernau
by: zybernau | last post by:
hi, here is my scenario i am having a array variable in javascript which contains data. while refreshing or postback these varibles got lost and i did'nt able to get those data in the variables...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
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
jinu1996
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 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.