I have a a gridview with a number of columns, each column has a textbox with a calendar extender attached. The problem comes when i click on the popup button, it opens a calendar for each row in the column at the same time. So if there are four rows, it will open 4 calendars.
How do i make it only open the one for the specific row i am working with?
I am very new to Ajax so i am rather confused.
Expand|Select|Wrap|Line Numbers
- <asp:TemplateField HeaderText="Start Date">
- <ItemTemplate>
- <asp:TextBox ID="txtStartDate" runat="server" Text='<%#Container.DataItem("ConstructionStart") %>' />
- <asp:CalendarExtender ID="txtStartDate_CalendarExtender" runat="server"
- Enabled="True" TargetControlID="txtStartDate" Format="d MMMM yyyy" PopupButtonID="CalImage">
- </asp:CalendarExtender>
- <img id="CalImage" src="http://bytes.com/calImage.png" alt="Click here" />
- </ItemTemplate>
- </asp:TemplateField>