Problem using panels
-
Hi Friends I am using Textbox inside a panel. And the Textbox has Validator. The Validator is not getting fired? Its pretty strange. If i keep the panel in Visible = true on pageload. I see the Validator works. But once i make its Visible = false and then again Visible = true. Thereafter the Validators dont work. Any idea friends. Any suggestions would be appreciated. Thanks Cheers Menon
-
Hi Friends I am using Textbox inside a panel. And the Textbox has Validator. The Validator is not getting fired? Its pretty strange. If i keep the panel in Visible = true on pageload. I see the Validator works. But once i make its Visible = false and then again Visible = true. Thereafter the Validators dont work. Any idea friends. Any suggestions would be appreciated. Thanks Cheers Menon
-
Are you making the panel visible true, false on the client-side using Javascript?
Regards
- J O N -
Hi Jon No i am not making it Visible true and false using Javascript. I have a button. On click method of button i am using code if(panel.visible) panel.visible=true; else panel.visible=false; And yes my table is inside UpdatePanel(AJAX EXTENSIONS) Thanks Cheers Menon
-
Hi Jon No i am not making it Visible true and false using Javascript. I have a button. On click method of button i am using code if(panel.visible) panel.visible=true; else panel.visible=false; And yes my table is inside UpdatePanel(AJAX EXTENSIONS) Thanks Cheers Menon
mady1380 wrote:
On click method of button
On Click Method???:confused:
mady1380 wrote:
if(panel.visible) panel.visible=true; else panel.visible=false;
Can you tell me when your panel will be visible false?
mady1380 wrote:
my table is inside UpdatePanel
where is panel and button? best regard pathan
please don't forget to vote on the post that helped you.
-
Hi Jon No i am not making it Visible true and false using Javascript. I have a button. On click method of button i am using code if(panel.visible) panel.visible=true; else panel.visible=false; And yes my table is inside UpdatePanel(AJAX EXTENSIONS) Thanks Cheers Menon
-
mady1380 wrote:
On click method of button
On Click Method???:confused:
mady1380 wrote:
if(panel.visible) panel.visible=true; else panel.visible=false;
Can you tell me when your panel will be visible false?
mady1380 wrote:
my table is inside UpdatePanel
where is panel and button? best regard pathan
please don't forget to vote on the post that helped you.
-
try adding the below code to the
IF
statement if the panel visbility true...It may work. Not sure...jus check...if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate();
Regards
- J O N -
-
Hi Jon Thanks. I just had a look at the CollapsiblePanel in AjaxToolkit. It works fine for me. Still thanks for you suggestion. Cheers Menon