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.
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.
I followed the hello wold tutorials to create a custom site module but I cannot seem to get Autopostback to work.
I created a form with a few textboxes, a few checkboxes, a dropdownlist, and a submit button. I want the checkboxes and the dropdownlist to force a postback when they are changed but it does not seem to be working. Is there something special I need to do to get autopostback to work other than setting it to true for the individual web controls?
I also created an OnClick event for the submit button and that seems to work great.
If you download the hello world zip again I've added an autopostback checkbox and autpostback dropdown list to the HellowMojoUserControl.ascx example.
They work on Windows, I haven't tried them on Mono.
Hope it helps,
Joe
Thanks Joe.
I cannot explain why my original code was not working but I scrapped it and tried again with a new file and it worked beautifully. I can only assume a shadowy typo or some other madness. Your example file at least showed me that it would work on my setup.
Anyway, I can confirm that AutoPostBack works great on Mono 2.0. Thank you again for mojoPortal. I bought you a beer (a Guinness I hope).
Thanks so much for the beer!
Today is my birthday so I will definitely raise my glass to you this evening with a nice Guiness!
Cheers,