Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Questions about Callbacks

    I'm trying to implement a callback in Asp.net 1.1. When I do a simple test it works correctly, so I know I have all the pieces in place.

    The problem I'm having is in the RaiseCallBackEvent method on the server. Since there is no postback, how do I access textbox values changed on the UI? For instance, there's a textbox called 'Phone'. If I enter a new value, then click the button that triggers the callback, then try to get the changed value (I've tried Phone.Text,, Request.QueryString"Phone"], and Request.Form["Phone"]), I get a null value back. In fact, I don't even get the original value. The Request.Form & Request.Querystring don't contain any values.

    Also, before triggering the callback, I have a dataset stored in cache. But when I try to access the cached dataset within the server method, it returns null.

    Can someone please tell me how to gain access to these objects during a callback?

    Thanks in advance for any help.

    Evelyn

  • #2
    New Coder
    Join Date
    Oct 2005
    Posts
    84
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I get a null value back.
    it means you don't assigned any value?
    Last edited by handshakeit; 03-28-2006 at 05:04 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •