locked
GDI+ in web page RRS feed

  • Question

  • User-768422458 posted

     Hi all,

     I implemented to display a tree structure in ASP web page by using GDI+... The problem is i should want to change the colour of all children of a node, when i click that node... here i can't use the typical ASP.Net web controls.... i should want to use GDI+... can u any one help me...

    Thanks

    Saraketha....

    Friday, November 7, 2008 4:10 AM

Answers

  • User2130758966 posted

     Hey,

    I dont think this is what gdi+ is really intended for. You have created an image of a treeview not an actual web control so the there is only one click element which is for the whole thing.

    I guess you might be able to find out the x and y co-ordinates of the click and figure out where it was clicked but this seems like you are going to spend a lot of time trying to force something to do something its not intended for.

    Is there a serious reason why you cant use the normal treeview and skin it up?

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, November 7, 2008 5:12 AM