PC Review


Reply
Thread Tools Rate Thread

Delete a Script Block

 
 
Kiran
Guest
Posts: n/a
 
      18th Apr 2005
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


 
Reply With Quote
 
 
 
 
Mark Rae
Guest
Posts: n/a
 
      18th Apr 2005
"Kiran" <(E-Mail Removed)> wrote in message
news:OcRWFL%(E-Mail Removed)...

> 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
>



 
Reply With Quote
 
Mark Rae
Guest
Posts: n/a
 
      18th Apr 2005
"Kiran" <(E-Mail Removed)> wrote in message
news:OcRWFL%(E-Mail Removed)...

> 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...?


 
Reply With Quote
 
Kiran
Guest
Posts: n/a
 
      18th Apr 2005
Hi,

Can you tell me what you mean by that

Thanks
Kiran
"Mark Rae" <(E-Mail Removed)> wrote in message
news:u1y7Dg%(E-Mail Removed)...
> "Kiran" <(E-Mail Removed)> wrote in message
> news:OcRWFL%(E-Mail Removed)...
>
>> 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...?
>



 
Reply With Quote
 
Mark Rae
Guest
Posts: n/a
 
      18th Apr 2005
"Kiran" <(E-Mail Removed)> wrote in message
news:eKT12o%(E-Mail Removed)...

> Can you tell me what you mean by that


Put an apostrophe in front of the statement...e.g.

'Me.......


 
Reply With Quote
 
Kiran
Guest
Posts: n/a
 
      18th Apr 2005
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

"Mark Rae" <(E-Mail Removed)> wrote in message
news:%23flIg%23%(E-Mail Removed)...
> "Kiran" <(E-Mail Removed)> wrote in message
> news:eKT12o%(E-Mail Removed)...
>
>> Can you tell me what you mean by that

>
> Put an apostrophe in front of the statement...e.g.
>
> 'Me.......
>



 
Reply With Quote
 
Brock Allen
Guest
Posts: n/a
 
      18th Apr 2005
There's no public way to remove one that's already been added. The trick
is to not add it in the frist place. Not that this helps you

-Brock
DevelopMentor
http://staff.develop.com/ballen



> 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




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to delete a block of words without answering "block yes or =?Utf-8?B?amJhc3M=?= Microsoft Outlook Discussion 2 29th Jun 2006 06:23 PM
Trying to delete a block of words without answering "block yes or =?Utf-8?B?amJhc3M=?= Microsoft Outlook Discussion 0 29th Jun 2006 06:10 PM
RE: How to block a VB script =?Utf-8?B?UmF2aSBTYXRoYW51ciBbTVNGVF0=?= Spyware Discussion 0 14th Feb 2006 08:20 PM
How to block a VB script =?Utf-8?B?bWlzdGVyX3Jkeg==?= Spyware Discussion 0 14th Feb 2006 07:23 PM
Script un-block E J Cox Spyware Application Compatibility 2 11th Mar 2005 10:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:14 PM.