Hi dspoh,
Please try the code below. I tested on asp.net 1.1, it works fine.
- Class MyDataManager
- Inherits CuteChat.AppDataManager
- Public Sub New(ByVal portal As AppPortal)
- MyBase.New(portal)
- End Sub
- Public Overrides Sub UpdateUserInfo(ByVal info As IChatUserInfo)
-
- If Not info.DisplayName Is Nothing And info.DisplayName.Length > 100 Then
- info.DisplayName = info.DisplayName.Substring(0, 100)
- End If
- If Not info.Description Is Nothing And info.Description.Length > 150 Then
- info.Description = info.Description.Substring(0, 150)
- End If
-
- Dim provider As IChatDataProvider = Me.CreateDataProvider()
- provider.UpdateUserInfo(info)
-
- End Sub
- End Class
-
- Public Overrides Function CreateDataManagerInstance(ByVal portal As AppPortal) As AppDataManager
- Return New MyDataManager(portal)
- End Function
Regards,
Ken