Wednesday, December 03, 2008 ..:: Forums ::.. Register  Login
 Forums Minimize
SearchForum Home
     
  Mainstream Forums  Developers  Default value a...
 Default value automatically
 
dragoon
21 posts
Joined
6/5/2008

Default value automatically
Posted: 10 Jul 08 3:03 AM Modified By dragoon  on 7/14/2008 2:19:47 AM)

Dear sir

  I would like to make my system automatically detect default language and set default value for the controls on pages. For examples, there is a dropdownlist. I would like to made it  aware of my default language setting and it will show the different default value according the language setting.

I knows there are ways to do this. But I like to do this to match your system philosophy and style. Could you give us some suggestion?

 

Thank you so much.

 

 

 

support
2153 posts
1st
Joined
1/3/2006

Re: Default value automatically
Posted: 10 Jul 08 3:15 PM
SplendidCRM already does this.  Can you be more specific as to what you need?
dragoon
21 posts
Joined
6/5/2008

Re: Default value automatically
Posted: 11 Jul 08 4:36 AM
I hope a case would make my requirement clear:
At first, I design a dropdown list which is a html form select object.
The dropdown list have three options which are "e, t, s".
This is a simplified situation to plainly express the need of different behavior under each language.
What I want to do is under English localization, the default value of the dropdown would be "e", and under Traditional Chinese, the default value would be "t", and under Simplified Chinese, the default value would be "s".

I know I can write some javascripts to switch it or modify the SplendidControl.AppendEditViewFields().
But I am afraid that I would disorder those code and violate your design logic.
So I want to consult your opinion before doing any practical modification.

Thank you very much.

support
2153 posts
1st
Joined
1/3/2006

Re: Default value automatically
Posted: 11 Jul 08 10:00 AM
You have no other choice than to write custom code to handle this behavior. 
dragoon
21 posts
Joined
6/5/2008

Re: Default value automatically
Posted: 14 Jul 08 2:17 AM
Thank you, I got it.
  Mainstream Forums  Developers  Default value a...

Forum Home  Search       

Copyright (c) 2006-2008 SplendidCRM Software, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by Perpetual Motion Interactive Systems Inc.