Login  
Search All Forums
Dart Home | PowerWEB LiveControls for ASP.NET | Custom Development Reply | PowerWEB LiveControls for ASP.NET Topics | Forums   
AuthorForum: PowerWEB LiveControls for ASP.NET
Topic: pwBeginCallServerFunction
bfairchild

From: Plano, TX USA
Posts: 91
Member Since: 06/10/05
posted July 5, 2006 3:25 PM

is there anyway to pass along with this function call, what control is causing the event to happen in?

Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted July 7, 2006 3:32 PM

Sure. The function definition is as follows:

pwBeginCallServerFunction(pwFunctionName, pwCallbackFunction, pwContext, pwBlock, pwP1, pwP2, pwP3...

So, you could pass any string data (such as the control ID) as any of the parameters after the pwBlock parameter, like so:


pwBeginCallServerFunction("MyServerFunc", "myClientFunc", null, false, "my data 1", "my data 2", my data 3");

bfairchild

From: Plano, TX USA
Posts: 91
Member Since: 06/10/05
posted July 7, 2006 5:26 PM

That worked! Thanks :)
Reply | PowerWEB LiveControls for ASP.NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX