Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More info on AJAX and MM.Net/ObjecDataSource issue
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
More info on AJAX and MM.Net/ObjecDataSource issue
Miscellaneous
Thread ID:
01231577
Message ID:
01231577
Views:
56
I'm trying to figure out if the issues with the AJAX update panel updating intermittently are related to the ObjectDataSource in general or if it's something about the MM.Net framework. I created a simple class decorated with DataObjectModel and with a method decorated with DataObjectModelType.Select that returned a MembershipUsersCollection.

When binding to a drop-down that is triggering an update panel I'm not seeing the intermittent results that were occurring with the MM.Net business object used as an ObjectDataSource. This leads me to believe that there's an issue with MM.Net business objects used as an ObjectDataSource and AJAX.

It's getting discouraging not receiving any responses on this issue from the product owner.

Class for ObjectDataSource:
[DataObject(true)]
public class MembershipOdsWrapper
{
public MembershipOdsWrapper()
{
//
// TODO: Add constructor logic here
//
}



[DataObjectMethod(DataObjectMethodType.Select, true)]
static public MembershipUserCollection GetMembers()
{

return Membership.GetAllUsers();
}

}

Methods in codebehind to trigger update panel:
public void ShowTime()
{
Label1.Text = DateTime.Now.ToString();
}


protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
ShowTime();
}
Regards,

E.R. Gilmore
Next
Reply
Map
View

Click here to load this message in the networking platform