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(); }
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

Basic Question about Threading and PHP...
I have a page that I am working on and it is taking several hours to process. The basics of what th

reading xml faster than DB call?
I am trying to optimize a high traffic website, and I enabled a feature where there are three photos

Table trouble
i have been reading the forum for a few weeks and decided to join. i like the format and the advice

Help! refer to a friend script with captcha code
Hi guys, I am posting on here in desperate need for some help with an ongoing search I have been doi

help need on ob_start()
Hi

I am a newbie in php, I have a code
Line number On/Off | Expand/Contract <?phpo

Help with syntax
Hi all!

The $bridge variable is not getting passed while it is contained in the line below:

Help with explandable category tree
I have the below query:

SELECT l1.id as lev1_id,l2.id as lev2_id,l3.id as lev3_id,l1.categ

php code to accept and delete incoming data
Using following HTML Code please show me how to write PHP code to accept and delete the incoming dat

Comparing MySql data and arrays.
I have a mysql table set up like this:
idsubjectbodyuseriddatetimetags1blog subjectblog body111|2

Why use interfaces in PHP (OOP)
I am learning OOP in PHP and its been a pretty good learning experience so far. What I didn't unders

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