Search

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

Matching Posts

  • Re: UpdatePanel refresh not happening in firefox!

    Thanks Pawan, I appreciate your response, however, my issue was so simple to solve, well that's probably where the complexity lay :) In the javascript function, the id I used referred to the id of an UpdateProgress control I had on the page (I didn't list it in the code sample!). Once I changed this to 'updateProgress' which refers to the ID of the inner DIV, Firefox worked perfectly. So I changed function EndRequest(sender, args) { $get('UpdateProgress').style.display = 'none';
  • UpdatePanel refresh not happening in firefox!

    Hi there, My scenario is as follows ... in a master page I have a 'prtDropDown' user control, which is just a DropDownList. When the DropDownList post back after a new item in the list is selected, the two update panels, 'UpdateHeader' and 'UpdateDropdownControls' refresh, images and content should change at this point. This works perfectly in IE7, but will not work in Firefox 3.0.14 or 3.5.3! Any ideas? - In both IE and Firefox, when stepping through the code, everything
    Posted to ASP.NET AJAX Discussion and Suggestions (Forum) by bmoyno on 10/9/2009
    Filed under: updatepanel, Firefox, ajax, Refresh, Triggers
  • Gridview buttonfield export to excel, turn off updateprogress

    Is the subject confusing you ... wait for the explanation of my issue. I'm exporting the contents of a report to excel. The issue is, I have an <asp:UpdateProgress> control in my master page which displays after I click the 'Export to Excel' button from within a gridview. The code behind for this button redirects to a handler which exports the reports contents to excel. This works fine, however once I have the report saved, the UpdateProgress control is still visible. I don't
    Posted to Data Presentation Controls (Forum) by bmoyno on 7/31/2009
    Filed under: gridview ajax export excel updateprogress updatepanel
  • Re: Gridview buttonfield export to excel, turn off updateprogress

    Ok, I've had this issue for ages ... and an hour after posting I find a solution In my MasterPage.Master, I added the following javascript ... <script type="text/javascript" language="javascript"> function pageLoad() { var prm = Sys.WebForms.PageRequestManager.getInstance(); prm.add_endRequest(EndRequest); } function EndRequest(sender, args) { $get('UpdateProgress').style.display = 'none'; } </script> Voila!
    Posted to Data Presentation Controls (Forum) by bmoyno on 7/31/2009
  • Re: Localization in System.Data.ComponentModel.DataAnnotations

    I needed to add the following entry under <server.web> in the web.config of my mvc app ... <globalization enableClientBasedCulture="true" culture="auto" uiCulture="auto" /> Now the data annotations are finally appearing localised
    Posted to Localization (Forum) by bmoyno on 7/9/2009
  • Re: Data annotations, ErrorMessageResourceName, ErrorMessageResourceType

    I needed to add the following entry under &lt;server.web&gt; in the web.config of my mvc app ... &lt;globalization enableClientBasedCulture="true" culture="auto" uiCulture="auto" /&gt; Now the data annotations are finally appearing localised
    Posted to ASP.NET MVC (Forum) by bmoyno on 7/9/2009
  • Re: Data annotations, ErrorMessageResourceName, ErrorMessageResourceType

    Thanks Brad, I using option 2 already, but it's not working for the data annotations. It's working fine for the MVC ui in that when i set the language in the browser to french, the content in the .fr-FR.resx appears perfectly. However, this doesn't work for the data annotations of the data model. I'll keep looking into it and I appreciate your expert help up to this point. It's been super ...
    Posted to ASP.NET MVC (Forum) by bmoyno on 6/30/2009
    Filed under: MVC, localization, localisation, errormessageresourcename, errormessageresourcetype, Data annotations, data model
  • Re: Data annotations, ErrorMessageResourceName, ErrorMessageResourceType

    Hi Brad, You definitely put me on the right track with the .designer.cs file. I found out about setting the 'access modifier' to public and also setting the build action of the resource file to 'embedded resource'. This has worked a treat in terms of displaying the data annotations on screen. However, how do I now localise this content? I have added another resource file with a resources.fr-FR.resx name but the localised content is not being picked up. Any ideas?
    Posted to ASP.NET MVC (Forum) by bmoyno on 6/29/2009
    Filed under: localization, localisation, errormessageresourcename, errormessageresourcetype, Data annotations
  • Re: Localization in System.Data.ComponentModel.DataAnnotations

    How do I get localised (localized) content to appear. If I want french, german, spanish etc to be displayed instead of the english version? Any ideas?
    Posted to Localization (Forum) by bmoyno on 6/29/2009
    Filed under: localization, localisation, data annotation, data model, mvc
  • Re: Data annotations, ErrorMessageResourceName, ErrorMessageResourceType

    Hi Brad, For some reason, when I added resource files to the project, the .designer.cs class wasn't added. I'll have another look at this and see what the story is, but thanks for pointing me in this direction. It makes a lot more sense now. Cheers ...
    Posted to ASP.NET MVC (Forum) by bmoyno on 6/26/2009
Page 1 of 4 (40 items) 1 2 3 4 Next >