Hi,

you cannot return this value to the client because it is not readable,
what is wrong with that?

Regards,
Michael

On 6/15/06, Kevin <[EMAIL PROTECTED]> wrote:
>
> VS 2003 - AjaxPro.dll v 6.6.13.1 - VB.NET
>
> Good Morning to the board!
>
> I have been having problems with migrating from Ajax.net to AjaxPro.Net
> and after much trial & error plus help from the board I have finally
> figured the reason why and it seems that I am not entirely alone on
> this.  Basically what I have found is that if a class has a property
> that is set as WriteOnly then the entire class returns null on the
> browser.  As soon as I eliminate this WriteOnly property or remove the
> WriteOnly attribute on the property so that is has both a get and a set
> then everything works as it should.
>
> the previous Ajax.Net dll did not have a problem with this but the pro
> version does.  I have also searched the group and found the exact same
> issue was raised a month ago but a resolution was never achieved as the
> thread was abandoned...  Is this something that can be fixed?  Is this
> only a problem with VB and not C#?  Im thinking its a syntax thing...
>
> here is the other post about the same topic:
>
> http://groups.google.com/group/ajaxpro/browse_frm/thread/874a4197a6fe581a/159bbf5c11282069?q=write+only+property&rnum=1#159bbf5c11282069
>
> here is the vb.net syntax:
>
>     Public Overridable WriteOnly Property test() As String
>         Set(ByVal Value As String)
>                someString = Value
>         End Set
>     End Property
>
> thanks,
> Kevin
>
>
> >
>


-- 
Best regards | Schöne Grüße
Michael

Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer

http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to