Problem with ListBox on Mojo

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
6/8/2010 3:22:38 PM
Gravatar
Total Posts 8

Problem with ListBox on Mojo

Greetings

 

I've developed seveal modules for my mojoportal implementation, but I'm having the same problem with all of them. When I use an asp:listbox it doesn't work correctly at all. For exmple: I can fill the listbox with a data source, and it displays all the information correctly, but, when I try to select any value from the listbox, I'm getting an error saying that the listbox is empty (even if it displays the information).

Seem that somewhere on the code that runs after the listbox finish to display the data is making it lost the information (is not retainning the info). 

Does anybody knows if there's a mojo component I can use instead of the asp:listbox? Or, does anyone saw something similar before?

 

Thanks

 

David E.

6/8/2010 3:25:31 PM
Gravatar
Total Posts 8

Re: Problem with ListBox on Mojo

Also, does anyone knows if I can use a WebForm instead of the Web User Control to create a custom module?

6/9/2010 7:03:58 AM
Gravatar
Total Posts 18439

Re: Problem with ListBox on Mojo

Its difficult to diagnose without seeing code. You may need to add Page.EnableViewState = true; or it could be that you need to re-populate the listbox on postback.

If you want to be able to plug a feature into a CMS page it needs to be a UserControl, it is not possible to embed on page inside another page and cms pages already have a page. It is possible to plug in physical .aspx pages but it is not the recommended approach there are drawbacks to doing that.

You must sign in to post in the forums. This thread is closed to new posts.