Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:39286
More Search Options
RSS Available
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
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
mighty_man
on 1/30/2008
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
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
mighty_man
on 1/29/2008
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
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
mighty_man
on 1/29/2008
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
Posted to
CSS Friendly Control Adapters
(Forum)
by
mighty_man
on 6/27/2006
Page 1 of 11 (102 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online