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:492455
More Search Options
RSS Available
Matching Posts
Re: checkbox alignment problem
If anyone is still interested... The workaround for this issue is here -> http://www.telerik.com/community/forums/aspnet-ajax/toolbar/asp-checkbox-text-in-itemtemplate-doesn-t-align-center-vertically.aspx Add style to float label rendered by asp up a bit: .CheckBoxAlign label { position: relative; top: -3px; }
Posted to
Web Forms
(Forum)
by
tkraft
on 9/29/2009
Re: Linq. Query
If anyone wanders in here... the public class TestComparer : IEqualityComparer needs to have the type specified: public class TestComparer : IEqualityComparer<Test>
Posted to
C#
(Forum)
by
tkraft
on 7/9/2009
Re: Programatically adding controls to a ListView
Cool, but how do you access the control on postback to obtain the user input in the ItemUpdating event? I can access the placeholder but it has no controls - obviously since it's been dynamically added and not being tracked in viewstate. So I found some postings about that and tried to recreate the control in pageload or init - but to no avail. Any ideas? thanks
Posted to
Data Presentation Controls
(Forum)
by
tkraft
on 6/29/2009
Re: VS 2008 WebSetup : new option for application pools ?
I sure hope they change this is VS2010 because it has been a huge PITA. The only way I have found to set this is to run the MSI from the command line and pass in the AppPool: XYZZX.msi /qr /TARGETAPPPOOL="MyAppPoolName" If someone knows how to write a custom action to override the AppPool setting, I'd love to hear about it. see http://stackoverflow.com/questions/714309/virtual-directory-in-web-setup-project for more discussion.
Posted to
VS Web Deployment Projects
(Forum)
by
tkraft
on 5/14/2009
Filed under: web setup Project apppool
Re: The query contains references to items defined on a different data context.
Of course! I had copied that code in from some sample and should have looked closer. the error message was spot-on! this works great now. public class WorkListGateway : IDisposable { private readonly RADSData context = new RADSData(ConfigurationManager.ConnectionStrings[ "RADSDataBase" ].ConnectionString); ...<snip>... #region IDisposable Members public void Dispose() { context.Dispose(); } #endregion } Thanks so much!
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
tkraft
on 4/16/2009
Re: The query contains references to items defined on a different data context.
The DataContext is a private member of the class where this method lives. It's not visible to the caller and it shouldn't be. this works fine: public class WorkListGateway { private RADSData DataContext { get { try { string connectionString = ConfigurationManager.ConnectionStrings[ "RADSDataBase" ].ConnectionString; RADSData context = new RADSData(connectionString); return context; } catch (Exception ex) { throw new Exception(String.Format( "Connection String error for RADSData
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
tkraft
on 4/16/2009
Re: The query contains references to items defined on a different data context.
I'm having a similiar problem and this thread seemed like a good place to post it... I have this code to query a single database: public List<WorkListAssignment> GetWorkListAssignments() { var query = from w in DataContext.RADSAV_WorkListAssignments join g in DataContext.RADSAV_WorkGroups on w.WorkGroupId equals g.WorkGroupId join l in DataContext.RADSAV_WorkLists on w.WorkListId equals l.WorkListId select new {Group = g.WorkGroupName, List = l.WorkListName }; List result = new List();
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
tkraft
on 4/15/2009
Filed under: object data source, Linq to SQL
Re: Return the assembly of the custom server control parent
RE: string version = this .Parent.GetType().Assembly.GetName() This won't work cause it just gets the version of System.Web. I worked with this and found that the following control will locate and report the version of the Web App DLL based on the idea posted by booler. namespace ServerControls { [DefaultProperty( "Text" )] [ToolboxData( "<{0}:VersionLabel runat=server></{0}:VersionLabel>" )] public class VersionLabel : Label { protected override void RenderContents
Posted to
Web Forms
(Forum)
by
tkraft
on 1/27/2009
Re: Masked Edit Control and year (century) format
Not sure what you're asking. 0001 is a valid year in .Net: The DateTime value type represents dates and times with values ranging from 12:00:00 midnight, January 1, 0001 Anno Domini (Common Era) through 11:59:59 P.M., December 31, 9999 A.D. (C.E.) However, 0001 is not valid in SQL server: Data type Range Accuracy datetime January 1, 1753, through December 31, 9999 3.33 milliseconds What problem are you having? The control itself and code behind to parse the date seem to work fine.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
tkraft
on 2/28/2008
Re: Masked Edit Control and year (century) format
Nice enhancement. Here is my version that handles both 1 and 2 digit years. Also, I notice that the Replace("_","") does not seem to be needed as the textbox value does not have them when the onChange event is run. // This function allows entry of a 1-2 digit year with the MaskedEditExtender // It adds the appropriate century pivoting on year 50. function dateComplete(strClientID) { var blnReturnDate = false ; var objTextbox = $ get (strClientID); var strDateText = objTextbox
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
tkraft
on 10/4/2007
Page 1 of 2 (13 items) 1
2
Next >
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
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online