|
From: Dan Bass on 4 Jul 2008 07:59 I'm developing an Ajax keypad (C# / ASP.Net 3.5 / VS 2008) using the updatepanel so that a full visible postback doesn't occur with each button press. I've decided to try and wrap the functionality into a user control, providing events for when ok and cancel is pressed so that the caller (in this case a page with the control on it) can then query for the keypad's final value. If I remove the UpdatePanel, the events that the caller subscribes to are fired and handled correctly, but with the Ajax bit enabled, the events don't appear to fire. I'm assuming this is because of the something which exists in the void of my knowledge regarding Ajax, and the server side interactions that relate to it. Any help on how to get this working would be appreciated. Thanks. Daniel.
From: Dan Bass on 4 Jul 2008 08:04 Sorry. Didn't mean this to end up here... "Dan Bass" <(danjbass at gmail.com)> wrote in message news:uiNhp1c3IHA.5112(a)TK2MSFTNGP03.phx.gbl... > I'm developing an Ajax keypad (C# / ASP.Net 3.5 / VS 2008) using the > updatepanel so that a full visible postback doesn't occur with each button > press. > > I've decided to try and wrap the functionality into a user control, > providing events for when ok and cancel is pressed so that the caller (in > this case a page with the control on it) can then query for the keypad's > final value. If I remove the UpdatePanel, the events that the caller > subscribes to are fired and handled correctly, but with the Ajax bit > enabled, the events don't appear to fire. > > I'm assuming this is because of the something which exists in the void of > my knowledge regarding Ajax, and the server side interactions that relate > to it. > > Any help on how to get this working would be appreciated. > > Thanks. > Daniel. >
From: dotNetDave on 9 Jul 2008 15:57 You need to setup a trigger in your update panel to so it will update with a button is pressed in your user control. David ====================================== David McCarter [Microsoft MVP] www.dotNetTips.com David McCarter''''s .NET Coding Standards available at: http://www.cafepress.com/geekmusicart.1654787045 "Dan Bass" wrote: > I'm developing an Ajax keypad (C# / ASP.Net 3.5 / VS 2008) using the > updatepanel so that a full visible postback doesn't occur with each button > press. > > I've decided to try and wrap the functionality into a user control, > providing events for when ok and cancel is pressed so that the caller (in > this case a page with the control on it) can then query for the keypad's > final value. If I remove the UpdatePanel, the events that the caller > subscribes to are fired and handled correctly, but with the Ajax bit > enabled, the events don't appear to fire. > > I'm assuming this is because of the something which exists in the void of my > knowledge regarding Ajax, and the server side interactions that relate to > it. > > Any help on how to get this working would be appreciated. > > Thanks. > Daniel. > > >
|
Pages: 1 Prev: Calling WebServices on Background... Next: Dotnet viewers |