Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi Guys,

I have a gridtemplet in a grid with dropdownlists
C#
<Columns>
<cc1:Column id="c4" DataField="ENV" HeaderText="ENV"  runat="server">
<TemplateSettings TemplateId="EnvTemplate" EditTemplateId="GridTemplate2"/></cc1:Column>
</Columns><Templates>
<cc1:GridTemplate  runat="server" ID="EnvTemplate">
<Template><%# Container.DataItem["ENV"]%>
</Template>
</cc1:GridTemplate>
<cc1:GridTemplateID="GrisTemplate2" ControlID="ddlEnv" ControlPropertyName="value"  runat="server">
<Template>
<cc1:OboutDropDownList  runat="server" ID="ddlEnv" Datasourcr="ss1"
EnableLoadondemand="true" enablevirtualscrolling="true" AppendDataBoundItema="true"
DataValueField="ENV" DataTextField="SEnv">
<cc1:OboutDropDownList>
</Template>


Issue:-- I am retrieving the data to the dropdownlist from another procedure to update the datagrid columns. So when i click on EDIT the DDL dataitem is not binding ,Insted it is showing the first value in the stored Proc result.

DDL stored proc has three columns SID,ENV,SEnv
Please help me to solve this problem ..Am working on this from last twodays ..:(
Posted
Updated 15-Jun-12 9:40am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900