Hello all,
I created a module from a working asp.net page.
Inside the module when the insert button is pressed, the value of one of the fields (a DDL with its own SQLDataSource) always is null.
The DropDownList works fine, but when it tried to write to the DB, it passes a null value. All the other text fields pass correctly.
Has anyone seen this before? Any ideas? (Remember, the code works fine when it is NOT inside the module). Below is the insertParameters
<InsertParameters>
<asp:QueryStringParameter Name="Retailer_Number" QueryStringField="R" />
<asp:formParameter Name="Client_Item_Number" formField="FV1$CID" Type="String" />
<asp:formParameter Name="Retailer_Product_ID" formField="FV1$Retailer_Product_IDTextBox" Type="String" />
<asp:formParameter Name="Retailer_Cost" formField="FV1$Retailer_CostTextBox" Type="Decimal" />
<asp:formParameter Name="Distributor_Cost" formField="FV1$Distributor_CostTextBox" Type="Decimal" />
<asp:formParameter Name="Acct_MDF" formField="FV1$Acct_MDFTextBox" Type="Decimal" />
<asp:formParameter Name="Acct_VIR" formField="FV1$Acct_VIRTextBox" Type="Decimal" />
<asp:formParameter Name="Acct_VAS" formField="FV1$Acct_VASTextBox" Type="Decimal" />
<asp:formParameter Name="Distributor_Item_Number" formField="FV1$Distributor_Item_NumberTextBox" Type="String" />
</InsertParameters>