treeview node color change in click [modified]
-
in the treeview , at runtime , i want to change the font color of the treenode , in javascript , how should i do it , it is working very fine , in the server side, but this leads to postback.
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
modified on Sunday, April 6, 2008 4:08 AM
-
in the treeview , at runtime , i want to change the font color of the treenode , in javascript , how should i do it , it is working very fine , in the server side, but this leads to postback.
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
modified on Sunday, April 6, 2008 4:08 AM
You will need to handle the event in javascript and set the css for the element that paints the node.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
in the treeview , at runtime , i want to change the font color of the treenode , in javascript , how should i do it , it is working very fine , in the server side, but this leads to postback.
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
modified on Sunday, April 6, 2008 4:08 AM
Look at the page source and find out how tree-view is getting rendered. Get those elements using JS and set the
style
property.All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions