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:214
More Search Options
RSS Available
Matching Posts
Re: Reference Profile in PreInit?
Sometimes I answer my own RFI :-) and continue to learn never blindly trust everything that can be read in a blog as I was mistakenly led to believe an instance of ProfileCommon is derived from ProfileBase when the Page itself is created making the Profile available to the Page class; this may still be correct but not early in PreInit. To access the Profile properties of named Groups in PreInit I had to derive my own profile object: ProfileCommon profile = HttpContext.Current.Profile as ProfileCommon;
Posted to
Web Parts and Personalization
(Forum)
by
clintonG
on 6/9/2009
Filed under: profile groups profilecommon profilebase
Reference Profile in PreInit?
I can't seem to write a well formed statement to reference a Profile in PreInit when using a Profile Group... // results in settings property not found error string userName = (string)Context.Profile["ProfileOfPersons.UserName"];
Posted to
Web Parts and Personalization
(Forum)
by
clintonG
on 6/8/2009
Filed under: profile group preinit
Mapping SqlTableProfileProvider Property Data Types to CLR .NET Data Types
This page documents how to map SQL Server data types with CLR .NET data types: http://msdn.microsoft.com/en-us/library/ms131092.aspx SQL Server CLR .NET ================================= bit Boolean tinyint Byte I do not understand if I am declaring the CLR .NET types in my code correctly and I do not understand if I am correctly declaring the Profile Properties in web.config. I do not understand if I am using the correct statements in my code as I hope the following explains clearly: // Does this
Posted to
Web Parts and Personalization
(Forum)
by
clintonG
on 5/14/2009
Filed under: SqlTableProfileProvider SQL Data Type mapping CLR .NET Data Types
Re: SqlTableProfileProvider - get-set custom Profile values in Page_PreInit?
I've already edited the thread and explained that there is no way to Cancel the thread once learning it was no longer needed. To avoid being sloppy and unthoughtful I also provided a snippet of code for others showing how to set a Profile in Page_PreInit and showed how to set the Page.Title property to confirm. The rest of what I was referring to in the thread is simply too ambiguous to write about except to explain the problem was "user error" okay? I made an error I did not observe
Posted to
Web Parts and Personalization
(Forum)
by
clintonG
on 4/23/2009
Filed under: SqlTableProfileProvider SqlProfileProvider Table Profile Provider
SqlTableProfileProvider - get-set custom Profile values in Page_PreInit?
The forums do not support "Cancel This Post" and I've resolved the problem I was having with get-set of a Profile in Page_PreInit. I post a snippet here for simple review and mark this issue Resolved... 1 using System.Web.Profile; 2 3 if (HttpContext.Current.User.Identity.IsAuthenticated) 4 { 5 ProfileCommon pc = HttpContext.Current.Profile as ProfileCommon; 6 pc.ProfileOfPersons.SelectedTheme = "WisconsinAutumn" ; 7 Page.Title = pc.ProfileOfPersons.SelectedTheme; 8 } 9
Posted to
Web Parts and Personalization
(Forum)
by
clintonG
on 4/18/2009
Filed under: SqlTableProfileProvider SqlProfileProvider Table Profile Provider
Re: Debugging SqlTableProfileProvider
TU for stopping by. The error message was one of those arcane syntax errors: Incorrect syntax near ',' I actually tried what you recommended (yesterday?) and the sproc ran fine. I was also being told by the debugger than did not want to debug because it could not find symbols. I had deleted some --but not all-- Temporary ASP.NET Files which I've learned is what likely caused the debugger to fail. Deleting all folders in that path returned debugging to normal and the other arcane syntax
Posted to
Web Parts and Personalization
(Forum)
by
clintonG
on 4/16/2009
Debugging SqlTableProfileProvider
Hope I can attract the attention of persons who have learned to cope with this custom provider. I'm having problems integrating this provider. The code breaks on cmd.ExecuteNonQuery found in SqlTableProfileProvider.cs resulting in a difficult error message to debug: Incorrect syntax near ',' I've scoured the sproc and wonder how am I supposed to find a comma as the error implies? This error seems to be a problem with some text in the setCustomProfileData sproc where I had to define
Posted to
Web Parts and Personalization
(Forum)
by
clintonG
on 4/14/2009
Filed under: SqlTableProfileProvider Custom Type Serialization
Re: SqlTableProfileProvider - mapping customProviderData while retaining use of SqlProfileProvider default
Thank you. Do you know why Intellisense didn't show that option to me until --after-- I wrote all this stuff asking what to try next? I'm having other problems integrating this provider. The code breaks on cmd.ExecuteNonQuery in SqlTableProfileProvider.cs with some difficult error to debug: Incorrect syntax near ',' How am I supposed to find a comma? This error seems to be a problem with some text in the setCustomProfileData sproc where I had to define all the columns and datatypes
Posted to
Web Parts and Personalization
(Forum)
by
clintonG
on 4/13/2009
Filed under: SqlTableProfileProvider SqlProfileProvider Table Profile Provider sproc
SqlTableProfileProvider - mapping customProviderData while retaining use of SqlProfileProvider default
I've tried to document my question well and hope somebody can follow along here... I don't understand how to get or set the customProviderData while continuing to get or set using the default SqlProfileProvider. Setting it up in web.config seems to be easy assuming I have the following declared correctly... // EXAMPLE: Default Provider 1 <profile defaultProvider="DefaultProfileProvider" 2 enabled="true" automaticSaveEnabled="true"> 3 < providers >
Posted to
Web Parts and Personalization
(Forum)
by
clintonG
on 4/13/2009
Filed under: SqlTableProfileProvider SqlProfileProvider Table Profile Provider
Power Point as Silverlight Content Generator
It seems to me that new companies, new jobs and new markets would emerge if developers had classes in the framework which enabled us to programmatically control PPT slides and slide shows. I think it would be significantly useful to use PPT to generate content with Silverlight in this context. The emerging markets for digital signage and interactive TV are here and now.
Posted to
Feature Requests
(Forum)
by
clintonG
on 2/12/2009
Filed under: digital signage, interactive TV, digital TV
Page 1 of 24 (236 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
ASP.NET:
High CPU in .NET app using a static Generic.Dictionary
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online