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

Bring2mind Forums

Hidden Custom Attributes
Last Post 05/26/2008 11:03 PM by Gaurav Kumar. 3 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Gaurav Kumar
New Member
New Member
Posts:39


--
05/21/2008 11:17 AM

Hi,

Can the custom attributes be hidded in runtime?

I've a situation where i need to display a client's name in DMX module interface (grid1). This can be done easily in DMX if I use a custom attribute and declare it in attributes section of the module.

For that i've created a new custom control which is a dropdown control. So, i've dropdown Text as Client name and Drop Down value as Client id, so, if I display the Attribute in Module interface grid, it Displays ClientId :-(.

I want to display name in place of Client Id, so i'm rying to place a Hidden attribute for name, so that I can store both name and id at the same time, and display only Name.

please help or guide me here.

Gaurav Kumar
New Member
New Member
Posts:39


--
05/21/2008 1:52 PM
just in short, it would also help if you could guide me on HOW TO DISPLAY Client Name from another table, if I've a Custom Attribute saved in database as ContactId.

Consider this,
I've One Custom Attribute created as drop down that display Client's listing in dropdown. Now, the selected Client is saved by DMX as selected value from this dropdown.
Now, if i Add this line in ViewCollection.ascx grid1 control:


I get to display the Client id in the DMX interface, but i want to display the Client Name instead of Client Id value, so any idea on how to perform such task ???

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/22/2008 12:35 AM
Hi Guarav,

I see your problem. Good question. I have not seen this type of application for this before. Have you tried adding a second custom attribute that shadows the first? Of course you need to do the logic to keep it consistent, but you could let the customer name live in a second attribute, no?

Peter
Gaurav Kumar
New Member
New Member
Posts:39


--
05/26/2008 11:03 PM
Yes, it looks like the only solution though, will try and let you know if got any success.

Thanks.
You are not authorized to post a reply.