473,410 Members | 1,950 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,410 software developers and data experts.

registerclientscript

i need a tutorial
thanks
Nov 1 '06 #1
11 3602
Hi,

Boris Twila wrote:
i need a tutorial
thanks
It would be nice if you didn't write the post's subject only in the
title. Makes it difficult to read you on mobile devices.

About RegisterClientScript, what it does is create a "<script>" section
in the HTML page. You can use it to produce JavaScript content on the
client.

Is it what you wanted to know?

Greetings,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Nov 1 '06 #2
Hi,

Boris Twila wrote:
i need a tutorial
check out http://www.codeproject.com/aspnet/Cl...ackAspNet2.asp.

Cheers,
Olaf
--
My .02: www.Resources.IntuiDev.com
Nov 1 '06 #3
that article does not even have the word
registerclientscript in ut at all.

Sheesh
Nov 1 '06 #4
was that a tutorial that you just gave me?
It would be nice if you answered the actual question
Nov 1 '06 #5
Do a better search.
Or hit Cntrl + F in your browser.

PS: My tutorial registerclientscript = "register client script"
Just follow your instincts and you get it working .....
George.

"Boris Twila" <bt****@removemezztop1.comwrote in message
news:OA**************@TK2MSFTNGP03.phx.gbl...
that article does not even have the word
registerclientscript in ut at all.

Sheesh


Nov 1 '06 #6
Hi,

Boris Twila wrote:
was that a tutorial that you just gave me?
It would be nice if you answered the actual question
The sentence "About RegisterClientScript, what it does is create a
"<script>" section in the HTML page. You can use it to produce
JavaScript content on the client." is enough to get any programmer worth
its salt started.

So yes, I did.

HTH
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Nov 1 '06 #7
Hi,

Boris Twila wrote:
that article does not even have the word
registerclientscript in ut at all.
just read it. Usage is not like pasting a line of code and using it "as is"
in your own app. And BTW - you should be using RegisterClientScriptBlock if
you're using ASP.Net 2.

Cheers,
Olaf
--
My .02: www.Resources.IntuiDev.com
Nov 2 '06 #8
i am using asp,net 2 but RegisterClientScriptBlock isn't recognized in
intellisense in my ide vwd

Nov 2 '06 #9
I already know that. Else how could have posted the question.
Here is a tutorial good enough for a programmer worth *his* salt to get
started:
http://www.codeproject.com/aspnet/ClientServer.asp
Nov 2 '06 #10
Hi,

Boris Twila wrote:
i am using asp,net 2 but RegisterClientScriptBlock isn't recognized in
intellisense in my ide vwd
in C#:
this.ClientScript.RegisterClientScriptBlock

or VB:
Me.ClientScript.RegisterClientScriptBlock

.... doesn't give you any intellisense? Are you doing this from a web-page?

Cheers,
Olaf
--
My .02: www.Resources.IntuiDev.com
Nov 3 '06 #11
Hi,

Olaf Rabbachin wrote:
Hi,

Boris Twila wrote:
>i am using asp,net 2 but RegisterClientScriptBlock isn't recognized in
intellisense in my ide vwd

in C#:
this.ClientScript.RegisterClientScriptBlock

or VB:
Me.ClientScript.RegisterClientScriptBlock

... doesn't give you any intellisense? Are you doing this from a web-page?

Cheers,
Olaf
If that's an upgraded project from ASP.NET 1.1, the System.Web dll must
be referenced manually. The ClientScriptManager is a new class in 2.0

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Nov 3 '06 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Barry | last post by:
I would like to be able to execute a client-side JavaScript function from an ASP. NET page in order to pass a filename and number to a parent HTML page. The parent page is only HTML so to do this I...
2
by: Arjen | last post by:
Hello, I want that the client script is added at the and of the HTML output it is now at the beginning. Here is my code: private void Page_Load(object sender, System.EventArgs e) {...
3
by: Dan Nash | last post by:
Hi I want to be able to click an item in a list, and a new window popup. Obviously i would use window.open in javascript within a RegisterClientScript thingy. However, i want to pass the id...
3
by: First Last | last post by:
Hi, Newbie question: Why use Page.ClientScript.RegisterClientScript* when we can just make a .js file and include a reference to it in the page? (i.e. <script src="myscript.js"...
3
by: Fritz the Cat | last post by:
why do i have to do that. Why not put the script on the bage between the <script tags?
0
by: sweethalakshmi | last post by:
what is the difference between calling a javascript at code behid using Response.Write and RegisterStartupScript ,RegisterClientScript
2
by: DNB | last post by:
What is the difference between ClientScriptManager.RegisterClientScriptBlock and ClientScriptManager.RegisterClientScript Thanks DNB
2
by: baburk | last post by:
Hi all, when I call the javascript method from code behind file of the same page it works fine. ScriptManager.RegisterClientScriptBlock(this, Page.GetType(), "Scroll",...
0
by: Matthew Wells | last post by:
Hello, I'm developing an asp.net 2.0 project using VS 2005 on XP sp2 with all the updates. I have an aspx page with javascript that works fine until I try to separate the script into a .js...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.