CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.classifieds_starter_kit Tags:
Item Type: NewsGroup Date Entered: 9/27/2006 5:36:32 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 11 Views: 25 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
12 Items, 1 Pages 1 |< << Go >> >|
tdare
Asp.Net User
Pricing Field9/27/2006 5:36:32 AM

0/0

Hi, how can i make the pricing field in my classifieds site an option ?? not a mandatory field ....

 

many thanks

satish_nagdev
Asp.Net User
Re: Pricing Field9/27/2006 9:16:00 AM

0/0

dont add a requiredfieldvalidator control if in case you've added one .

 


Kind Attn: If a reply to your post helped you, kindly mark it as Answered.
__________________________________________________
Please save Animals Help World Society For Protection Of Animals
lee.wilson
Asp.Net User
Re: Pricing Field9/27/2006 9:16:41 AM

0/0

Strange question, because you have to make some effort to ensure that it is a mandatory field.

Don't validate the field.

Lee


Coolest Bananas
tdare
Asp.Net User
Re: Pricing Field9/27/2006 9:45:56 AM

0/0

Hi and thanks for the reply... i am in learning mode, could you please assist ?? this is the pricing field code, what do i need to do .. rgds

 

<legend>Price:</legend>$
                            <asp:TextBox Text='<%# Bind("Price", "{0:f2}") %>' Runat="server" ID="PriceTextBox"
                                CssClass="post_dollars"></asp:TextBox>
                             <asp:CustomValidator ID="PriceValidator" Runat="server" ControlToValidate="PriceTextBox"
                                    ErrorMessage="The Price is not valid." OnServerValidate="PriceValidator_ServerValidate">
                                    *</asp:CustomValidator>

tdare
Asp.Net User
Re: Pricing Field9/27/2006 10:11:12 AM

0/0

One other thing i want to make this an open field ( ie. use other than dollars in it eg. N/A ) for my jobs and personals etc that dont have a sale price ..... rgds

paggy4u
Asp.Net User
Re: Pricing Field9/27/2006 2:40:48 PM

0/0

I think the Price field in Table Ads ( database ) is not nulled.

You will have to make it accept null. Or else it will throw an error. Changing only in aspx files will not be useful.
Changes in table s is also required.

Thanks

Paggy4u

Paggy4u
-----------------------------------------
An Unblinking eye on IronRuby,Asp.Net and .Net
http://ironruby.blogspot.com/
paggy4u
Asp.Net User
Re: Pricing Field9/29/2006 4:11:02 AM

0/0

Does any one knows, how to remove last four digits and make it two digits in price field.

Currently the price filed is like this:- 88.0000

there are four digits shown after a dot.

I need like this:- 88.00

 

I think the decimal value is showing. How many places i need to make changes and where....?

 

Thanks

 


Paggy4u
-----------------------------------------
An Unblinking eye on IronRuby,Asp.Net and .Net
http://ironruby.blogspot.com/
mattbug
Asp.Net User
Re: Pricing Field10/6/2006 1:39:55 PM

0/0

Data stored in SQL fields of type "money" have decimal places to four digits. 

You could try formatting the data before displaying it.  A class already exists for this purpose -- App_Code/Web/OutputFormatting.vb -- you'll just need to create a new function.

See my post in http://forums.asp.net/2/1400787/ShowThread.aspx for similarly formatting ad descriptions to include line breaks.

Caddre
Asp.Net User
Re: Pricing Field10/6/2006 1:58:49 PM

0/0

tdare:

Hi, how can i make the pricing field in my classifieds site an option ?? not a mandatory field ....

 

many thanks

Open your database in management studio right click on on your table in the object browser click on ALTER and in the code generated change .NOT NULL to ALLOW NULL and then execute it you would have changed it to be optional.  Hope this helps.


Kind regards,
Gift Peddie
satish_nagdev
Asp.Net User
Re: Pricing Field10/7/2006 7:27:40 AM

0/0

hi

can you try this

double d=88.0000

