DropDownlist problem

Author Topic
Sameer Padhye
Member

Joined: 08 May 2006
Country:
Posts: 1

Posted: 15 May 2006 10:22:39

Hey,

I have a dropdownlist that uses the foll. statement:

OnSelectedIndexChanged="GetFolders". The signature of the GetFolders method is

'Public Sub GetFolders(path As String, nodes As Microsoft.Web.UI.WebControls.TreeNodeCollection)'. On compilation i get the foll. error

Method 'Public Sub GetFolders(path As String, nodes As Microsoft.Web.UI.WebControls.TreeNodeCollection)' does not have the same signature as delegate 'Delegate Sub EventHandler(sender As Object, e As System.EventArgs).

By the way ,everytime I select a new value frm dropdownlist , The GetFolder method must be called with the foll. parameters:

GetFolders(MapPath("~/folder/", TreeCtrl.Nodes).. So how do I pass th

Hey,

I have a dropdownlist that uses the foll. statement:

OnSelectedIndexChanged="GetFolders". The signature of the GetFolders method is

'Public Sub GetFolders(path As String, nodes As Microsoft.Web.UI.WebControls.TreeNodeCollection)'. On compilation i get the foll. error

Method 'Public Sub GetFolders(path As String, nodes As Microsoft.Web.UI.WebControls.TreeNodeCollection)' does not have the same signature as delegate 'Delegate Sub EventHandler(sender As Object, e As System.EventArgs).

By the way ,everytime I select a new value frm dropdownlist , The GetFolder method must be called with the foll. parameters:

GetFolders(MapPath("~/folder/", TreeCtrl.Nodes).. So how do I pass th
Follow us on twitter Subscribe to our RSS feed
Activate your free membership today | Login | Currency