Search

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

Matching Posts

  • ASP.NET AJAX 4.0 Templating - SEO / Javascript disabled.

    I´m using the new "data templates" in ASP.NET AJAX 4.0 preview 4. When creating a datalist on, for example pageLoad, browsers with javascript disabled or not supported will not get the right content of course. But for SEO I would like to render data in templete on the first request. The possible noscript tag is the first solution that comes in mind. Another solution would be not not use javascript to populate data on the first request. The problem then is on later user interaction to create
    Posted to ASP.NET 4 Beta 1 (Forum) by mighty_man on 8/20/2009
    Filed under: ASP.NET 4.0, AJAX
  • Re: Providers with different ApplicationNames Problem/Senario

    Yeah, I know that thats possilbe. The problem is that this application has been running configured like this for a while. So I need to fix the roles and profile bindings and clean up dublicate users in the user table. Thanks. /P
    Posted to Security (Forum) by mighty_man on 3/25/2008
  • Providers with different ApplicationNames Problem/Senario

    I´ve run into a project where Memebership, Roles och Profiles are used, no custom providers. The thing is that the roles has no applicationName set but Memebrship has! So when adding a Member to a role it duplicates the user in the user table. This is not good! And makes it more difficult to work with profiles. I´m now looking for tips on a solution for this. Following code is just an example of thought, or one way to start looking. foreach (MembershipUser m in Membership.Providers[ "OldProvider"
    Posted to Security (Forum) by mighty_man on 3/20/2008
    Filed under: .NET 2.0, Membership Provider, .net 2.0 security
  • WindowsLiveSearchProvider - Service Error - Client Error

    I´m trying to use the WindowsLiveSearchProvider from the ASP.NET future release. I´ve got my appId and everything. Following the sample code from the tutorials here on www.asp.net But when I try to bind the SearchDataSource I get an error, as follows; [SoapException: Client Error] System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +443283 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke
    Posted to ASP.NET Futures (Forum) by mighty_man on 1/31/2008
  • Re: Linq to Sql - Inheritance - Problem Inserting new object

    Problem solved. I had the desciminatorproperty in the derived class as well. Silly me. peace
  • Re: Linq to Sql - Inheritance - Problem Inserting new object

    I´ve also made a new project from sratch with following DDL; CREATE TABLE [dbo].[Objects]( [ObjID] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](50) COLLATE Finnish_Swedish_CI_AS NOT NULL, [PageType] [int] NOT NULL Data.TestDBDataContext db = new Data.TestDBDataContext(); Model.Car car = new Model.SportsCar(); car.Title = "Some car" ; db.Cars.InsertOnSubmit(car); db.SubmitChanges(); I´ve tried to make a model with two class, and also with one abstract base class and to class inheriting
  • Re: Linq to Sql - Inheritance - Problem Inserting new object

    I have slimmed down my model to only containing the PK PageId, the property Title and the descriminator property PageType. And it still doesn´t work. Here's the full DDL anyway. CREATE TABLE [dbo].[Pages]( [PageId] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](255) COLLATE Finnish_Swedish_CI_AS NOT NULL, [Intro] [nvarchar](255) COLLATE Finnish_Swedish_CI_AS NULL, [Body] [ntext] COLLATE Finnish_Swedish_CI_AS NULL, [Approved] [bit] NOT NULL, [EditDate] [datetime] NOT NULL, [LanguageCode] [varchar
  • Linq to Sql - Inheritance - Problem Inserting new object

    I have a simple model made in the designer. A single table made to two classes (Page, News) with inheritance on a PageType property that is an int. I can select object from the context with typeOf etc, and it works fine. But, when I´m trying to insert a new object that is not of the default type (Page), I get an error. News news = new News(){ Title=”test”}; Context.Pages.InsertOnSubmit(news): Context.SubmitChanges(); Object reference not set to an instance of an object . System.NullReferenceException
    Posted to Data Access and ObjectDataSource Control (Forum) by mighty_man on 1/29/2008
    Filed under: Linq to SQL
  • LINQ for SQL tier architecture

    When using Linq for SQL. You could see the dbcontext object as DAL, but it also continas the object model for you business entities. Is there any guidelines for application design using LINQ for SQL ? any examples? With a full BBL, extending the partial class and some updates through the BBL. All I could find is some simple lines of code... Peace.
    Posted to Architecture (Forum) by mighty_man on 6/25/2007
  • Re: When MenuItem.NavigateUrl is not set the MenuItemClick event isn't fired!

    When I changed the adapter code and check the demo code all worked fine. But whem implementing the same adapter on my own code, no postback. The page for the implementation has two menues, one with NavigationUrl and one without. The one without is using values on each node. So without the adapter the postback argument is the value. When the changed adapter code didn´t work, I tried to change the postback with the argument of item.value instead of b+ ..... :) So the postback url seems exaktly like
Page 1 of 11 (102 items) 1 2 3 4 5 Next > ... Last »