AJAX

Moderators: None (Apply to moderate this forum)
Number of threads: 61
Number of posts: 110

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
AJAX accordion panels Posted by simmonsl on 4 May 2007 at 9:14 AM
I am trying to use the accordion panels in a project.
Whenever the code tries to reference a control I get the exception:
“Object reference not set to an instance of an object.”

This has happened when
1) I try to put .focus on a control
2) Make a control not visible
3) Attach a datasource to a control
EX: lstBusNo.DataSource = arrayListVehicleNo (arrayListVehicleNo has count of 3).

Because the accordion panel needing to be entered in source, not in design mode, I have created the GUI on another page, copied the source code and pasted it into the content of the accordion panel. Then in my application code in the .vb file is where I have the problem. It doesn’t seem to be able to find the control. Is there something that need to be done that I have missed or have done it wrong?

It doesn’t seem to be able to find the control.
Report
Re: AJAX accordion panels Posted by CyGuy on 14 May 2007 at 10:09 PM
: I am trying to use the accordion panels in a project.
: Whenever the code tries to reference a control I get the exception:
: “Object reference not set to an instance of an object.”
:
: This has happened when
: 1) I try to put .focus on a control
: 2) Make a control not visible
: 3) Attach a datasource to a control
: EX: lstBusNo.DataSource = arrayListVehicleNo (arrayListVehicleNo has
: count of 3).
:
: Because the accordion panel needing to be entered in source, not in
: design mode, I have created the GUI on another page, copied the
: source code and pasted it into the content of the accordion panel.
: Then in my application code in the .vb file is where I have the
: problem. It doesn’t seem to be able to find the control. Is there
: something that need to be done that I have missed or have done it
: wrong?
:
: It doesn’t seem to be able to find the control.

.NET?true ajax would have .js controls and xml objects. wouldn't it?



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.