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 in the server code. 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 getting the values for Phone.Text, Request.QueryString"Phone"], and Request.Form["Phone"],and all return null values. 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 RaiseCallbackEvent method, it also returns null.
Can someone please tell me how to gain access to these objects during a callback?
Thanks in advance for any help.
Evelyn
The problem I'm having is in the RaiseCallBackEvent method in the server code. 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 getting the values for Phone.Text, Request.QueryString"Phone"], and Request.Form["Phone"],and all return null values. 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 RaiseCallbackEvent method, it also returns null.
Can someone please tell me how to gain access to these objects during a callback?
Thanks in advance for any help.
Evelyn