Modal PopUp extender
-
Hi, I've added a modal popup extender in my application as follow: If ds.Tables(0).Rows.Count > 0 Then ModalPopupExtender1.Show() End If If Checkbox1.Checked = True Then loadgrid() End if However I've noticed that the modal pop up is loaded after checking the condition Checkbox1.Checked = True. Any idea how to load the popup then check the condition Checkbox1.Checked = True Cheers
-
Hi, I've added a modal popup extender in my application as follow: If ds.Tables(0).Rows.Count > 0 Then ModalPopupExtender1.Show() End If If Checkbox1.Checked = True Then loadgrid() End if However I've noticed that the modal pop up is loaded after checking the condition Checkbox1.Checked = True. Any idea how to load the popup then check the condition Checkbox1.Checked = True Cheers
-
Hi, I've added a modal popup extender in my application as follow: If ds.Tables(0).Rows.Count > 0 Then ModalPopupExtender1.Show() End If If Checkbox1.Checked = True Then loadgrid() End if However I've noticed that the modal pop up is loaded after checking the condition Checkbox1.Checked = True. Any idea how to load the popup then check the condition Checkbox1.Checked = True Cheers
berba wrote:
how to load the popup then check the condition Checkbox1.Checked = True
Just make sure that dataset's first table has some data to open modal popup independently. All you need is to make this condition true without depending on checkbox state.
ds.Tables(0).Rows.Count > 0
Sandeep Mewara [My last tip/trick]: Server side Delimiters in ASP.NET[^]