Hello Everybod
I have a problem hope you can help me out
I have a treeview and on the selectedindexch ange event of the treeview I want to execute some code from the vb codebehind file and a javascript function which is there in the HTML file.I am using VB.NET as the language. Now If I want to execute both these codes I need to click the nodes twice. I had Added the attributes to the treeview. something like this in the Page_load even
TreeView1.Attri butes.Add("onse lectedindexchan ge", "Showme();"
Also trie
TreeView1.Attri butes.Add ("onselectedind exchange", "javascript:Sho wme();"
Also trie
Response.Write( "<script language='javas cript'>Showme() ;</script>"
but it doesnot work.
I WANT TO CALL THE FOLLOWING CODE IN ASP.NET HOW DO I DO THIS PLEASE HELP
parent.frames(" Frame3").locati on.replace("Web form4.aspx")
So as a solution to this What I did is i added a Button added attribute of the same function to it. Now I want to call the Button_click(By Val Sender as System.Object,B yVal e as Event.Args) event from the treeview_select edindexchange () event. What Arguments should I pass in order to execute this button_click() event. I mean to say is what would be the Sender and what will be the event args in this case. Please Help, Its very Urgent
Regards & Thanks
Rahu
Ra****@easypack .bz
---
Posted using Wimdows.net NntpNews Component - Posted from .NET's Largest Community Website: http://www.dotnetjunkies.com/newsgroups/