02-26-06 03:46 PM
Hi Senthilkumar,
You cannot use BCLs to set the default language. BCLs are used on the
runtime site and you can get the data in the language you want by setting
"ActiveLanguage".
However on the desgin time side, if you used either Bizdesk or the interop
APIs, you can set the default language on a catalog.
Hope this helps.
Thanks
Sudha
--------------------
From: "senthilkumar" <senthilkumarj@gmail.com>
Newsgroups: microsoft.public.commerceserver.general
Subject: Re: Catalog Default language
Date: 23 Feb 2006 21:59:56 -0800
Organization: http://groups.google.com
Lines: 42
Message-ID: <1140760796.156891.161210@i39g2000cwa.googlegroups.com>
References: <1140613807.505888.140200@f14g2000cwb.googlegroups.com>
<tz3fah$NGHA.3052@TK2MSFTNGXA01.phx.gbl>
<1140676685.992404.144970@z14g2000cwz.googlegroups.com>
NNTP-Posting-Host: 203.101.40.88
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1140760801 31009 127.0.0.1 (24 Feb 2006
06:00:01 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 24 Feb 2006 06:00:01 +0000 (UTC)
In-Reply-To: <1140676685.992404.144970@z14g2000cwz.googlegroups.com>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET
CLR 1.1.4322),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.0 squid.accelicimtech.com:3128 (squid/2.5.STABLE6)
Complaints-To: groups-abuse@google.com
Injection-Info: i39g2000cwa.googlegroups.com; posting-host=203.101.40.88;
posting- account=0gKvzg0AAABjEgNFQ9y1CySyjBvRQUoX
Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!ne
wsfeed1.ip.tiscali.net!news.glorb.com!postnews.google.com!i39g2000cwa.google
groups.com!not-for-mail
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.general:17588
X-Tomcat-NG: microsoft.public.commerceserver.general
Hi,
can somebody help me out.Still same problem.
Regards
Senthilkumar
senthilkumar wrote:
> Hi,
>
> I am using CS2002.When i tried to do like that i got an Error as
> follows
>
> C:\Inetpub\wwwroot\ImportTest\Search.aspx.cs(65): Property or indexer
> 'Microsoft.CommerceServer.Runtime.Catalog.ProductCatalog.DefaultLanguage'
> cannot be assigned to -- it is read only
>
> Code actually written for Catalog
>
> ProductCatalog productCatalog = new
>
ProductCatalog(CommerceContext.Current.CatalogSystem.GetCatalog("keywords");
>
> productCatalog.DefaultLanguage = "en-GB";
>
> productCatalog.save();
>
> When i tried to add a method save() it is not showing in the help
> dialog.
>
>
> Is anything wrong in the code.i added all the references. i can able to
> fetch products
> from the catalog.But i want to change the default language.
>
>
>
> Can u suggest on this.
>
> Regards,
> Senthilkumar
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2005 Microsoft Corporation. All rights
reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Have a Commerce Server “How To” question? Help is a click away at our
Chats, Newsgroups and Web logs
Chats (2nd Wednesday of the month from 11 to Noon):
http://www.msdn.microsoft.com/chats/
Public newsgroups:
http://www.microsoft.com/technet/co...r/commerce.mspx
Web logs and community:
http://www.microsoft.com/commercese...ty/default.mspx
Other resources:
http://www.microsoft.com/technet/pr...02/default.mspx
Attachment:
This has been downloaded 0 time(s).
[ Post a follow-up to this message ]
|