custom-attributes
How to check if an attribute match a specific regex at compile time?
I\'m trying to understand how the Assem开发者_StackOverflow社区blyVersionAttribute validates the string format at compile time. I would like to implement something similar in my application (if possib[详细]
2023-03-30 17:39 分类:问答ASP.NET MVC/C# - Type casting to an array in a custom required validation attribute
I\'m attempting to create a custom required validation attribute which will be able to take in a 1d array of any size and verify that at least one element is not null/empty string.I\'m having some tro[详细]
2023-03-30 11:03 分类:问答MVC3 - Where to place custom attribute classes
I am delving into custom validation attributes and am curious to know how others structure the projects.Where do you typically store custom attributes?[详细]
2023-03-29 22:32 分类:问答Marking native methods as deprecated/obsolete?
In .NET you can mark certain methods as obsolete so that developers are alerted when they attempt to use the deprecated method.[详细]
2023-03-29 17:07 分类:问答Magento: Problem in getting custom attribute value of a grouped product in IE and Chrome in Magento
$_product->getData doesn\'t work for grouped product image custom attribute :( $_helper = $this->helper(\'catalog/output\');[详细]
2023-03-28 23:16 分类:问答How can I get my custom backend Magento Customer Checkbox Attribute to save my selection?
Magento CE 1.5.1.0 I\'m trying to create a new customer attribute on the installation file for a Magento Module. I have it working fine for text inputs, but I would like to add a checkbox to the cust[详细]
2023-03-28 22:21 分类:问答JQuery doesnot support custom attribute in IE*?
In html I have on table like this: <table for=\"availableTimeRanges\"></table> then I user jquery to find the table[详细]
2023-03-28 20:30 分类:问答Determining if a dependent JavaScript file was included
I have a main JavaScript file, we\'ll call core.js that other file are dependent on. In core.js I am defining an Object that will be required to exist in the dependent files.[详细]
2023-03-28 01:34 分类:问答Can I use a collection initializer for an Attribute?
Can an attribute in C# be used with a collection initializer开发者_StackOverflow? For example, I\'d like to do something like the following:[详细]
2023-03-26 04:58 分类:问答Modifing custom attributes of a loaded dll
Is there a way to modify a customAttribute of a loaded dll 1) during runtime in c# or 2) specifying an attribute under the <Reference>... </Reference> in .cs开发者_开发技巧proj?[详细]
2023-03-25 20:28 分类:问答