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:612979
More Search Options
RSS Available
Matching Posts
Re: StringBuilder question
Extraordinarily relevant question... I planned to get the silly thing to appear, and then worry about interoperability. Thanks for reminding me. - Tinker
Posted to
C#
(Forum)
by
T. R. Tinker
on 10/7/2009
Re: StringBuilder question
Thank you, Debobrata. This will indeed porduce a textbox for me, and within the existing code. I've decided to go another direction and eliminate the original problem altogether, but this does indeed answer the question and it offers a very useable solution that I'm sure I will need again, sooner than later. I appreciate the answer and the time you spent on it. Thank you. - Tinker
Posted to
C#
(Forum)
by
T. R. Tinker
on 10/7/2009
StringBuilder question
I don't absolutely need to do it this way, but am curious about why it isn't working. sb.Append("<td style='width: 40px; text-align: center;'>"); sb.Append("<asp:TextBox id='nbrDays' runat='server' />"); sb.Append("</td>"); It produces the expected html output: <td style='width: 40px; text-align: center;'><asp:TextBox id='nbrDays' runat='server' /></td> But it does not display
Posted to
C#
(Forum)
by
T. R. Tinker
on 10/6/2009
Re: StringBuilder question
Thank you, Esayas. I don;t believe it's actually being rendered as plain text because the viewsource of the page shows the rendered content as a textbox - but I'm not 100% certain about that at the moment... I am dynamically creating the entire table through StringBuilder based on the condition of other controls on the page and can't separate this one cell because the table itself may or may not be necessary. I do appreciate the suggestion and will keep working with it. It has potential
Posted to
C#
(Forum)
by
T. R. Tinker
on 10/6/2009
Re: how to create multiple textboxes at runtime using clas file
Pavithru - I'm attempting something very similar, except the target container is a Literal. I get correct html on viewsource, but the textbox does not render. See http://forums.asp.net/p/1478312/3443580.aspx#3443580 Can you tell why it isn't working? I'd appreciate finding-out what I'm doing wrong... - Tinker
Posted to
C#
(Forum)
by
T. R. Tinker
on 10/6/2009
Re: StringBuilder question
Thank you, this works except that a textarea is multiline and you can't hide the scrollbars. :o( If you look at http://forums.asp.net/p/1355159/2777643.aspx the code I'm trying should work, but doesn't. You moved me forward, and I'm grateful. - Tinker
Posted to
C#
(Forum)
by
T. R. Tinker
on 10/6/2009
Re: Do Windows XP and Windows Server 2003 parse differently?
Hmmm. Not sure I understand. Isn't culture set in the global asax for all accounts on the server? And if the culture set in the global asax is the same on this workstation as it is on the server, then isn't the difference that the site runs as a network service account on the servers? I don't really want to start a server-issues thread, but if I'm really not understanding your answer, please point me in the right direction and I'll dive back into MSDN. - Tinker
Posted to
Getting Started
(Forum)
by
T. R. Tinker
on 10/2/2009
Re: Do Windows XP and Windows Server 2003 parse differently?
Mr^B, no offense meant and no offense taken, but "Duh!" Did you assume I hadn't debugged the application before I asked the forum? The variables are not empty or null; I've converted the Double.Parse to Double.TryParse; the Culture and UICulture is correct on the application, account, and domain of the servers; and the application compiles just fine in Windows XP, Vista and Windows 7. But I still have a format exception on a server. Nonetheless, your point about de-bugging an app
Posted to
Getting Started
(Forum)
by
T. R. Tinker
on 10/2/2009
Re: Do Windows XP and Windows Server 2003 parse differently?
:o) The process won't start; the first thing it does is throw the exception. Was in the middle of de-bugging on the server when this came in. I'll find it and then I'll have a great laugh about having overlooked something incredibly stupid and simple. I appreciate all the time you've spent with me, and thank you. - Tinker
Posted to
Getting Started
(Forum)
by
T. R. Tinker
on 10/2/2009
Do Windows XP and Windows Server 2003 parse differently?
I have a curious problem with code that runs perfectly fine on my XP-SP3 IIS 3.5 development machine but crashes on my 2003 IIS 3.5 test server with a: System.FormatException That should be a parsing error, but the only parsing is being done through TryParse, and any errors should throw handled exceptions. I'm not seeing anything in the server logs that clues me in. Is it possible to throw a FormatException that is not a parsing error? Is there a method to get more information about the error
Posted to
Getting Started
(Forum)
by
T. R. Tinker
on 10/1/2009
Page 1 of 29 (285 items) 1
2
3
4
5
Next >
...
Last »
Silverlight:
Silverlight 4 demos from my PDC Keynote now available
Channel 9:
Channel 9 Live at PDC09: Dave Campbell
Channel 9:
Channel 9 Live at PDC09: Yousef Khalidi
Channel 9:
Twitter App for Zune Launches
WindowsClient:
Incarnate
WindowsClient:
Track Fedex packages with Bing
Channel 9:
Marty O'Donnell - The man behind the Halo Music
Channel 10:
Twitter App for Zune Launches
WindowsClient:
Rotate your text in the WPF DataGrid Column Headers
WindowsClient:
New gameplay video with D&D on Surface
WindowsClient:
ViewModel Pattern and Speech as UI. Help me Obi Wan, where’s the View?
Channel 9:
Karsten Januszewski and Tim Aidlin: Introducing Incarnate
Channel 9:
Reactive Extensions API in depth: Retry
Channel 10:
iBing uBing: Bing iPhone App Arrives
WindowsClient:
Migrating an Outlook Client to .NET Framework 4 in Visual Studio 2010
Channel 10:
A Look Behind Mouse 2.0
WindowsClient:
Using Speech Synthesis in .NET 4 and Windows 7
Channel 10:
Office 2010 "5 Rules" Presentation
Channel 10:
30% off Expression Web 3 until Dec 28th
ASP.NET:
Live Preview jQuery Plugin
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online