views:

55

answers:

1

I have implemented the javascript function that allows me to do a .NET (4.0) postback

Javascript

_doPostBack('_Page', argument)

C#

public void RaisePostBackEvent(string eventArgument) { //something happens }

Is it possible to pass through more then one argument?

+1  A: 

You can pass a string of items separated with, for example, comma and in your code-behind extract them with eventArgument.Split(',')

UserControl