Posts by Raí • 101 points
6 posts
-
3
votes1
answer101
viewsQ: Is it possible to use Session in Windows Service?
I have an application in Windows Service, and I need to save the state while a certain method is running, which is the best way to do this?
-
1
votes1
answer39
viewsA: Radiobuttolist does not obey the selected Selectedvalue
You need to use the property Selectedindex for example: if (ventBensAquisicao.TipoPessoa == 1) rdlCpfCnpjFornecedorBemNovo.SelectedIndex = 0; else rdlCpfCnpjFornecedorBemNovo.SelectedIndex = 1;…
-
3
votes3
answers619
views -
1
votes2
answers16877
viewsA: How to pass data from one Activity to another
Only one correction is putExtra as below: Bundle bundle = new Bundle(); bundle.putString("nomeCliente", cliente.getNome(position)); Intent intent = new Intent(context, MinhaOutraActivity.class);…
-
0
votes2
answers199
viewsA: Block Control+V in dynamically generated Textbox fields
You can use a javascript function to do this, for example: function Verificar() { var ctrl=window.event.ctrlKey; var tecla=window.event.keyCode; if (ctrl && tecla==67) {alert("CTRL+C");…
-
0
votes2
answers7594
viewsA: How to use the $.ajax function date parameter
Replace with: data : { json, jsonTipo2 },