Delete a Script Block

  • Thread starter Thread starter Kiran
  • Start date Start date
K

Kiran

Hi,

I have a registered a script block using: Me.Page.RegisterClientScriptBlock

Is there a way to delete this registered script block using asp.net

Thanks
Kiran
 
Hi,

I have a registered a script block using:
Me.Page.RegisterClientScriptBlock

Is there a way to delete this registered script block using asp.net

Thanks
Kiran
 
I have a registered a script block using:
Me.Page.RegisterClientScriptBlock

Is there a way to delete this registered script block using asp.net

Have you tried remming it out...?
 
Hi Rae,

I am adding a script block with name "Client" in one function.

In some other function I have to check whether any script block exists with
name "Client"

If exits

Delete and Add

else

Add


Now, for this kind of situation, I need to know how to delete a script block

Thanks
Kiran
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top