Hi Forum.
I would like to know a way to stop a radajaxloadingpanel animation/loading with vb(if possible, if not c#?). My problem is the following: hen i hit a button a serie os validations are made, if validation returns false i want o show a tooltip showing some information, while doing the validation i want the radajaxloadingpanel to appear with animation/loading so the person can know that something is happening. From what i can understand, the problem here is that the end of the radajaloadingpanel animation/loading makes a postback of some sort witch makes the tooltip to hide. i tried 2 ways:
1º
2º
None of them worked, so if anyone could help me i would appreciate very much
Many thanks,
FEST
I would like to know a way to stop a radajaxloadingpanel animation/loading with vb(if possible, if not c#?). My problem is the following: hen i hit a button a serie os validations are made, if validation returns false i want o show a tooltip showing some information, while doing the validation i want the radajaxloadingpanel to appear with animation/loading so the person can know that something is happening. From what i can understand, the problem here is that the end of the radajaloadingpanel animation/loading makes a postback of some sort witch makes the tooltip to hide. i tried 2 ways:
1º
If
Valido_Dados_Processos(novo_proceso) =
True
Then
If
MessageBox.Show(
"Tem a certeza que pretende criar um novo processo?"
,
"Criação de processo"
, MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.Yes
Then
If
Existe_boletim_compProc(rmtb_procesocompanhia.TextWithLiterals, rmtb_apolice.TextWithLiterals, rcb_sinistrado.SelectedValue)
Then
Altera_Processo()
Else
Gravar_novo_Processo()
End
If
End
If
Else
rtt_info_on_error.Visible =
True
rtt_info_on_error.Show()
End
If
2º
Protected
Sub
Page_LoadComplete(
ByVal
sender
As
Object
,
ByVal
e
As
System.EventArgs)
Handles
Me
.LoadComplete
If
valido_op_processo =
False
Then
rtt_info_on_error.Visible =
True
rtt_info_on_error.Show()
valido_op_processo =
True
End
If
End
Sub
Protected
Sub
rb_alterar_proceso_Click(
ByVal
sender
As
Object
,
ByVal
e
As
System.EventArgs)
Handles
rb_alterar_proceso.Click
If
Valido_Dados_Processos(grava_proceso) =
True
Then
If
MessageBox.Show(
"Tem a certeza que pretende alterar o processo?"
,
"Alteração de dados"
, MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.Yes
Then
If
Existe_boletim_compProc(rmtb_procesocompanhia.TextWithLiterals, rmtb_apolice.TextWithLiterals, rcb_sinistrado.SelectedValue)
And
aux_boletimID <>
""
Then
Altera_Processo()
Else
Gravar_novo_Processo()
End
If
End
If
Else
valido_op_processo =
False
End
If
End
Sub
None of them worked, so if anyone could help me i would appreciate very much
Many thanks,
FEST