(866) 837-0540
 
 

Internet Marketing and Design Services for Turnkey Web Solutions 

Facebook Twitter Gplus Flickr LinkedIn YouTube Google Maps E-mail RSS
 
 
Home » web development » web design » Ajax » Allow page redirect from an asp:linkbutton in an Ajax ModalPopupExtender
formats

Allow page redirect from an asp:linkbutton in an Ajax ModalPopupExtender

Published on August 8th, 2008 by in Ajax, ASP

Inside a modalpopupextender panel, you need to add and set the UseSubmitBehavior to false for the OK/Cancel controls to be enabled with postback to behave outside of the ajax control.

Example:

<asp:LinkButton ID="OkButton" runat="server" Text="Button Text" UseSubmitBehavior="false" PostBackUrl="product.aspx?id=3" />

You can also use OnClick in the button to perform an action outside of ajax with UseSubmitBehavior=”false”.

VN:F [1.9.13_1145]
Rating: 6.3/10 (9 votes cast)
VN:F [1.9.13_1145]
Rating: +1 (from 1 vote)
Allow page redirect from an asp:linkbutton in an Ajax ModalPopupExtender, 6.3 out of 10 based on 9 ratings
 
Take a piece of the Web from WebPaws.com: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Facebook
  • LinkedIn
  • TwitThis
  • MySpace
  • Google Bookmarks
  • Webnews
  • Digg
  • del.icio.us
  • StumbleUpon
  • eKudos
  • email
  • Fleck
  • Hype
  • MisterWong
  • Print
  • Technorati
  • YahooMyWeb
 

3 Responses

  1. Matt

    Title talks about an asp:linkbutton but the code uses an asp:button. ?????

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  2. webpaws

    Yes. Thank you for the catch. There was a typo which is now fixed. Hope this post helped you in your coding.

    VN:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  3. what a fine go through.

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© Copyright © 1998-2011, WebPaws.com All rights reserved.
credit