DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 17 Jul 2007 11:12:00 -0700,    posted on: microsoft.public.dotnet.framework.compactframework        back       

Thread Index
  1    john pryor
          2    Ilya Tumanov [MS]
          3    john pryor
          4    Ilya Tumanov [MS]


Format Not Working   
I was led to believe that the 'format' property on the 
'datagridtextboxcolumn' class would be working starting in CF2 SP1. I read 
this on a blog that appeared to be from the CF Team. 
http://blogs.msdn.com/netcfteam/archive/2006/04/25/583542.aspx 

I am running CF2 SP2 on a windows mobile 5.0 smartphone and I am unable to 
get the formatting of any data in a datagrid cell to work. Am I doing 
something wrong or was this never implemented? I am trying to format a 
datetime object to a particular string.
-- 
John Pryor
Date:Tue, 17 Jul 2007 11:12:00 -0700   Author:  

Re: Format Not Working   
It is implemented staring V2 SP1. Make sure your styles are actually in 
effect.

Common mistake would be incorrect  mapping names in which case styles would 
not do anything.



-- 
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to 
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

"john pryor"  wrote in message 
news:B40FA748-035C-42C0-B932-A30701976205@microsoft.com...

>I was led to believe that the 'format' property on the
> 'datagridtextboxcolumn' class would be working starting in CF2 SP1. I read
> this on a blog that appeared to be from the CF Team.
> http://blogs.msdn.com/netcfteam/archive/2006/04/25/583542.aspx
>
> I am running CF2 SP2 on a windows mobile 5.0 smartphone and I am unable to
> get the formatting of any data in a datagrid cell to work. Am I doing
> something wrong or was this never implemented? I am trying to format a
> datetime object to a particular string.
> -- 
> John Pryor 
Date:Tue, 17 Jul 2007 13:36:06 -0700   Author:  

Re: Format Not Working   
My styles are correct, I know this because I have just the columns that I 
want and i have the correct headings. 

The format string itself is just a string of chars, right? Nothing like what 
you have to do over in ASP.Net with the '0:xxx'?
-- 
John Pryor


"Ilya Tumanov [MS]" wrote:


> It is implemented staring V2 SP1. Make sure your styles are actually in 
> effect.
> 
> Common mistake would be incorrect  mapping names in which case styles would 
> not do anything.
> 
> 
> 
> -- 
> Best regards,
> 
> Ilya
> 
> This posting is provided "AS IS" with no warranties, and confers no rights.
> 
> *** Want to find answers instantly? Here's how... ***
> 
> 1. Go to 
> http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
> 2. Type your question in the text box near "Search this group" button.
> 3. Hit "Search this group" button.
> 4. Read answer(s).
> 
> "john pryor"  wrote in message 
> news:B40FA748-035C-42C0-B932-A30701976205@microsoft.com...
> >I was led to believe that the 'format' property on the
> > 'datagridtextboxcolumn' class would be working starting in CF2 SP1. I read
> > this on a blog that appeared to be from the CF Team.
> > http://blogs.msdn.com/netcfteam/archive/2006/04/25/583542.aspx
> >
> > I am running CF2 SP2 on a windows mobile 5.0 smartphone and I am unable to
> > get the formatting of any data in a datagrid cell to work. Am I doing
> > something wrong or was this never implemented? I am trying to format a
> > datetime object to a particular string.
> > -- 
> > John Pryor 
> 
> 
> 
Date:Tue, 17 Jul 2007 13:50:02 -0700   Author:  

Re: Format Not Working   
Yes, it's a string which must be valid for particular type. Is it correct 
for the type?

Is the type as expected? Say, if you load data from XML to DataSet without 
schema all type information will be lost and you will have strings 
everywhere and format for, say, decimal won't work on strings.

Also, does your code work on a desktop?



-- 
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to 
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

"john pryor"  wrote in message 
news:52762831-32CB-484C-9820-55B72E354917@microsoft.com...

> My styles are correct, I know this because I have just the columns that I
> want and i have the correct headings.
>
> The format string itself is just a string of chars, right? Nothing like 
> what
> you have to do over in ASP.Net with the '0:xxx'?
> -- 
> John Pryor
>
>
> "Ilya Tumanov [MS]" wrote:
>
>> It is implemented staring V2 SP1. Make sure your styles are actually in
>> effect.
>>
>> Common mistake would be incorrect  mapping names in which case styles 
>> would
>> not do anything.
>>
>>
>>
>> -- 
>> Best regards,
>>
>> Ilya
>>
>> This posting is provided "AS IS" with no warranties, and confers no 
>> rights.
>>
>> *** Want to find answers instantly? Here's how... ***
>>
>> 1. Go to
>> http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
>> 2. Type your question in the text box near "Search this group" button.
>> 3. Hit "Search this group" button.
>> 4. Read answer(s).
>>
>> "john pryor"  wrote in message
>> news:B40FA748-035C-42C0-B932-A30701976205@microsoft.com...
>> >I was led to believe that the 'format' property on the
>> > 'datagridtextboxcolumn' class would be working starting in CF2 SP1. I 
>> > read
>> > this on a blog that appeared to be from the CF Team.
>> > http://blogs.msdn.com/netcfteam/archive/2006/04/25/583542.aspx
>> >
>> > I am running CF2 SP2 on a windows mobile 5.0 smartphone and I am unable 
>> > to
>> > get the formatting of any data in a datagrid cell to work. Am I doing
>> > something wrong or was this never implemented? I am trying to format a
>> > datetime object to a particular string.
>> > -- 
>> > John Pryor
>>
>>
>> 
Date:Thu, 19 Jul 2007 13:44:59 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us