Microsoft Dynamics Support Forum Index Microsoft Dynamics Support
Visit the Microsoft Dynamics newsgroups and exchange ideas with a community of business professionals and product experts from around the globe.
 
   ProfileProfile   Log in to check your private messagesLog in to check your private messages  |  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups Log inLog in   RegisterRegister 

MSCRM 4: How to hide a button

 
Post new topic   Reply to topic    Microsoft Dynamics Support Forum Index -> Microsoft Dynamics CRM
Author Message
Thalia Mei
Guest





PostPosted: Wed Jan 30, 2008 2:56 pm    Post subject: MSCRM 4: How to hide a button Reply with quote

Hi,

The objective is to hide some unused buttons (for example: Save and Close
button). The reason of hiding this button is because we added few buttons
(using isv.config) based on customer's request which provide more meaningful
usage based on their scenario. But the problem is, MSCRM 4 is too "SMART",
it truncate the "Text" and just leave the icon there. I think this is due to
the available space is not enough to show everything (all buttons Icon +
Text), that's why it took away the Text, and just leave the icon there.

So, in order to avoid that, we used some javascript at the form Load event
to hide some unused buttons (such as Save and Close button, which the
customer don't think that is necessary), the button hided successfully.

But again, this MSCRM (the real genius) is too "SMART", whenever the user do
a form resize, the hidden buttons all appear again.

Not sure this is really improvement, but to be frank, at least we can hide a
button without any issue in MSCRM 3.0.

Anyway to work around this issue? This is a real turn off, and kind of
frustrating!

Thanks
Back to top
MD
Guest





PostPosted: Wed Jan 30, 2008 11:32 pm    Post subject: RE: MSCRM 4: How to hide a button Reply with quote

Have a look at this blog:
http://dmcrm.blogspot.com/2008/01/hiding-buttons-in-mscrm-40.html

Aparently, the way 4.0 utilizes the getElementById is different than 3.0,
which will throw a lot of JScript code off from its 3.0 incarnations.

HTH,

--MD



"Thalia Mei" wrote:

Quote:
Hi,

The objective is to hide some unused buttons (for example: Save and Close
button). The reason of hiding this button is because we added few buttons
(using isv.config) based on customer's request which provide more meaningful
usage based on their scenario. But the problem is, MSCRM 4 is too "SMART",
it truncate the "Text" and just leave the icon there. I think this is due to
the available space is not enough to show everything (all buttons Icon +
Text), that's why it took away the Text, and just leave the icon there.

So, in order to avoid that, we used some javascript at the form Load event
to hide some unused buttons (such as Save and Close button, which the
customer don't think that is necessary), the button hided successfully.

But again, this MSCRM (the real genius) is too "SMART", whenever the user do
a form resize, the hidden buttons all appear again.

Not sure this is really improvement, but to be frank, at least we can hide a
button without any issue in MSCRM 3.0.

Anyway to work around this issue? This is a real turn off, and kind of
frustrating!

Thanks

Back to top


Nate G
Guest





PostPosted: Sat Feb 02, 2008 12:04 am    Post subject: Re: MSCRM 4: How to hide a button Reply with quote

I had this same problem. That blog helps a lot!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Microsoft Dynamics Support Forum Index -> Microsoft Dynamics CRM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Powered by phpBB © 2001, 2005 phpBB Group

eXTReMe Tracker