Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Treeview control error when using autopostback

Reply
Thread Tools

Treeview control error when using autopostback

 
 
Stuck
Guest
Posts: n/a
 
      04-01-2004
I have created a new c# class which inherits the Microsoft treeview control. I have set autopostback = true in the constructor of my new class. I have created a new web page and created an instance of my new class and populated it from an XML file using code. I then add my control to the page so that it is displayed. All this works fine, but when a user clicks on a node that has child nodes I get the following error: Object expected. Then when I press break I get a there is no source code for the following location. Can any one suggest why I might be getting this error

All I want to do is beable to access the OnSelectedIndexChange event in my new inherited TreeView class

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TreeView checkboxes AutoPostBack with AJAX Dmitry Perets ASP .Net 1 03-20-2007 03:33 PM
TreeView checkboxes AutoPostBack with AJAX Dmitry Perets ASP .Net 0 03-20-2007 07:16 AM
treeview and autopostback Alex D. ASP .Net 2 10-30-2005 11:52 PM
Treeview JS error when AutoPostBack=True... Stu ASP .Net Web Controls 0 07-23-2003 02:00 PM
[Solution] Treeview without Autopostback but with SelectedIndexChange Stefan ASP .Net Web Controls 0 07-18-2003 01:05 PM



Advertisments