Ask a Question related to ASP.NET General, Design and Development.
-
Zviki Goldberg #1
Attributes
Hi All...
I have a Auditing system. I want to send Audit messages using attributes. I
managed to activate the ContextAttribute object, BUT it forced me to inherit
from ContextBound object (which is too much for me, cause I want to use this
attribute auditing also in web pages).
Is there any option to do so ?
Maybe the solution is somewhere in the Demand staff (.NET rle base
security).... How is that check enabled ??
Thanks a lot,...
Zviki.
Zviki Goldberg Guest
-
add attributes to tag
What files do i look for to modify to add attributes to a tag? I want it to suggest more attributes when i open specific tags. I've been trying to... -
Missing Attributes?
I have been following some tutorials online and have noticed that some of the code in tutorials do not compile in the latest versions of... -
Count Attributes
Hi, To count the number of records in a table we normally use Query_Name.RecordCount.Is there anything where we can count the number of... -
Attributes.Add() for DataList
I know this is the DataGrid forum, but there is no DataList and this is the closest thing. Hope that's cool. Basically... it appears to be... -
<span> attributes
Hi, I noticed that client-side validation (in IE6) is done with <span> tags that have the same attributes as in original aspx code... -
Natty Gur #2
Re: Attributes
Hi,
You can create your own Attribute and to use it in the code.
Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Natty Gur Guest
-
Zviki Goldberg #3
Re: Attributes
Hi and thanks for your quick answer...
If I inherit from attribute it means that I must add some line of code
inside the function and not only in the header of the function. My goal is
to put the attribute in the head of a function, class and I can do Auditing
(for ex).
I would appreciate if you would send me some line of code..
Thanks a lot...
Zviki
"Natty Gur" <natty@dao2com.com> wrote in message
news:#YNLV2cWDHA.2360@TK2MSFTNGP12.phx.gbl...> Hi,
>
> You can create your own Attribute and to use it in the code.
>
> Natty Gur, CTO
> Dao2Com Ltd.
> 34th Elkalay st. Raanana
> Israel , 43000
> Phone Numbers:
> Office: +972-(0)9-7740261
> Fax: +972-(0)9-7740261
> Mobile: +972-(0)58-888377
>
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
Zviki Goldberg Guest
-
Natty Gur #4
Re: Attributes
The all idea of attribute is that instead of writing code you uswe just
the Attribute decleration. the code need to be write in the attribute
costructor or in other class that use reflection in order to find
attributes and do the work.
[Audit()]
Public void MyFunc()
{
// function body
}
refer to :
[url]http://www.developerfusion.com/show/2936/1/[/url]
Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Natty Gur Guest



Reply With Quote

