DropDownList inside updatepanel not working well

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.
8/31/2010 9:21:39 AM
Gravatar
Total Posts 18439

Re: DropDownList inside updatepanel not working well

you should set a few break points in your code and step through it in the debugger to find out what is happening

8/31/2010 9:26:32 AM
Gravatar
Total Posts 55

Re: DropDownList inside updatepanel not working well

My code works well in localhost and also on server, just inside mojoportal it doesnot work correctly.

8/31/2010 9:29:02 AM
Gravatar
Total Posts 18439

Re: DropDownList inside updatepanel not working well

then you need to step through it while it runs in mojoPortal

one thing you may need to do is set Page.EnableViewState = true;

8/31/2010 9:50:17 AM
Gravatar
Total Posts 55

Re: DropDownList inside updatepanel not working well

Thank you Joe for your help, but I could not solve the problem,

I tried your last suggestion also but does not work.

I have mojoportal only on server not in localhost so i cant test it step by step

8/31/2010 9:58:16 AM
Gravatar
Total Posts 18439

Re: DropDownList inside updatepanel not working well

that is a strange way to develop a feature for mojoportal. I recommend download the mojoportal source code and develop first on your local machine so that you can step through the code. developing something outside of mojoPortal and then expecting it to work when you plug it into a production mojoportal site is just not a reasonable expectation.

9/1/2010 1:13:35 AM
Gravatar
Total Posts 55

Re: DropDownList inside updatepanel not working well

Thank you very much for your advice Joe

9/6/2010 8:50:03 AM
Gravatar
Total Posts 55

Re: DropDownList inside updatepanel not working well

Hi Joe,

Update panel works perfect, just the problem is in DropDownList selectedindexchanged,

it fires postback every time but changes value only first time, after second and third postback

it does not change dropdownlist value, I have this dropdownlist with update panel inside my

custom control which is places in mojo page.

How can I fix it?

 

Thanks

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

Re: DropDownList inside updatepanel not working well

set breakpoints and step through your code to see what is happening, I cannot debug it for you

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