Syntax to receive QB.Web.Application.UserData in C#
Using the ASP.NET edition,
I can't find any examples of how you get the value in C# when you set it in JS via QB.Web.Application.UserData.
In JS, do I just set
QB.Web.Application.UserData = 'SomeValue';
or do I need to call an additional method?
In C# is this correct syntax?
QueryBuilderControl1.UserDataReceived += OnUserDataReceived;
public void OnUserDataReceived(object sender, SessionStoreItem.UserDataReceivedHandlerEventArgs e) {
Debug.WriteLine(e.InputData);
}
Hello.
Use the QB.Web.Application.update() method for this purpose.