Click here to Skip to main content
15,917,793 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to update row in a dataset ? Pin
Paddy Boyd25-Apr-06 2:50
Paddy Boyd25-Apr-06 2:50 
QuestionSession values Pin
eng_Hosam Kamel25-Apr-06 0:01
eng_Hosam Kamel25-Apr-06 0:01 
QuestionUser Control Pin
Uma Kameswari25-Apr-06 0:01
Uma Kameswari25-Apr-06 0:01 
AnswerRe: User Control Pin
J4amieC25-Apr-06 0:22
J4amieC25-Apr-06 0:22 
GeneralRe: User Control Pin
Uma Kameswari25-Apr-06 0:31
Uma Kameswari25-Apr-06 0:31 
QuestionCalling Client side Script Pin
NICE TO MEET24-Apr-06 23:59
NICE TO MEET24-Apr-06 23:59 
AnswerRe: Calling Client side Script Pin
CWIZO25-Apr-06 0:35
CWIZO25-Apr-06 0:35 
AnswerRe: Calling Client side Script Pin
Richard Parsons25-Apr-06 4:26
Richard Parsons25-Apr-06 4:26 
Like CWIZO said you need it in the html.

You can do this in a few ways:
1) RegisterClientScriptBlock
2) RegisterStartupScript
3) put a literal control on your page and set it's text property to your javascript code...


Examples of all three in vb.net (sorry don't have c# at work)

Dim myScript As String = "" + vbCrLf _
+ "alert(""Hello World!"");" + vbCrLf _
+ ""

Literal1.Text = myScript

Page.RegisterClientScriptBlock("myScript", myScript)

Page.RegisterStartupScript("myScript", myScript)


-Richard
Questiongj Pin
NICE TO MEET24-Apr-06 23:55
NICE TO MEET24-Apr-06 23:55 
Questionradio button in Datalist prob Pin
Ankit Aneja24-Apr-06 23:36
Ankit Aneja24-Apr-06 23:36 
QuestionHOw can i add Header and footer? Pin
NinaWilliam24-Apr-06 23:27
NinaWilliam24-Apr-06 23:27 
AnswerRe: HOw can i add Header and footer? Pin
Richard Parsons25-Apr-06 4:39
Richard Parsons25-Apr-06 4:39 
GeneralRe: HOw can i add Header and footer? Pin
NinaWilliam25-Apr-06 18:06
NinaWilliam25-Apr-06 18:06 
QuestionInternet Speed Pin
kirthikirthi24-Apr-06 23:26
kirthikirthi24-Apr-06 23:26 
AnswerRe: Internet Speed Pin
Zakaria Bin Abdur Rouf25-Apr-06 3:20
Zakaria Bin Abdur Rouf25-Apr-06 3:20 
GeneralRe: Internet Speed Pin
kirthikirthi25-Apr-06 18:12
kirthikirthi25-Apr-06 18:12 
QuestionSession continues after the Session times out Pin
Praveen_S24-Apr-06 23:25
Praveen_S24-Apr-06 23:25 
AnswerRe: Session continues after the Session times out Pin
yogsworld24-Apr-06 23:54
yogsworld24-Apr-06 23:54 
AnswerRe: Session continues after the Session times out Pin
Frank Kerrigan25-Apr-06 0:43
Frank Kerrigan25-Apr-06 0:43 
QuestionHow to open a windows application from asp.net page Pin
nesaraja24-Apr-06 23:14
nesaraja24-Apr-06 23:14 
AnswerRe: How to open a windows application from asp.net page Pin
J4amieC24-Apr-06 23:22
J4amieC24-Apr-06 23:22 
QuestionArthimetic operations results in overflow Pin
MaheshSharma24-Apr-06 23:11
MaheshSharma24-Apr-06 23:11 
AnswerRe: Arthimetic operations results in overflow Pin
Colin Angus Mackay24-Apr-06 23:26
Colin Angus Mackay24-Apr-06 23:26 
GeneralRe: Arthimetic operations results in overflow Pin
MaheshSharma25-Apr-06 0:10
MaheshSharma25-Apr-06 0:10 
GeneralRe: Arthimetic operations results in overflow Pin
Colin Angus Mackay25-Apr-06 0:53
Colin Angus Mackay25-Apr-06 0:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.