473,385 Members | 2,069 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Delete a Script Block

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
Nov 19 '05 #1
6 2460
"Kiran" <ki***@kumar.com> wrote in message
news:Oc****************@TK2MSFTNGP12.phx.gbl...
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

Nov 19 '05 #2
"Kiran" <ki***@kumar.com> wrote in message
news:Oc****************@TK2MSFTNGP12.phx.gbl...
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...?
Nov 19 '05 #3
Hi,

Can you tell me what you mean by that

Thanks
Kiran
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:u1****************@TK2MSFTNGP09.phx.gbl...
"Kiran" <ki***@kumar.com> wrote in message
news:Oc****************@TK2MSFTNGP12.phx.gbl...
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...?

Nov 19 '05 #4
"Kiran" <ki***@kumar.com> wrote in message
news:eK****************@TK2MSFTNGP09.phx.gbl...
Can you tell me what you mean by that


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

'Me.......
Nov 19 '05 #5
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" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:%2********************@TK2MSFTNGP12.phx.gbl.. .
"Kiran" <ki***@kumar.com> wrote in message
news:eK****************@TK2MSFTNGP09.phx.gbl...
Can you tell me what you mean by that


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

'Me.......

Nov 19 '05 #6
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


Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: deko | last post by:
I'm kind of lost on this one - I need to modify 2 files based on user input: $data_array = file($data_file); $counter_array = file($counter_file); // There is a line-for-line relationship...
20
by: Ioannis Vranos | last post by:
When we use the standard placement new operator provided in <new>, and not a definition of owr own, isn't a call to placement delete enough? Consider the code: #include <new>
6
by: shoosh | last post by:
hi for my application under VC6 I need to implement my own memory manager which overrides the global new and delete operators and which Do Not use the normal free() and malloc(). it seemed to...
16
by: robert | last post by:
been ruminating on the question (mostly in a 390/v7 context) of whether, and if so when, a row update becomes an insert/delete. i assume that there is a threshold on the number of columns of the...
3
by: silver360 | last post by:
Hello, I'm trying to create a basic Heap manager and i have some question about new/delete overloading. The following code give me this output : >> $./heap >> registered : 0x804d098 >>...
22
by: Cylix | last post by:
I have a 4row x 1col table, I would like to drop all the content of row three. Since Mac IE5.2 does not suppport deleteRow method, I have also try to set the innerHTML=''; but it does not work. ...
7
by: ITAutobot25 | last post by:
My delete button is not working in my GUI and my due date is today before midnight. Can anyone show me how to correct this error? My assignment statement is below as well as 5 classes. InventoryGUI...
0
by: Francesco Pietra | last post by:
I forgot to add that the lines to strip are in present case of the type of the following block HETATM 7007 O WAT 446 27.622 34.356 55.205 1.00 0.00 O HETATM 7008 H1 WAT...
1
Jezternz
by: Jezternz | last post by:
Scriptaculous needs an official forum but does not have one so I am asking here :). note you will need to be familiar with scriptaculous to help me here. Basicly I have a script that has a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.