473,799 Members | 3,210 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.showmoda ldialog 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:_do postback(calend er1,'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 1912
On Jul 10, 3:08 pm, archana <trialproduct2. ..@yahoo.comwro te:
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.showmoda ldialog 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:_do postback(calend er1,'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.showModa lDialog
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.f unctionname(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.comwro te:
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.showmoda ldialog 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:_do postback(calend er1,'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
3769
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 2003 Server or ADO or ODBC issue, I am posting this on all of the three newsgroups. That's the setup: Windows 2003 Server with IIS and ASP.NET actiavted Access 2002 mdb file (and yes, proper rights are set on TMP paths and path,
7
2826
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. hlPrintChecks.NavigateUrl = "javascript:var newWindow =window.open('printCheckClient.exe', 1,'height=350,width=350,menubar=no,status=no,toolbar=no')" I want to use a standard ASP.NET Button, but not sure what method to use. Is there a way to accomplish this. I may not...
3
1630
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 about half of them show on top of the main application when they are created. The window are created in javascript and I've tried using the top property of the window object but it still does not work for all my windows and all the windows are...
1
2026
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 information about the item. On the html of the datagrid I have the following: OnItemCommand="Grid_CartCommand" OnItemCreated="DataGrid_ItemCreated". My VB functions are the following: Sub DataGrid_ItemCreated(ByVal Sender As Object, ByVal e As...
44
9458
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 causes my pages to fail validation (strict doctype). The validator says "There is no attribute 'target'.." So...how do I open a link in a new window, without Javscript, and pass strict validation?
1
3479
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 below, I have one ASP.NET page that has a foreach loop, and inside this foreach loop, I was to spawn a new browser window using the second ASP.NET page. This doesn't work. Only the last time through the foreach loop causes a new browser window...
2
4184
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 warning from OneCare, one is for Adware, the other is for a trojan, I clean both, but almost immediatly, I get the same warning? My Windows Defender is also shut down, not by me as I have no idea how to do this(or to turn it back on), but am still...
18
3634
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 after a refresh/postback please give me idea how to store back these variable to server before rereshing and taking them back on load note: i am using asp.net as server side
0
9688
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9546
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10490
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10260
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10243
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9078
agi2029
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7570
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.