Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

how to set Cust Attibute Resource File
Last Post 06/01/2009 10:39 PM by Peter Donker. 6 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Kenneth Hoffman
New Member
New Member
Posts:2


--
04/17/2009 9:32 PM

I want to set some information about my custom attibutes for users.  This seems to be the fucntion of the resource files but I can't find documentation on this control.

There is a text box.. I have tried some things with links from Doc X and real paths to files on the drive.

Where do I put the files.. what format?  what path format?

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/20/2009 3:31 PM
Hi Kenneth,

The resource file for the custom attribute is of the form:

DesktopModules/.../App_LocalResources/ResourceFile

Where ResourceFile would mean you have a file called ResourceFile.ascx.resx there. Then you use the attribtue name in that resource file:

MyAtt.Text
MyAtt.Help

This will bring up the familiar DNN label with the question mark with the help text.

Peter
M Silvester
New Member
New Member
Posts:24


--
05/22/2009 7:54 PM

I copied one of the existing resource fles and named it resource.ascx.resx. I addended my custom attribute in it such as

 
    my custom help text for myAtt
 
 

then added the path into the custom attribute popup window. I get the help ?, but no text, can you be more specific  on what needs to be done to get this to work?

thanks

Mark

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/27/2009 4:18 PM
Hi Mark,

If you give me the name for the attribute and the path to the resourcefile I'll try to be more specific.

Peter
M Silvester
New Member
New Member
Posts:24


--
05/28/2009 6:49 AM
Hi Peter,

I want to add a custom attribute called “application”. This is to specify what client industry the drawing or document belongs to; either commercial; military; NATO or other, I would like the help text to present information to the user that helps define what each of the options means.



I copied an existing resource file and renamed it resource.aspx.resx



I copied the following text into the bottom of the resource file (I left the content of the file that was already there as I don’t know what minimum content is required in the resource.aspx.resx to get it to work)(I’ve attached it here)



" ...

application custom attribute





applicatoin help text







"





I then added the path to the resource file to the custom attribute popup window.
There is no text for the attribute now, nor is there any help text.
what need I do?

(BTW, i tried responding directly with the resource file and screen shots to peter@bring2mind.net and info@bring2mind.net and got:

The following message to was undeliverable.
The reason for the problem:
5.1.0 - Unknown address error 550-', Recipient unknown'
)


M Silvester
New Member
New Member
Posts:24


--
05/28/2009 6:51 AM
the forum is obscuring my html in my response, I'll try again (or look at the source of my post)

"" ...
application custom attribute


applicatoin help text

""
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
06/01/2009 10:39 PM
Hi Mark,

Maybe do this by email. I know the html is screwy here and it gets very frustrating to communicate in the forums.

Peter
You are not authorized to post a reply.