Hi, I use new wrappe objects (structs) that present the data I need in the different scenarios, this is "more" work, but you will have advantages to reduce the problem when properies/interfaces are changing. On the client-side you always use the same stuff, and on the server-side you will get a compilation error if there are changes... ;)
Regards, Michael On 6/23/06, Deepa <[EMAIL PROTECTED]> wrote: > > Hello folks. > > First off, I am a newbie to AJAX,AJAX Pro and the group. So excuse any > faux pas on my part. > > We have recently decided to incorporate AJAX in our web site. > Currently, we have a middle tier library, that does all the dbcall and > business logic and the UI layer. > > The UI layer now needs to use AJAX Pro. The objects are all defined in > the library(middle tier). We would like to set some of the properties > in the objects to NonSerializable. and the code looks soemthing like > this.(we use c# for the middle tier, although we show vb.net here) > > <AjaxPro.AjaxNonSerializable()> _ > Public Property Test() As String > Get > Return s > End Get > Set(ByVal value As String) > Return s = value > End Set > End Property > > Thing is, we have other calls made to the same object, where we would > like to have the same property serialized. So, my question is, can we > dynamically set this attribute to some properties in the object, on the > fly? > > Any traction on this would help. We were looking at reflection to help > us acheive this, but not sure if that is the right direction to go. > > Thanks > Deepa. > > > > > -- 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 -~----------~----~----~----~------~----~------~--~---