response.write(d.ToString("00.00");

 

regards,

satish


Kind Attn: If a reply to your post helped you, kindly mark it as Answered.
__________________________________________________
Please save Animals Help World Society For Protection Of Animals
paggy4u
Asp.Net User
Re: Pricing Field11/15/2006 8:14:43 AM

0/0

satish_nagdev:

hi

can you try this

double d=88.0000

response.write(d.ToString("00.00");

 

regards,

satish

 

---------------------------------------------------------WHERE IS THIC CODE LOCATED------------------------------

Hello Satish, can you pl. tell me where is this code located.

I need to change it. I need to show only two numbers rather than four numbers

Thanks


Paggy4u
-----------------------------------------
An Unblinking eye on IronRuby,Asp.Net and .Net
http://ironruby.blogspot.com/
satish_nagdev
Asp.Net User
Re: Pricing Field11/15/2006 9:04:32 AM

0/0

hi,

could you try following

  <asp:TextBox Text='<%# Bind("Price", "{0:N2}") %>' Runat="server" ID="PriceTextBox"
                                CssClass="post_dollars"></asp:TextBox>

see the italicized part.

regards,

satish


Kind Attn: If a reply to your post helped you, kindly mark it as Answered.
__________________________________________________
Please save Animals Help World Society For Protection Of Animals
12 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
The Marketing Book Authors: Michael John Baker, Pages: 834, Published: 2002
Special Edition Using Microsoft CRM Authors: Laura Brown, John Gravely, Pages: 552, Published: 2003
Pricing of Bond Options: Unspanned Stochastic Volatility and Random Field Models Authors: Detlef Repplinger, Pages: 137, Published: 2008
Graphic Artists Guild Handbook: Pricing & Ethical Guidelines Authors: Graphic Artists Guild, Graphic Artists Guild, Pages: 334, Published: 2007

Web:
Leveling the pricing field - gender-based pricing increasingly ... Leveling the pricing field - gender-based pricing increasingly banned from Nations Business in Business provided free by Find Articles.
Automated Critical Peak Pricing Field Tests: 2006 Program ... The Automated Critical Peak Pricing Field Tests: 2006 Pilot Program Description and Results is. an interim report for the Demand Response Research Center ...
Automated Critical Peak Pricing Field Tests: 2006 Pilot Program ... Peak Pricing Field Tests: Program Description and Results. Lawrence Berkeley. National Laboratory. LBNL- 59351. Berkeley CA, April. Available at ...
2915.805-5 - Field pricing support. (a) As prescribed in FAR 15.805-5(c), the contracting officer shall initiate a cost or pricing review by sending a written request to the Director, ...
Adventure Aquarium :: New Jersey, School Group Pricing, Field ... School Group Pricing: Students $10.00 One (1) Complimentary Chaperone per 10 ... Click here to download your Adventure Aquarium Field Trip Planner (PDF). ...
Appendices - Automated Critical Peak Pricing Field Tests: 2006 ... AUTOMATED CRITICAL PEAK PRICING. FIELD TESTS:. 2006 PROGRAM DESCRIPTION AND. RESULTS. APPENDICES. Prepared For:. California Energy Commission. Prepared By: ...
Automated Critical Peak Pricing Field Tests: 2006 Pilot Program ... Mary Ann Piette, David Watson, Naoya Motegi, and Sila Kiliccote, "Automated Critical Peak Pricing Field Tests: 2006 Pilot Program Description and Results" ...
Automated Critical Peak Pricing Field Tests: Program Description ... Automated Critical Peak Pricing Field Tests:. Program Description and Results. April 6, 2006. Mary Ann Piette. David Watson. Naoya Motegi. Sila Kiliccote ...
SAP SD - Add a Field To New Condition Table in Pricing For example you want to use field PSTYV ('Sales document item category') that is included in structure KOMP ('Pricing Communication Item') as a key for a ...
Automated Critical Peak Pricing Field Tests: Program Description ... Mary Ann Piette, David Watson, Naoya Motegi, Sila Kiliccote, and Peng Xu, " Automated Critical Peak Pricing Field Tests: Program Description and Results" ...

Videos:
Destination Style™ New York by Pat Field Metallic Leggings with Vogue Magazine Subscription For More Info or to Buy Now: http://www.hsn.com/redirect.aspx?id=il&url=http%3A//www.hsn.com/cnt/prod/default.aspx%3Fpfid%3D366115&afsrc=1&sourceid=y...
~WORK AT HOME BASED INSPECTION BUSINESS ~HOW TO BECOME FIELD SERVICE REP TRAINING EBOOK GUIDE~ THIS EBOOK PROVIDES INFORMATION ON ONE OF THE BEST-KEPT-SECRET LEGITIMATE AND PROFESSIONAL HOME BASED OPPORTUNITIES! Learn How To Earn A Good Income ...
Drew Carey tortures announcer Rich Fields A clip from Drew Carey's recent appearance on The Late Late Show w/ Craig Ferguson. Drew brings along a clip of a showcase on The Price is Right, whe...
Adsense Decoded: 'Smart Pricing' Exposed - Vital Recommendations for Your AdSens * Understand 'Smart pricing'? - Why you can't find it on Google's site * How Smart Pricing really effects you...
Professional Turf Solutions: The Experts in the Field We are Pro Turf Soluitions, builders of over 130 athletic fields nationwide for over 9 years. We offer very competitive pricing, only the highest qua...
IOS Field of Poppies Jacket - Item: 245-350 Prices subject to change. Please visit www.hsn.com or call 1-800-284-3100 for the current selling price. Field of Poppies Jacketby IOS — Individua...
Field Sledge Skate Boarding! jackass monkhall style
IOS Field of Poppies Jacket - Item: 245-350 Prices subject to change. Please visit www.hsn.com or call 1-800-284-3100 for the current selling price. Field of Poppies Jacketby IOS — Individua...
Matt field stripping an AK47 This is me field stripping (and more) an ak47, it is a real rifle, not a toy.
Ridiculous food and drink prices at Invesco Field That's right, this will be my fourth (and hopefully my last rant) about the prices of food and drink in some special places where we're not allowed t...




Search This Site:










find component at run-time

loading more than one user control

alternate method to attachevent

activator.createinstance doesn't display items on a user control

sql server host needed

itemplate's instantiatein not firing

clicking in custom controls

ie webcontrols tabstrip

link button on user control is doing strange

usercontrol mybase.load event

composite control regexvalidator on textbox problems

looking for asp.net hosting with streaming video

calendar control modification

user control and controls in another web page

display items in dynamic bullett list as hyperlinks?

composite controls

plesk & spla

page_load and user controls

template editing in designer with templategroups

creating .net custom server controls and .net pages programatically

common header and footer

host has locked down bin folder??

loading control....

need good asp .net web hosting provider!

js error in tree view web control.

user control, bubble event to page

how to place different user controls in specific place within html

need help to run online

dropdownlist event not fireing whats wrong

plz help me in raising event for my user control

  Privacy | Contact Us
All Times Are GMT