Microsoft Content Management Server - xmlhttp

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > January 2006 > xmlhttp





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author xmlhttp
ross_smith@csaa.com

2006-01-29, 9:09 pm

I have a general question. There is a javascript object called xmlhttp
that can be used to callback into you webpage and run server side code
without a postback (submit). I have got this to work just fine and it's
cool. But of course there's an issue. When i bring the data back from
the server (like a sql call) and try to assign it back to a asp.net
object (like a textbox), it does not show up in the textbox. it only
shows up if i do a javascipt assignment. Does anyone know how to fix
this on the server side and not use javascript?
Thanks

Stefan [MSFT]

2006-01-31, 7:59 am

Hi Ross,

there is no way to fix this beside the way you described.
As you are doing an asynchronous post back (called AJAX) from javascript
code you need to assign the values to the text box as well from the same
javascript routine.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


<ross_smith@csaa.com> wrote in message
news:1138427296.542288.10620@g47g2000cwa.googlegroups.com...
>I have a general question. There is a javascript object called xmlhttp
> that can be used to callback into you webpage and run server side code
> without a postback (submit). I have got this to work just fine and it's
> cool. But of course there's an issue. When i bring the data back from
> the server (like a sql call) and try to assign it back to a asp.net
> object (like a textbox), it does not show up in the textbox. it only
> shows up if i do a javascipt assignment. Does anyone know how to fix
> this on the server side and not use javascript?
> Thanks
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com