473,799 Members | 2,972 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Partial Rendering without Ajax?

I am trying to figure out how to do a postback that updates only changed
controls without having the entire page refresh and flash on the screen.
Seems to me this was available in ASP.NET 1.1, but I can't remember how it
was done (I did it in another project but can't remember how).

I do not want to use Ajax.

I tried a search but got so many hits related to Ajax that I gave up.

Thanks

Robert
Nov 17 '07 #1
6 1711
It is probably SmartNavigation you are referring to.
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Rbrt" <Rb**@discussio ns.microsoft.co mwrote in message
news:5F******** *************** ***********@mic rosoft.com...
>I am trying to figure out how to do a postback that updates only changed
controls without having the entire page refresh and flash on the screen.
Seems to me this was available in ASP.NET 1.1, but I can't remember how it
was done (I did it in another project but can't remember how).

I do not want to use Ajax.

I tried a search but got so many hits related to Ajax that I gave up.

Thanks

Robert

Nov 17 '07 #2
Hey Teemu. Howsta nappa?

What is SmartNavigation ?

"Teemu Keiski" wrote:
It is probably SmartNavigation you are referring to.
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Rbrt" <Rb**@discussio ns.microsoft.co mwrote in message
news:5F******** *************** ***********@mic rosoft.com...
I am trying to figure out how to do a postback that updates only changed
controls without having the entire page refresh and flash on the screen.
Seems to me this was available in ASP.NET 1.1, but I can't remember how it
was done (I did it in another project but can't remember how).

I do not want to use Ajax.

I tried a search but got so many hits related to Ajax that I gave up.

Thanks

Robert


Nov 17 '07 #3
You can set SmartNavigation ="true" on Page directive. It's the previous
mechanism (in ASP.NEt 1.x, obosolete but exists in v2.x) to prevent refresh
on postbacks, and to keep scroll positions etc.

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Rbrt" <Rb**@discussio ns.microsoft.co mwrote in message
news:6A******** *************** ***********@mic rosoft.com...
Hey Teemu. Howsta nappa?

What is SmartNavigation ?

"Teemu Keiski" wrote:
>It is probably SmartNavigation you are referring to.
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Rbrt" <Rb**@discussio ns.microsoft.co mwrote in message
news:5F******* *************** ************@mi crosoft.com...
>I am trying to figure out how to do a postback that updates only changed
controls without having the entire page refresh and flash on the
screen.
Seems to me this was available in ASP.NET 1.1, but I can't remember how
it
was done (I did it in another project but can't remember how).

I do not want to use Ajax.

I tried a search but got so many hits related to Ajax that I gave up.

Thanks

Robert



Nov 17 '07 #4
Tried that. Now I get Stack Overflow on Line 0 if I click the submit button
more than once. This message comes after all the events in the page have been
fired, so I'd say the feature is not so well supported any more. Am I missing
something?

"Teemu Keiski" wrote:
You can set SmartNavigation ="true" on Page directive. It's the previous
mechanism (in ASP.NEt 1.x, obosolete but exists in v2.x) to prevent refresh
on postbacks, and to keep scroll positions etc.

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Rbrt" <Rb**@discussio ns.microsoft.co mwrote in message
news:6A******** *************** ***********@mic rosoft.com...
Hey Teemu. Howsta nappa?

What is SmartNavigation ?

"Teemu Keiski" wrote:
It is probably SmartNavigation you are referring to.
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Rbrt" <Rb**@discussio ns.microsoft.co mwrote in message
news:5F******** *************** ***********@mic rosoft.com...
I am trying to figure out how to do a postback that updates only changed
controls without having the entire page refresh and flash on the
screen.
Seems to me this was available in ASP.NET 1.1, but I can't remember how
it
was done (I did it in another project but can't remember how).

I do not want to use Ajax.

I tried a search but got so many hits related to Ajax that I gave up.

Thanks

Robert


Nov 18 '07 #5
Nope, SmartNavigation didn't (doesn't) work out well so, best way *really*
is to stick to ASP.NET Ajax or some commercial Ajax library. In ASP.NEt 2.0
you certainly can use client callbacks (call backs to server-sise code) too,
in case you just want to deal with the client-side yourself

In ASP.NET 2.0 scroll position can be kep by using
MaintainScrollP ositionOnPostBa ck="True" to @Page directive. Focus can be set
with SetFocus method of the Page.
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Rbrt" <Rb**@discussio ns.microsoft.co mwrote in message
news:58******** *************** ***********@mic rosoft.com...
Tried that. Now I get Stack Overflow on Line 0 if I click the submit
button
more than once. This message comes after all the events in the page have
been
fired, so I'd say the feature is not so well supported any more. Am I
missing
something?

"Teemu Keiski" wrote:
>You can set SmartNavigation ="true" on Page directive. It's the previous
mechanism (in ASP.NEt 1.x, obosolete but exists in v2.x) to prevent
refresh
on postbacks, and to keep scroll positions etc.

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Rbrt" <Rb**@discussio ns.microsoft.co mwrote in message
news:6A******* *************** ************@mi crosoft.com...
Hey Teemu. Howsta nappa?

What is SmartNavigation ?

"Teemu Keiski" wrote:

It is probably SmartNavigation you are referring to.
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Rbrt" <Rb**@discussio ns.microsoft.co mwrote in message
news:5F******* *************** ************@mi crosoft.com...
I am trying to figure out how to do a postback that updates only
changed
controls without having the entire page refresh and flash on the
screen.
Seems to me this was available in ASP.NET 1.1, but I can't remember
how
it
was done (I did it in another project but can't remember how).

I do not want to use Ajax.

I tried a search but got so many hits related to Ajax that I gave
up.

Thanks

Robert



Nov 18 '07 #6
You work a long day!

I figured out why I was getting the error. I also had
MaintainScrollP ositionOnPostBa ck="True" set in the page. When I removed that,
the stack overflow went away. Apparently IE is not too happy with both turned
on. Thanks!

"Teemu Keiski" wrote:
Nope, SmartNavigation didn't (doesn't) work out well so, best way *really*
is to stick to ASP.NET Ajax or some commercial Ajax library. In ASP.NEt 2.0
you certainly can use client callbacks (call backs to server-sise code) too,
in case you just want to deal with the client-side yourself

In ASP.NET 2.0 scroll position can be kep by using
MaintainScrollP ositionOnPostBa ck="True" to @Page directive. Focus can be set
with SetFocus method of the Page.
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Rbrt" <Rb**@discussio ns.microsoft.co mwrote in message
news:58******** *************** ***********@mic rosoft.com...
Tried that. Now I get Stack Overflow on Line 0 if I click the submit
button
more than once. This message comes after all the events in the page have
been
fired, so I'd say the feature is not so well supported any more. Am I
missing
something?

"Teemu Keiski" wrote:
You can set SmartNavigation ="true" on Page directive. It's the previous
mechanism (in ASP.NEt 1.x, obosolete but exists in v2.x) to prevent
refresh
on postbacks, and to keep scroll positions etc.

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Rbrt" <Rb**@discussio ns.microsoft.co mwrote in message
news:6A******** *************** ***********@mic rosoft.com...
Hey Teemu. Howsta nappa?

What is SmartNavigation ?

"Teemu Keiski" wrote:

It is probably SmartNavigation you are referring to.
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Rbrt" <Rb**@discussio ns.microsoft.co mwrote in message
news:5F******** *************** ***********@mic rosoft.com...
I am trying to figure out how to do a postback that updates only
changed
controls without having the entire page refresh and flash on the
screen.
Seems to me this was available in ASP.NET 1.1, but I can't remember
how
it
was done (I did it in another project but can't remember how).

I do not want to use Ajax.

I tried a search but got so many hits related to Ajax that I gave
up.

Thanks

Robert



Nov 18 '07 #7

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

Similar topics

9
2534
by: Gomaw Beoyr | last post by:
Two question about the "partial classes" (in the next wersion of ..NET). Question 1 ========== Will partial classes (in the next version of C#) have to be declared "partial" in ALL places. I.e. do we have to need to write:
1
1855
by: Sebastian Sylvan | last post by:
Hey. I have two questions. First of all I'm using the Visual C# Express Beta. When you create a windows application it will automatically split the main form into two files using partial classes. In the solution explorer this is seen hierarchially as somthing like - MainForm.cs -> MainForm.Designer.cs
16
2653
by: pawel.pabich | last post by:
Hajo, I would like to have 2 my own partial classes. For example: Default.aspx.cs Default2.aspx.cs and they both will relate to Default.aspx page.
5
2344
by: paul.hester | last post by:
Hi all, I have a custom control with an overridden Render method. Inside this method I'm rendering each control in its collection using their RenderControl method. However, I'm running into a problem in this scenario: <myprefix:mycontrol runat="server"> <%= SomeVariable %> </myprefix:mycontrol>
1
2420
by: Samuel | last post by:
Hi, I have ASP.NET user control that implements ICallbackEventHandler. Partial postback works perfectly when I put control on a regular webform. But when I put it on page that has master page control doesn't work. I'm getting following error :"The target <namefor the callback could not be found or did not implement ICallbackEventHandler." It's error like when control didn't implement ICallbackEventHandler, but
0
984
by: gregfocker | last post by:
I installed the new RTM version of ASP.NET 2.0 AJAX Extensions 1.0 released on Tuesday (1/23). I made the required changes to the web.config file to go from the RC version to the RTM version. Now, what once did partial, async. postbacks correctly in my app are now regular postbacks - page refresh and everything. I even started from scratch with a simple sample (script mgr., update panel, grid view), and that also does full postbacks. ...
1
10320
by: Veerle | last post by:
Hi, I have a web page and at the end of the page I have inserted some javascript that checks if Acrobat Reader plugin is installed. If it is not installed, I disable some elements (buttons, checkboxes, ...) on the page. This javascript is at the end of the page, because javascript cannot identify html elements if they are defined below the script. Some of the elements that I disable when the plugin is not installed
1
1628
by: Stuart Ferguson | last post by:
I am currently working on an ASP.Net Querying application which uses a menu control with all the links going to the same page. Before I implemented AJAX on this page the end user was able to browse through the application using the back and forward buttons on the browser toolbar as each full post back added an entry to the browsers history. Since the AJAX components (ScriptManager/UpdatePanel) have been implemented in the page every time...
1
1720
by: manojuniverse | last post by:
Hi, I am using update panel of asp.net 2.0 ajax to implement ajax. I have structure like this (.aspx file) <update panel id=_updatelpanel> <contenttemplate> <table1>
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
10268
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...
0
10031
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9079
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
7571
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();...
1
4146
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.