Donate

GeckoFX How To Trigger Or Fire JavaScript _doPostBack() Method

Here's how you fire a _doPostBack() in ASP.NET using GeckoFX.
//fire js method  
using (AutoJSContext context = new AutoJSContext(this.JSContext))  
{  
 string result;  
 context.EvaluateScript(string.Format("javascript:__doPostBack('{0}','')",   
 paramControlName), out result);  
} 
Cheers!

Comments

Donate

Popular Posts From This Blog

WPF CRUD Application Using DataGrid, MVVM Pattern, Entity Framework, And C#.NET

How To Insert Or Add Emojis In Microsoft Teams Status Message

TypeScript Error Or Bug: The term 'tsc' is not recognized as the name of a cmdlet, function, script file, or operable program.