Search

You searched for the word(s): userid:603762

Matching Posts

  • Re: __doPostBack and ModalPopupExtender

    Yeah I do that and it still shows on postback. I ended up getting rid of the __doPostBack: function EnterKeySubmit(evt) { //submits form on enter key. if (evt.which || evt.keyCode) { if ((evt.which == 13) || (evt.keyCode == 13)) { //submit login request. location = document.getElementById('<%=lbLogin.ClientID %>').href; return false; } } return true; }
    Posted to ASP.NET AJAX Control Toolkit (Forum) by jtoth55 on 9/28/2009
  • __doPostBack and ModalPopupExtender

    Hey all, I have a login page that also has a modalpopupextender on it for opening up a change password form. I have some javascript on the page so that the login form can handle a user pressing the enter key: function EnterKeySubmit(evt) { //submits form on enter key. if (evt.keyCode == 13) { //check if form is valid. if (typeof(Page_ClientValidate) == 'function') { if (Page_ClientValidate("Login") == false) { return false; } } //postback page to submit login request. __doPostBack
    Posted to ASP.NET AJAX Control Toolkit (Forum) by jtoth55 on 9/27/2009
  • Re: Modal Popup closes on Postback

    Thanks, that worked! I guess it was the AsyncPostBackTrigger that I was missing, it just makes me wonder how I got it to work in the past without using triggers...
    Posted to ASP.NET AJAX Control Toolkit (Forum) by jtoth55 on 9/25/2009
  • Re: Modal Popup closes on Postback

    The dll in the bin is the 3.5 version and there isn't anything in the web.config referencing the ajaxcontroltoolkit. So the placement of the updatepanel, modalpopupextender, and associated button seems right to you?
    Posted to ASP.NET AJAX Control Toolkit (Forum) by jtoth55 on 9/24/2009
  • Re: Client-side validators not firing on button click

    This isn't a code problem, like I said the code works fine in another web app. It has to be some sort of configuration issue or something in the web.config after upgrading from 1.1 to 3.5. Client-side validation just doesn't work, it goes straight to the server-side postback.
    Posted to Web Forms (Forum) by jtoth55 on 9/23/2009
  • Re: Modal Popup closes on Postback

    Thanks but I've already tried this and it didn't work. The reason I have the updatepanel around the entire modal popup is because then it doesn't show the postback when opening the modal popup. If you put the updatepanel inside the modal popup then it's not encompassing the linkbutton which opens the modal popup so it shows a postback when opening the modal. Also, when moving the update panel within the modal popup, it still closes on postback so it didn't make any difference
    Posted to ASP.NET AJAX Control Toolkit (Forum) by jtoth55 on 9/23/2009
  • Re: Modal Popup closes on Postback

    Thanks for the tips. Upgrading to the 3.5 version of the ajaxcontroltoolkit had no effect. I'm thinking more and more that this must be related to the bug where client-side validation stops working after upgrading from 1.1. With the validation, it's supposed to execute client-side javascript and not postback if there are invalid controls but it bypasses the javascript and does a server-side postback. With the modal popup and the update panel, it's supposed to use javascript to refresh
    Posted to ASP.NET AJAX Control Toolkit (Forum) by jtoth55 on 9/23/2009
  • Re: Client-side validators not firing on button click

    I created a new 3.5 web app project and copied all my files over and client-side validation started working! So this means that there's a bug in migrating a web app from 1.1 to 3.5 but it doesn't always occur, as I've migrated other apps that didn't have this issue. My guess would be it's either something in the project file or the web.config.
    Posted to Web Forms (Forum) by jtoth55 on 9/23/2009
  • Re: Modal Popup closes on Postback

    I was able to figure out the client-side validation issue and it wasn't related. However I'm still having the issue with the modal popup closing on postback, here's the code: http://pastebin.com/m7edb9222 When they click the lbSave link button it's closing the modal popup, I've tried putting UpdateMode as both Always and Conditional. Suggestions??
    Posted to ASP.NET AJAX Control Toolkit (Forum) by jtoth55 on 9/23/2009
  • Client-side validators not firing on button click

    I've got an ASP.NET web app that I upgraded from 1.1 to 3.5. For some reason, client-side validation isn't firing for standard validator controls such as RequiredFieldValidator; it posts back right away and goes to the server-side onclick method. The same exact code works fine in another web app so there's something funky going on here, most likely related to upgrading. I've tried adding EnableClientScript="true" but to no avail. I know that before you needed to have a aspnet_client
    Posted to Web Forms (Forum) by jtoth55 on 9/22/2009
Page 1 of 16 (159 items) 1 2 3 4 5 Next > ... Last »