Skip to content

Membership Editor Works With Atlas March CTP

Updated: at 02:12 PM

Membership Editor Works With Atlas March Community Technology Preview IE and Firefox!

In two previous postings I used the January version of Atlas. At MIX06, Microsoft released the next version which is known as the March CTP. I have updated my web demonstration programs to take advantage of the new Atlas. The basic difference now is that the demonstrations all now work with Firefox as well as IE. I don't know about other browser compatability issues, but I'd sure like to hear if they work in your browser. The code can be run at the following locations: (using March Atlas) (no Atlas, just for comparison)

and demonstrating adding Membership with Personalization information:

I have not yet posted the code for the working versions of this you can download. I'm still not happy with part of the solution. Specifically, to make the textbox field you enter the search name into work correctly the changed behavior has to be added. This is done by declaratively putting the following in the asp page of interest.

<script type="text/xml-script">
   <textbox id="ctl00_ContentPlaceHolder1_TextBoxUserSearch">
     <textchangedbehavior timeout="100"
          changed="onTextChange" />

The TextBox is declared in the page as follows:

<asp :TextBox ID="TextBoxUserSearch"
 runat="server" AutoPostBack="False"

And, of course there must be this little picece of script to make to make it work:

<script type="text/javascript">
function onTextChange() {
__doPostBack('ctl00_ContentPlaceHolder1_GridViewMemberUser','') ;

The actual javascript that gets invoked is from Garbin's "The Atlas Notes blog".

The reason the control can be referenced inside a master page is because of the ct100_ContentPlaceHolder_ prefix on the ID. I'm hoping to find out how to do the above without referencing the control by it's strange ID. Anyone knows, please let me know. I'll then fix my code and post it for everyone to see. (with a blog entry of course)


Check out the ORM (Object Relational Mapper) PRISMA. The database access method I use in all my projects