Search

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

Matching Posts

  • Anonymous Users

    I use the ASP.NET membership provider with AnonymousIdentification set to true. The anonymous users cookies expire after a few days, but the anonymous users never get deleted from aspnet_Profile and aspnet_Users and my database size expands alarmingly. I've tried to get my ASP.NET to delete these records but Membership.GetAllUsers() doesn't list them and Membership.DeleteUser() won't accept an anonymous user name. Have I missed something obvious in ASP.NET or do I need to write some SQL
    Posted to Security (Forum) by Kestrel42 on 5/29/2007
  • Re: Split/Merge Cells of a GridView?

    I've managed to create the effect with GridViews. In the RowDataBound event you can access the collection of cells with e.Row.Cells. To merge first two cells: e.Row.Cells.RemoveAt(1); e.Row.Cells[0].ColumnSpan=2; However - be warned - don't try this you are using any buttons in the row to raise events. They won't work!!
    Posted to Data Presentation Controls (Forum) by Kestrel42 on 5/24/2007
  • PreCompile problems

    I have a site that compiles and works fine - both within VWD and on a live server. I'd like to precompile it before deploying it so am using MsBuild.exe which in turn calls aspnet_compiler.exe. Now suddenly I get compilation errors: aspnet_compiler.exe, such as /ProCustomer9/UserControlsB/ShowText.ascx(2): error ASPPARSE: Circular file references are not allowed. Two questions: 1. Why should pre-compile behave differently? Surely there is only one compiler? 2. Why is it pretending there is an error
    Posted to Configuration and Deployment (Forum) by Kestrel42 on 5/11/2007
  • Re: SelectedStyles do not work with Jeff Prosise's SQL Sitemap provider

    My problem is that ASP.Net does not include the necessary CSS tags to distinguish the selected items on the menu. I have since developed this "workround" - but don't really understand why it is necessary. protected void Menu1_MenuItemDataBound(object sender, MenuEventArgs e) { SiteMapNode smn = SiteMap.CurrentNode; string item = e.Item.NavigateUrl; bool Selected = false; if (smn0 != null) { Selected = smn.Url.Equals(item, StringComparison.CurrentCultureIgnoreCase); } e.Item.Selected = Selected;
  • SelectedStyles do not work with Jeff Prosise's SQL Sitemap provider

    I'm using Jeff's SQL based site map as described in this article: http://msdn.microsoft.com/msdnmag/issues/06/02/WickedCode/default.aspx It's a great improvement on the web.sitemap file, but I've discovered that the menus no longer indicate which is the current node. Any suggestions how to fix that? I have the following code in my Master Page: < asp : Menu ID ="Menu1" runat ="server" SkinID ="Menu1" DataSourceID ="SiteMapDataSource1" StaticSubMenuIndent =""> < StaticMenuStyle CssClass =
  • Re: how do you refresh menu when using SqlSiteMapProvider

    Read the updated article http://msdn.microsoft.com/msdnmag/issues/06/02/WickedCode/default.aspx
  • Extending Site Map

    I've implemented Jeff Prosise's sitemapprovider where the site map data is taken from an SqlProvider. I'm just wondering if I can do more with that site map table. For example, could I use inheritance to add "key words" or "StartingNodeUrl" fields to the database table, access them as properties of SiteMap.CurrentNode and take appropriate actions in my MasterPage code? I'm not an expert on inheritance, but it seems to me that, because SiteMap cannot be inherited, I can't really do much in this direction
  • Re: Efficient Compilation of App_Code

    I too have been suffering from increasingly long compile times as I've put more and more code into App_Code. I use VWD Express and it now takes me five minutes to perform a single iteration of altering code and testing it. Unfortunately I don't understand the advice you've given in this thread - could you please expand your explanations? What do you mean by "Try moving some classes from App_Code to a separate Class Library project." and "Therefore, try not making App_Code too large and rather split
    Posted to Visual Studio 2005 (Forum) by Kestrel42 on 3/27/2007
  • Can't connect remotely to SQL Express on Virtual Private Server

    I've just bought a Virtual Private Server Account because I want to host a number of different ASP.NET sites, each backed by their own SQL database. I've downloaded SQLEXPRE.EXE and SQLServer2005_SSMEE-x64.msi to the server and installed the database engine and Management Studio Express on the VPS. My problem is that I cannot access the SQLEXPRESS on my server from my local machine. The Management Studio Express cannot get logged in. I've used "Surface Area Configuration Manager" to allow "Local
  • collapsiblePanelExtender - can you tell what user has done?

    Is it possible to tell, on postback, whether the user has left a collapsible panel in a collapsed or expanded state? I would like to place the state of each panel into the UserProfile, so that each page can "remember" the state of each panel state when the user returns. However, on postback, CollapsiblePanelExtender1.Collapsed just tells me the state when I created the page. The text "On a client postback, it automatically remembers and restores its client state. This demonstrates the ability of
    Posted to ASP.NET AJAX Control Toolkit (Forum) by Kestrel42 on 2/22/2007
Page 1 of 7 (63 items) 1 2 3 4 5 Next > ... Last »