Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Microsoft.XMLHTTP problem

thru "Microsoft.XMLHTTP" i am able to call from client side.if any changes made in server object
ex:
i having a text box in a form.
i made call thru client.
request happend.
if set any value to the textbox it is not reflecting in the screen.
page hit is happening without any flikker

any idea
to update the textbox object thru server side code with given method
[404 byte] By [Bhargava] at [2007-11-11 7:24:34]
# 1 Re: Microsoft.XMLHTTP problem
You need to make the call to the server, then process the response and update the textbox in your client-side JavaScript. For more information, see http://www.15seconds.com/issue/050526.htm
Phil Weber at 2007-11-11 23:13:46 >
# 2 Re: Microsoft.XMLHTTP problem
hai
any way a hit is happend to server in server code if i say
txt1.Text='ABCD'.
that is not reflecting in the screen form server code
is there any way to do that r re drawing without fliker
Bhargava at 2007-11-11 23:14:46 >
# 3 Re: Microsoft.XMLHTTP problem
No. As far as I know, it's only possible to update a control from server-side code by reloading the page. If you want to update a control without a full page refresh, you must use client-side JavaScript, as shown in the article I referred to in my previous post.
Phil Weber at 2007-11-11 23:15:45 >
# 4 Re: Microsoft.XMLHTTP problem
hai
is there any way to reload the page without major flikker
Bhargava at 2007-11-11 23:16:44 >
# 5 Re: Microsoft.XMLHTTP problem
You might try this: http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemWebUIPageClassSmartNavigationTopic.asp

Because Smart Navigation requires IE 5.5 or greater, however, the JavaScript solution I posted in my initial reply is preferable.
Phil Weber at 2007-11-11 23:17:54 >