Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > windows.open in aspx page

Reply
Thread Tools

windows.open in aspx page

 
 
archana
Guest
Posts: n/a
 
      07-10-2007
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.

 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      07-10-2007
On Jul 10, 3:08 pm, archana <trialproduct2...@yahoo.com> wrote:
> 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

 
Reply With Quote
 
 
 
 
MG
Guest
Posts: n/a
 
      07-11-2007
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.







 
Reply With Quote
 
Masudur
Guest
Posts: n/a
 
      07-11-2007
On Jul 10, 7:08 pm, archana <trialproduct2...@yahoo.com> wrote:
> 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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help: Call an ASPX page from a main ASPX page Progman ASP .Net 2 02-13-2006 01:39 AM
Loading an aspx page in a fram from another aspx page =?Utf-8?B?Uk1M?= ASP .Net 1 09-16-2005 01:21 PM
adding main.aspx.vb & main.aspx.resx under aspx John M ASP .Net 1 05-29-2005 09:27 PM
How to Pass values between from a popup page aspx & a normal page aspx Marco Antonio Montalvo Durán ASP .Net 2 01-23-2004 09:35 PM
How do I post data from aspx page to another aspx page. Sriram Mallajyosula ASP .Net 1 11-05-2003 04:48 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57