model.currentPartPricing = dgPrice.getItemAt(dgPrice.selectedIndex) as PartPricing;

 


From: [email protected] [mailto:[email protected]] On Behalf Of boy_trike
Sent: Sunday, September 24, 2006 4:54 PM
To: [email protected]
Subject: [flexcoders] Why does the commented line NOT work??

 

model.currentPartPricing.partno = dgPrice.selectedItem.partno;
model.currentPartPricing.price = dgPrice.selectedItem.price;
model.currentPartPricing.quantity = dgPrice.selectedItem.quantity;
model.currentPartPricing.perRoll = dgPrice.selectedItem.perRoll;

// model.currentPartPricing = dgPrice.selectedItem as PartPricing;

Instead of the 1st 4 lines, I wanted to just assign the object. However, when I do that, the
model.currentPartPricing becomes NULL

What am I doing wrong?

Thanks

Bruce

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to