ClientScript.RegisterClientScriptBlock Issue


Posted on 16th Feb 2014 07:03 pm by admin

This is what I haveview plaincopy to clipboardprint?Protected Sub posrback_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles posrback.Click Page.ClientScript.RegisterClientScriptBlock(Me.GetType(), "Animation", "Animation('ddlPosition');", False) End Sub Protected Sub posrback_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles posrback.Click Page.ClientScript.RegisterClientScriptBlock(Me.GetType(), "Animation", "Animation('ddlPosition');", False) End Sub
Javascriptview plaincopy to clipboardprint?function Animation(id) { document.all("ctrl_client_assistant_btn_clnt_assistant").click(); } function Animation(id) { document.all("ctrl_client_assistant_btn_clnt_assistant").click(); }
Did you know?Explore Trending and Topic pages for more stories like this.
This won't work but if I do this in the page load it will workview plaincopy to clipboardprint?posrback.Attributes.Add("onclick", "Animation('test')") posrback.Attributes.Add("onclick", "Animation('test')") I need to be able to use the clientscript becuase the event is not going to be click event. Thanks
No comments posted yet

Your Answer:

Login to answer
79 Like 17 Dislike
Previous forums Next forums
Other forums

iterating through an array and escape each value independently.
I have a set up where the variable being escaped is an array and it needs to be iterated and escaped

Help Import Animoto and Youtube
CAn someone help me urgently want to allow users on my website to import youtube/revver/dailymotion

how to remove in php string display
My code is

$message="We're looking at developing our website.";

$body= "

Multi-user card game
I'm writing a batch of games and such. Lottery is finished, Poker,blackjack,etc are next. They will

Libraries in C++
Hi all,

I have two libraries. one is based targeted on linux platform and uses another li

foreach iterator
Hi Guys
Does the foreach loop have an inbuilt iterator ?

Ariba 9r - SAP MM Integration
Hi experts,

The standard Ariba adapter for 9r creates a relationship between Cost Centers

Something like an INI editor or a DelimitedText-Editor
Hi all,

Am very, very, very new to PHP and not sure if I should be posting this to a Javascri

Check something, wait, check again, do something!
Hi guys.

I wonder if someone can help me with this.

Basically, what I want to do is (

small inaccuracies
I have this code to convert fractional base 10 into base 2:

while($num > 0)

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash