Search

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

Matching Posts

  • Re: set meta:resourcekey at runtime

    The OP is asking how to do it programatically. It's not known what theresourcekey should be at design time so you can't use <%$ Resources:Resource, test%>. Instead you have: <asp:Literal id="MyLiteral" runat="server" /> and you want to do this: MyLiteral.MetaResource = (condition) ? "key1" : "key2"; //I made up "MetaResource" is there a way to set this programatically? I also would love to know if this is possible. Mark
    Posted to Getting Started (Forum) by mbarlowm on 1/15/2009
  • Re: Probem with hidden validators inside UpdatePanel

    Yeah, my code used to be: Dim reqValidator As New RequiredFieldValidator I swtiched to: Dim reqValidator As New Sample.Web.UI.Compatibility. RequiredFieldValidator Then, because I had several ont he page, I just imported the namespace on that page and it used the new namespace for all like this: Imports Sample.Web.UI.Compatibility ... Dim reqValidator As New RequiredFieldValidator It could not have been easier, really.
    Posted to ASP.NET AJAX UI (Forum) by mbarlowm on 7/14/2007
  • Re: Probem with hidden validators inside UpdatePanel

    Maybe tagMappings had no effect because I was not adding them as tags? I am adding them in code. In code then, I created the right objects from the Compatibility namespace. Works great now, thought I wish it could be in Web.Config instead of in code. I did not have to disable clientside validation.
    Posted to ASP.NET AJAX UI (Forum) by mbarlowm on 5/31/2007
  • Re: Probem with hidden validators inside UpdatePanel

    I have run up agaist this problem, but the tagMappings had no effect. What's different about my project is that I'm using a deployment project to compile my User Controls (which contain the Update Panel). I have the tag mappings in the Web.config of the compiled project, and of the project that references it. There was no effect. After the first AJAX postback, the validators in the UpdatePanel will not appear when appropriate violations are made. I have no ideas about what to try next. Does
    Posted to ASP.NET AJAX UI (Forum) by mbarlowm on 5/30/2007
Page 1 of 1 (4 items)