StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
want to clear databound textbox after populating
want to clear databound textbox after populating
Post Reply
Like
2
want to clear databound textbox after populating
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Greg
Greg
posted 14 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 7,
Visits: 52
I currently have a date textbox that has the bindingfield and businessobjectname properties set, and is populating based on that. However, since I am working with dates, I have set a NULL replacement value in the business object mapper of CDate("1/1/1800").
I would like the textbox to display nothing if the database field has a null value in it, however I have so far been unable to figure out how to clear the textbox if the date is 1/1/1800.
Is there a way to clear the textbox without using javascript? Is there a different value I could be using in the business object mapper for the NULL replacement value?
Reply
Like
2
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
want to clear databound textbox after populating
Greg
-
14 Years Ago
Is this a Winform or a ASP.NET app? If you are using Winforms, there...
Greg McGuffey
-
14 Years Ago
this is an ASP.NET app
Greg
-
14 Years Ago
Thanks for the reply, Greg, and thanks for tagging it. I see this post...
Greg
-
14 Years Ago
Greg, You won't be storing 1/1/1800 in the database (or you don't...
Greg McGuffey
-
14 Years Ago
Thanks for your help, Greg. Can't seem to get the 1/1/1800 to stay out...
Greg
-
14 Years Ago
Hi Greg, I use "newDateTime(1800,1,1)" as alternate value in the bo,...
Teddy Jensen
-
14 Years Ago
Teddy right on the money. The web adds some complexity so sometimes...
Greg McGuffey
-
14 Years Ago
Oh boy... I feel like an idiot. The problem was that the save()...
Greg
-
14 Years Ago
LOL, glad you got it figured out!
Greg McGuffey
-
14 Years Ago
Post Reply
Like
2
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search