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

difference between location.href & Autopostback in active desktop

Hi,

While I was developing a active desktop web page in ASP.Net using server
controls I faced a problem with the autopostback property of server control.
The sever control I used in my aspx page is a dropdown box. After deploying
the page as a active desktop page whenever the selected index of the dropdown
box changes an autopopstback takes place and a new browser window opens. But
when the "autopost back" was replaced by the javascript code "location.href =
<url of the same page>" this problem was resolved.

Can anyone help me in fininding out the reason for this behaviour.

Thanks & Regards,

Sarita Sai

India
Feb 28 '06 #1
4 2336
See what happens when the page is not an active desktop page.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Sarita Sai Bhushan" <Sarita Sai Bh*****@discussions.microsoft.com> wrote in
message news:57**********************************@microsof t.com...
Hi,

While I was developing a active desktop web page in ASP.Net using server
controls I faced a problem with the autopostback property of server
control.
The sever control I used in my aspx page is a dropdown box. After
deploying
the page as a active desktop page whenever the selected index of the
dropdown
box changes an autopopstback takes place and a new browser window opens.
But
when the "autopost back" was replaced by the javascript code
"location.href =
<url of the same page>" this problem was resolved.

Can anyone help me in fininding out the reason for this behaviour.

Thanks & Regards,

Sarita Sai

India

Mar 4 '06 #2
Hi,
I had tested it that way previously itself. While the page isn't a active
desktop page on autopostback it does not open up a new browser window. The
page has its normal behaviour. Only when it is made a active desktop at each
postback it opens up a new browser window.

"Christopher Reed" wrote:
See what happens when the page is not an active desktop page.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Sarita Sai Bhushan" <Sarita Sai Bh*****@discussions.microsoft.com> wrote in
message news:57**********************************@microsof t.com...
Hi,

While I was developing a active desktop web page in ASP.Net using server
controls I faced a problem with the autopostback property of server
control.
The sever control I used in my aspx page is a dropdown box. After
deploying
the page as a active desktop page whenever the selected index of the
dropdown
box changes an autopopstback takes place and a new browser window opens.
But
when the "autopost back" was replaced by the javascript code
"location.href =
<url of the same page>" this problem was resolved.

Can anyone help me in fininding out the reason for this behaviour.

Thanks & Regards,

Sarita Sai

India


Mar 6 '06 #3
Have you tried any other postback actions such as clicking as button and see
what happens?
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Sarita Sai Bhushan" <Sa**************@discussions.microsoft.com> wrote in
message news:F3**********************************@microsof t.com...
Hi,
I had tested it that way previously itself. While the page isn't a active
desktop page on autopostback it does not open up a new browser window.
The
page has its normal behaviour. Only when it is made a active desktop at
each
postback it opens up a new browser window.

"Christopher Reed" wrote:
See what happens when the page is not an active desktop page.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Sarita Sai Bhushan" <Sarita Sai Bh*****@discussions.microsoft.com> wrote
in
message news:57**********************************@microsof t.com...
> Hi,
>
> While I was developing a active desktop web page in ASP.Net using
> server
> controls I faced a problem with the autopostback property of server
> control.
> The sever control I used in my aspx page is a dropdown box. After
> deploying
> the page as a active desktop page whenever the selected index of the
> dropdown
> box changes an autopopstback takes place and a new browser window
> opens.
> But
> when the "autopost back" was replaced by the javascript code
> "location.href =
> <url of the same page>" this problem was resolved.
>
> Can anyone help me in fininding out the reason for this behaviour.
>
> Thanks & Regards,
>
> Sarita Sai
>
> India
>
>


Mar 6 '06 #4
Hi Christopher,
I tried adding a textbox control with its "autopostback" property as true.
It has the same behaviour. whenever there is an autopostback while the page
is an active desktop page a new browser window opens up. I treid adding a
server control button. On click of it a new browser window openend up.
Thanks & Regrads,
Sarita Sai

"Christopher Reed" wrote:
Have you tried any other postback actions such as clicking as button and see
what happens?
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Sarita Sai Bhushan" <Sa**************@discussions.microsoft.com> wrote in
message news:F3**********************************@microsof t.com...
Hi,
I had tested it that way previously itself. While the page isn't a active
desktop page on autopostback it does not open up a new browser window.
The
page has its normal behaviour. Only when it is made a active desktop at
each
postback it opens up a new browser window.

"Christopher Reed" wrote:
See what happens when the page is not an active desktop page.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Sarita Sai Bhushan" <Sarita Sai Bh*****@discussions.microsoft.com> wrote
in
message news:57**********************************@microsof t.com...
> Hi,
>
> While I was developing a active desktop web page in ASP.Net using
> server
> controls I faced a problem with the autopostback property of server
> control.
> The sever control I used in my aspx page is a dropdown box. After
> deploying
> the page as a active desktop page whenever the selected index of the
> dropdown
> box changes an autopopstback takes place and a new browser window
> opens.
> But
> when the "autopost back" was replaced by the javascript code
> "location.href =
> <url of the same page>" this problem was resolved.
>
> Can anyone help me in fininding out the reason for this behaviour.
>
> Thanks & Regards,
>
> Sarita Sai
>
> India
>
>


Mar 7 '06 #5

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

Similar topics

4
by: Mark Anderson | last post by:
Sorry if this is a rookie mistake... I've been through all the FAQs and the books I have but I can't see the mistake so I guess it's something simple <g> - I'm an occasional JS user. I've got...
9
by: Kreso | last post by:
i'm passing the asp parameters using the url current page is files.asp and I'm using window.location.href=files.asp?action=deletefile to pass the action to the serverside My code never got...
3
by: saiho.yuen | last post by:
Hi, Is anyone know what is the difference between Location.href and Window.location.href Thanks you very much:) Saiho
10
by: berg | last post by:
I'm trying to use the onload event to load a series of urls. What I find is that the onload function is only called one time no matter how large the array. Here is the onload function. var...
1
by: JF | last post by:
Hi, I need to change the location of the parent window and after that scroll a little bit (because of "position:fixed" css buttons, which obscure the title). I have...
2
by: Craig Keightley | last post by:
I have a very simple confirm link on a website using the following code: function confirmNewSupplier(){ if(confirm(' Are you sure that you can\'t select a supplier from the list? ...
2
by: JHB | last post by:
Hi, How can I do a location.replace when I use a form, like when I use a href? This works. <a href="Ny HTML-side20.htm"; method="post" id="frm" name="BrugerHovedSide"...
1
by: sianan | last post by:
I tried to use the following example, to add a checkbox column to a DataGrid in an ASP.NET application: http://www.codeproject.com/aspnet/datagridcheckbox.asp For some reason, I simply CAN'T get...
2
by: Jeff | last post by:
I'm very new to javascript and need only a small amount in an asp.net application I'm working on. I apologize if I'm not using the correct terminology to describe the problem. I got the code below...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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...
0
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...
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...
0
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,...
0
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...

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.