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
17
Other forums
A href problem under php
Hello...
I tried to explain the issue in an earlier post.. but was not clear enough....
Help on code output
My CODE:
Code: [Select] echo "<phone>".$line["phone"].&qu
Filtering an Array Based on Value
I have a very simple script set up that pulls data from a database and is output using this code:
Number Format
Hi All,
I have number '000000000050085' I want to format it to 500.85 Can any one give me
writing my own sobel filter convolution - something is wrong
I am trying to keep it very simple, I cant see anything wrong with my logic, could anybody help poin
Track downloads' status
Hello,
I need to make somehow, some system, to track whether downloads are completed or faile
How to make a mail Form secure?
I want to create an email Form on my web site. How can I make the Form secure so the submitted info
getting rid of quotes in strings
sick of trying to deal with them in multiple ways (entering in and taking from database, echoing, ec
path to include folder
Hi everyone,
When I'm testing locally, I have to add the name of the site folder as part of t
Count on multidimensional array
Hi, i got an array as below:
Array
(
=> Array
(