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

form help
this doesn't work. i want the form action to go the location.href of the submit button chosen.. how

import table with dependency
Hi

What is the best way to import table back which has dependency?

SQL> cre

How to search for several parameters from objects in a database?
I have a database with lots of information about objects.
Now I would like to search for 4 or 5 p

PHP error on MySQL insert
I'm sure it's the simplest of issues, but I can't recall why this isn't working.

Code: [Selec

The page should be expire when cilck back button
hi,
i'm new to php world.
i create user registration page.
when i submit it,data goes to my

A href problem under php
Hello...

I tried to explain the issue in an earlier post.. but was not clear enough....

Form File Upload
I've read through tons of resources and tutorials and as far as I can tell, my code is accurate, but

having a small php error tha deals with the 'foreach'
Last night i was working on a script for a cart and it seemed to working good, until this morning. F

PHP Cannot redeclare class
I have 6 files, and two of them do not seem to want to play well. I keep getting a "Cannot rede

Text to picture Generator
Hello, i have found this script and it works really good^^ But i have one problem, i would like to c

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