Click here to Skip to main content
14,767,302 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
<cc1:Column id="c4" DataField="ENV" HeaderText="ENV"  runat="server">
<TemplateSettings TemplateId="EnvTemplate" EditTemplateId="GridTemplate2"/></cc1:Column>
<cc1:GridTemplate  runat="server" ID="EnvTemplate">
<Template><%# Container.DataItem["ENV"]%>
<cc1:GridTemplateID="GrisTemplate2" ControlID="ddlEnv" ControlPropertyName="value"  runat="server">
<cc1:OboutDropDownList  runat="server" ID="ddlEnv" Datasourcr="ss1"
EnableLoadondemand="true" enablevirtualscrolling="true" AppendDataBoundItema="true"
DataValueField="ENV" DataTextField="SEnv">

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 ..:(
Updated 15-Jun-12 10:40am

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