Click here to Skip to main content
15,893,588 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Script need & how to call in our form..., Pin
Member 387988130-Jul-07 23:55
Member 387988130-Jul-07 23:55 
GeneralRe: Script need & how to call in our form..., Pin
T.EDY31-Jul-07 16:00
T.EDY31-Jul-07 16:00 
Questionhow to maintain session out side the domain? Pin
ajau30-Jul-07 21:31
ajau30-Jul-07 21:31 
AnswerRe: how to maintain session out side the domain? Pin
N a v a n e e t h30-Jul-07 23:14
N a v a n e e t h30-Jul-07 23:14 
Questionany one interested to join to my research projects? Pin
munna_vannan30-Jul-07 21:21
munna_vannan30-Jul-07 21:21 
QuestionProcedure to call website in other system in LAN Pin
srajasekhar30-Jul-07 21:03
srajasekhar30-Jul-07 21:03 
AnswerRe: Procedure to call website in other system in LAN Pin
N a v a n e e t h30-Jul-07 21:07
N a v a n e e t h30-Jul-07 21:07 
QuestionPassing session via javascript [modified] Pin
firestoper30-Jul-07 21:03
firestoper30-Jul-07 21:03 
Hi Guru's

I'm not used on calling javascript function over a string concatination calls but it leads me no choice.

I created a link (a href tag) dynamically by calling it on a db and placing it on label control, what I want to do is to add an onclick function on the a href tag which will insert a value to a session.

Below is my snippet.


For x As Integer = 0 To dt.Rows.Count - 1

With dt

sb.Append("
" & CType(.Rows(x).Item("pageName"), String) & "")
sb.Append(CType(.Rows(x).Item("pageDescription"), String) & "
")

End With

Next


What I want to add is something like this:


a href='" & CType(.Rows(x).Item('pageLocation'), String) & "' onclick='javascript:<%session('ID')%> = ctype(.rows(x).item('pageID'),string)'"


but no luck

Please advice.

regards
Dom






-- modified at 3:56 Tuesday 31st July, 2007
QuestionPreview image Pin
helelark12330-Jul-07 20:52
helelark12330-Jul-07 20:52 
AnswerRe: Preview image Pin
N a v a n e e t h30-Jul-07 21:03
N a v a n e e t h30-Jul-07 21:03 
GeneralRe: Preview image Pin
helelark12330-Jul-07 22:30
helelark12330-Jul-07 22:30 
GeneralRe: Preview image Pin
N a v a n e e t h31-Jul-07 0:13
N a v a n e e t h31-Jul-07 0:13 
GeneralRe: Preview image Pin
helelark12331-Jul-07 1:06
helelark12331-Jul-07 1:06 
AnswerRe: Preview image Pin
Fred_Smith31-Jul-07 7:27
Fred_Smith31-Jul-07 7:27 
GeneralRe: Preview image Pin
helelark12331-Jul-07 19:43
helelark12331-Jul-07 19:43 
GeneralRe: Preview image Pin
Fred_Smith31-Jul-07 21:47
Fred_Smith31-Jul-07 21:47 
GeneralRe: Preview image Pin
helelark1231-Aug-07 18:46
helelark1231-Aug-07 18:46 
GeneralRe: Preview image Pin
Fred_Smith1-Aug-07 22:02
Fred_Smith1-Aug-07 22:02 
GeneralRe: Preview image Pin
helelark1231-Aug-07 23:45
helelark1231-Aug-07 23:45 
QuestionHow to save aspx page as html Pin
dharanighanta30-Jul-07 20:40
dharanighanta30-Jul-07 20:40 
AnswerRe: How to save aspx page as html Pin
N a v a n e e t h30-Jul-07 20:50
N a v a n e e t h30-Jul-07 20:50 
GeneralRe: How to save aspx page as html Pin
dharanighanta30-Jul-07 20:58
dharanighanta30-Jul-07 20:58 
GeneralRe: How to save aspx page as html Pin
N a v a n e e t h30-Jul-07 21:06
N a v a n e e t h30-Jul-07 21:06 
GeneralRe: How to save aspx page as html Pin
dharanighanta30-Jul-07 21:17
dharanighanta30-Jul-07 21:17 
GeneralRe: How to save aspx page as html Pin
N a v a n e e t h30-Jul-07 21:32
N a v a n e e t h30-Jul-07 21:32 

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.