Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • pat 124 posts 346 karma points
    May 06, 2011 @ 16:23
    pat
    0

    asp:linkbutton in usercontrol not postpack

    all, I have user control with two panels I need to set visible false and true for click on link button, I have asp:button which work fine execute the code and display panel 2 , when i click on link button page not doing any thing, I cannot go back to panel 1 with out reloading page.

    When I add same user control to normal aspx page this work

    help please

  • Eran Meir 401 posts 543 karma points
    May 06, 2011 @ 16:28
    Eran Meir
    0

    its because the change password user control, add validation groups to the validation controls in the changepassword user control, check out this changeset for more info

    http://umbraco.codeplex.com/SourceControl/changeset/changes/35ff961a3bfb

  • pat 124 posts 346 karma points
    May 06, 2011 @ 16:36
    pat
    0

    Sorry this is not change password user control.

     this is a user control which will get http webresponse and then display results for search value, I have link button on the page to back to search part

    no datavalidation controls , all done in server side script.

  • Tom Fulton 2030 posts 4996 karma points c-trib
    May 06, 2011 @ 16:54
    Tom Fulton
    0

    Hi Pat,

    The change password issue would only affect you if this is a usercontrol used on a dashboard in the back end - is it?

     

    About the LinkButton, I don't have an answer for you but have seen posts about this before.  Is it possible to use a regular A tag or a Button instead?

    I think for some reason there is a problem with the LinkButton

    See this thread:  http://our.umbraco.org/forum/templating/templates-and-document-types/7225-Pages-do-not-postback-with-loginview-on-it#comment26425

    Hope this might help,
    Tom

  • pat 124 posts 346 karma points
    May 06, 2011 @ 17:08
    pat
    0

    thanks Tom

    hm ... Link button not working , so I have changed that to a button and change style look like link button now.

    however button do my work....

    actually we need a fix for this in umbraco I think?

    I marked wrong reply as solved I cannot change it back.

    we need this option on forum too...

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies