473,385 Members | 1,645 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.

RegisterClientScriptBlock is not calling the JavaScript function.

1
HI

I am facing the following the problem please resolve it as early as possible.

I have written one javascript function in aspx page and I am calling this function by using the following code.

Page.ClientScript.RegisterClientScriptBlock(this.G etType(),"Function","<script>function_Name();</script>);

I am not getting any error during compilation. But This function is not firing .

Can Any one explains me why it is so and How I can modify my code.

Thanks in Advance.
Jan 11 '08 #1
0 1554

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Reena | last post by:
Hi, private void Page_Load(object sender, System.EventArgs e) { System.Text.StringBuilder strBuilder = new System.Text.StringBuilder(); strBuilder.Append ("<script language=JavaScript> ");...
2
by: Earl Teigrob | last post by:
I have a Web Custom Control that builds javascript to write to the page. The DatePickerJs() function builds over 500 lines of javacript code. Even thought my Custom Web Control does not write it to...
6
by: Rajan | last post by:
I have used RegisterClientScriptBlock in my ASP.NET page. it works well. Here I have problem. When Postback occurs, I dont want the script to be emitted. But It emits the Script even if I dont call...
2
by: Steven K | last post by:
Hello, I am trying to create a JavaScript function and am getting the following error: 'jsFormValidation' is not a member of 'ASP.ciJava_aspx'. Sub Page_Load(Sender As Object, E As EventArgs)...
1
by: Simon Harris | last post by:
Hi All, I'm trying to write a composite web control which will render a rich text editor. I am having problems with RegisterClientScriptBlock - The script simply doesnt get written. There are...
2
by: Andrew | last post by:
Hi, I have written this code, but I have received an error message for the javascript code. This is written in the html of the page. <a href="default.aspx" id="NoAccessAllowed"...
2
by: kewl | last post by:
Hi All, We have an ASP.NET 2.0 (C#) intranet application that needs to spawn multiple browsers using RegisterClientScriptBlock. Here's what we got so far: // Go thru each datarow in the...
0
by: gane | last post by:
Hi, I have a Page.RegisterClientScriptBlock in datagrid itemdatabound which creates dynamic javascript arrays for each row generated. This works fine on datagrid loads. But when i did the sort...
3
by: Stan SR | last post by:
Hi, I need to place some javascript code at the end of my aspx page. How can I do that using the ClientScript.RegisterClientScriptBlock ? Thanks Stan
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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...

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.