Search

You searched for the word(s): userid:663582

Matching Posts

  • Re: Custom Membership Provider Using Additional Functions

    Hey Rick, I guess my problem is that I don't know where to put this module and how that module is associated with the Membership provider. After doing some more research, I now know that I can't add functions to the Membership Provider because it's not meant to be extended like that. I still can't get it to be called by doing the Membership.Provider.GetUserIDFromUsername() call. I think I'm just spending too much time caring about how this function is called when I can just cast
    Posted to Security (Forum) by vipergtsrz@gmail.com on 7/7/2009
  • Re: Custom Membership Provider Using Additional Functions

    Hey Rick, I'm tried using your suggestion, but I'm not sure it does what I was expecting. In order to call that function on the front end, I would have to do something like Extensions.GetUserIDByUsername("username", Membership.Provider) Right? I have spent a lot of time looking into this and it seems like the Membership Provider just can't be extended to allow for other functions to be added to it from the Membership namespace. I assume this is the same for the Roles and Profile
    Posted to Security (Forum) by vipergtsrz@gmail.com on 7/6/2009
  • Re: Custom Membership Provider Using Additional Functions

    Thanks for your reply Rick, I tried what you suggested, and I still can't call the function from the Membership keyword. The only way I can successfuly call my custom functions is if I cast Membership to my custom membership provider. Any other suggestions?
    Posted to Security (Forum) by vipergtsrz@gmail.com on 7/3/2009
  • Re: Custom Membership Provider Using Additional Functions

    Here is the snippit of my custom membership provider Namespace Providers Public Class ccMembershipProvider Inherits MembershipProvider Private ReadOnly Property connectionString() As String Get Return _sqlConnectionString End Get End Property Public Function GetUserIDByUsername(ByVal Username As String) As Guid Using ccData As New Data.ccDataContext(connectionString) Dim usrID = (From m In ccData.Members _ Where m.UserName = Username _ Select m.UserId).SingleOrDefault() Return usrID End Using End
    Posted to Security (Forum) by vipergtsrz@gmail.com on 7/3/2009
  • Custom Membership Provider Using Additional Functions

    I have built a custom membership provider that inherits from the MembershipProvider class. In my custom provider, I have defined a few new functions that I need to use, but my issue is that I can't access those functions on the front end using the Membership namespace. So in my default.aspx code behind, I would like to call a function GetUserIDFromUserName() by just typing Membership.GetUserIDFromUserName(). In order for me to be able to do that right now, I have to cast Membership to my custom
    Posted to Security (Forum) by vipergtsrz@gmail.com on 7/2/2009
    Filed under: membership
  • ASP.NET Membership and Searching users

    I am using the ASP.NET membership database table structure where it has a Users table, Profile table and ProfilePropertyDefinition Table. The Profile table just has userID, propertyDefinitionID and propertyValue and then the property definition table defines the property type. This structure basically allows me to add a new profile property to the database without having to add a physical column to the profile table. The idea behind it is really awesome and makes it much more dynamic. My problem
    Posted to Security (Forum) by vipergtsrz@gmail.com on 5/11/2009
    Filed under: membership profile property search
  • Re: UpdatePanel posts back to wrong URL when URLMappings used in a "subdirectory"

    [quote user="JeffreyZhao"] Add this to your page: Sys.Application.add_load(function() { var form = Sys.WebForms.PageRequestManager.getInstance()._form; form._initialAction = form.action = window.location.href; }); [/quote] I LOVE YOU! I spent many hours today trying to figure out why my update panels were not working with my ISAPI Rewrite site and this just solved it for me. Thank you very much!
    Posted to ASP.NET AJAX UI (Forum) by vipergtsrz@gmail.com on 8/21/2008
  • Accordion Pane HeaderSelectedCssClass Problem

    Hopefully someone can tell me how to work around this. Currently, the accordion control is working great for me, but here is my situation. I have 4 panes, Admin, Personal, Info, Interests. Obviously, when someone comes to the page and IS NOT logged in as an admin, I want to hide the Admin pane with visible=false. So when I come to the page, it automatically makes the Personal Pane open because I have SelectedIndex = 0 and that's the first one because the Admin Pane is visible=false. The problem
  • Re: ASP AJAX Calendar Control

    Thank you so much. That's exactly what I was looking for.
Page 1 of 2 (16 items) 1 2 Next >