Click here to Skip to main content
15,850,265 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to show GridView on Page load and populate it with data from textboxes Pin
TMFoust22-Dec-09 10:01
TMFoust22-Dec-09 10:01 
QuestionASP.NET Control: The Code Project Newsletter topics Control Pin
Gebbetje19-Oct-09 23:12
Gebbetje19-Oct-09 23:12 
AnswerRe: ASP.NET Control: The Code Project Newsletter topics Control Pin
Abhijit Jana19-Oct-09 23:48
professionalAbhijit Jana19-Oct-09 23:48 
QuestionRe: ASP.NET Control: The Code Project Newsletter topics Control Pin
Gebbetje20-Oct-09 1:21
Gebbetje20-Oct-09 1:21 
AnswerRe: ASP.NET Control: The Code Project Newsletter topics Control Pin
Abhijit Jana20-Oct-09 2:16
professionalAbhijit Jana20-Oct-09 2:16 
QuestionHow to get the treeview node count using javascript? Pin
meeram39519-Oct-09 23:07
meeram39519-Oct-09 23:07 
AnswerRe: How to get the treeview node count using javascript? Pin
Abhishek Sur19-Oct-09 23:40
professionalAbhishek Sur19-Oct-09 23:40 
AnswerRe: How to get the treeview node count using javascript? Pin
Nigel Ferrissey19-Oct-09 23:55
Nigel Ferrissey19-Oct-09 23:55 
The treeview is rendered as a table, so there is no easy way to get a count of nodes - the nodes are actually table rows and cells.

You could apply a css class or other attribute to the nodes in the code behind when you are creating your treeview - then use javascript to count the number of elements with that class - very simple if you use JQuery.

Are you adding or removing nodes dynamically with javascript? If not then you could just count them as they are added server-side and embed them in your javascript when the page is rendered. This[^] post will show you how to embed asp.net variable.

Hope that helps.
Questionimages Pin
mylogics19-Oct-09 23:02
professionalmylogics19-Oct-09 23:02 
AnswerRe: images Pin
nagendrathecoder19-Oct-09 23:07
nagendrathecoder19-Oct-09 23:07 
GeneralRe: images Pin
Christian Graus20-Oct-09 0:27
protectorChristian Graus20-Oct-09 0:27 
GeneralRe: images Pin
nagendrathecoder20-Oct-09 0:33
nagendrathecoder20-Oct-09 0:33 
AnswerRe: images Pin
Abhijit Jana19-Oct-09 23:50
professionalAbhijit Jana19-Oct-09 23:50 
AnswerRe: images Pin
yesu prakash20-Oct-09 2:02
yesu prakash20-Oct-09 2:02 
AnswerRe: images Pin
carlecomm20-Oct-09 22:26
carlecomm20-Oct-09 22:26 
QuestionThe text,ntext and image data type cannot be compared or sorted except when IS NULL or LIKE Pin
haleemasher19-Oct-09 21:50
haleemasher19-Oct-09 21:50 
AnswerRe: The text,ntext and image data type cannot be compared or sorted except when IS NULL or LIKE Pin
Nigel Ferrissey19-Oct-09 22:01
Nigel Ferrissey19-Oct-09 22:01 
GeneralRe: The text,ntext and image data type cannot be compared or sorted except when IS NULL or LIKE Pin
haleemasher19-Oct-09 22:31
haleemasher19-Oct-09 22:31 
QuestionConnecting to Oracle Pin
v1i9n6o7d19-Oct-09 21:14
v1i9n6o7d19-Oct-09 21:14 
AnswerRe: Connecting to Oracle Pin
Abhishek Sur19-Oct-09 23:25
professionalAbhishek Sur19-Oct-09 23:25 
AnswerRe: Connecting to Oracle Pin
Abhijit Jana20-Oct-09 10:14
professionalAbhijit Jana20-Oct-09 10:14 
QuestionParser error... Pin
RajpootRohan19-Oct-09 20:32
professionalRajpootRohan19-Oct-09 20:32 
AnswerRe: Parser error... Pin
Abhijit Jana19-Oct-09 20:47
professionalAbhijit Jana19-Oct-09 20:47 
GeneralRe: Parser error... Pin
RajpootRohan19-Oct-09 21:28
professionalRajpootRohan19-Oct-09 21:28 
GeneralRe: Parser error... Pin
Abhijit Jana19-Oct-09 22:07
professionalAbhijit Jana19-Oct-09 22:07 

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.