Click here to Skip to main content
15,884,473 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 9:01
TMFoust22-Dec-09 9:01 
QuestionASP.NET Control: The Code Project Newsletter topics Control Pin
Gebbetje19-Oct-09 22:12
Gebbetje19-Oct-09 22:12 
AnswerRe: ASP.NET Control: The Code Project Newsletter topics Control Pin
Abhijit Jana19-Oct-09 22:48
professionalAbhijit Jana19-Oct-09 22:48 
QuestionRe: ASP.NET Control: The Code Project Newsletter topics Control Pin
Gebbetje20-Oct-09 0:21
Gebbetje20-Oct-09 0:21 
AnswerRe: ASP.NET Control: The Code Project Newsletter topics Control Pin
Abhijit Jana20-Oct-09 1:16
professionalAbhijit Jana20-Oct-09 1:16 
QuestionHow to get the treeview node count using javascript? Pin
meeram39519-Oct-09 22:07
meeram39519-Oct-09 22:07 
AnswerRe: How to get the treeview node count using javascript? Pin
Abhishek Sur19-Oct-09 22:40
professionalAbhishek Sur19-Oct-09 22:40 
AnswerRe: How to get the treeview node count using javascript? Pin
Nigel Ferrissey19-Oct-09 22:55
Nigel Ferrissey19-Oct-09 22: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 22:02
professionalmylogics19-Oct-09 22:02 
AnswerRe: images Pin
nagendrathecoder19-Oct-09 22:07
nagendrathecoder19-Oct-09 22:07 
GeneralRe: images Pin
Christian Graus19-Oct-09 23:27
protectorChristian Graus19-Oct-09 23:27 
GeneralRe: images Pin
nagendrathecoder19-Oct-09 23:33
nagendrathecoder19-Oct-09 23:33 
AnswerRe: images Pin
Abhijit Jana19-Oct-09 22:50
professionalAbhijit Jana19-Oct-09 22:50 
AnswerRe: images Pin
yesu prakash20-Oct-09 1:02
yesu prakash20-Oct-09 1:02 
AnswerRe: images Pin
carlecomm20-Oct-09 21:26
carlecomm20-Oct-09 21:26 
QuestionThe text,ntext and image data type cannot be compared or sorted except when IS NULL or LIKE Pin
haleemasher19-Oct-09 20:50
haleemasher19-Oct-09 20: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 21:01
Nigel Ferrissey19-Oct-09 21:01 
GeneralRe: The text,ntext and image data type cannot be compared or sorted except when IS NULL or LIKE Pin
haleemasher19-Oct-09 21:31
haleemasher19-Oct-09 21:31 
QuestionConnecting to Oracle Pin
v1i9n6o7d19-Oct-09 20:14
v1i9n6o7d19-Oct-09 20:14 
AnswerRe: Connecting to Oracle Pin
Abhishek Sur19-Oct-09 22:25
professionalAbhishek Sur19-Oct-09 22:25 
AnswerRe: Connecting to Oracle Pin
Abhijit Jana20-Oct-09 9:14
professionalAbhijit Jana20-Oct-09 9:14 
QuestionParser error... Pin
RajpootRohan19-Oct-09 19:32
professionalRajpootRohan19-Oct-09 19:32 
AnswerRe: Parser error... Pin
Abhijit Jana19-Oct-09 19:47
professionalAbhijit Jana19-Oct-09 19:47 
GeneralRe: Parser error... Pin
RajpootRohan19-Oct-09 20:28
professionalRajpootRohan19-Oct-09 20:28 
GeneralRe: Parser error... Pin
Abhijit Jana19-Oct-09 21:07
professionalAbhijit Jana19-Oct-09 21: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.