T
tfsmag
Okay, I have a project management app i'm writing and in the left hand
menu i have a treeview control that is populated with each project...
in child nodes under each project node I have an "edit" and a "delete"
node. I have the functionality of the edit and delete working fine, my
issue is now however that I cannot seem to find a way to add an
"onclick" event that fires a confirm box. I've tried this method..
treenode.Text = "<a href=""javascript:confirm('confirm text') return
true;"">text</a>"
and that fires a confirm, but does nothing when i click on "ok", in
other words it doesn't delete the project when i confirm.
Can anyone lend a hand here? Thanks in advance!
- Jeff
menu i have a treeview control that is populated with each project...
in child nodes under each project node I have an "edit" and a "delete"
node. I have the functionality of the edit and delete working fine, my
issue is now however that I cannot seem to find a way to add an
"onclick" event that fires a confirm box. I've tried this method..
treenode.Text = "<a href=""javascript:confirm('confirm text') return
true;"">text</a>"
and that fires a confirm, but does nothing when i click on "ok", in
other words it doesn't delete the project when i confirm.
Can anyone lend a hand here? Thanks in advance!
- Jeff