cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Andy_Sismey
Champion Sweeper III
Hi,

Does anyone have any code examples to allow me to click a button in a custom widget and this updates a completely seperate SQL Database, I can write the SQL, it just not allowing me to run a OnButtonClick_ event in the code behind, I just receive either a 404 error or nothing happens?


It doesn't seem to be able to associate the Button and the click even?


Cheers

Andy
1 ACCEPTED SOLUTION
Andy_Sismey
Champion Sweeper III
Thanks Don for the suggestion , I have got round the issue now by importing all the data into the Lansweeper Database

View solution in original post

4 REPLIES 4
Andy_Sismey
Champion Sweeper III
Thanks Don for the suggestion , I have got round the issue now by importing all the data into the Lansweeper Database
drobertson
Engaged Sweeper III
You could setup a custom asset/user action in lansweeper and have that action call a powershell script which can then run code to do the sql database updates you require
Mouaad
Engaged Sweeper
Andy.S wrote:
Hi,

Does anyone have any code examples to allow me to click a button in a custom widget and this updates a completely seperate SQL Database, I can write the SQL, it just not allowing me to run a OnButtonClick_ event in the code behind, I just receive either a 404 error or nothing happens?


It doesn't seem to be able to associate the Button and the click even?


Cheers

Andy


Hi Andy,

Did you find a solution regarding this?

Kind regards,
Andy_Sismey
Champion Sweeper III
No unfortunately not ?