Hi, can u pls help with this:
I have datagridview with one of the columns defined like this:
<ig:TemplateDataField Width="90px" CssClass="RightCellContent" Key="Correction">
<HeaderTemplate>
(Plus) Correction <img src="../../lodestar/ig_res/Default/images/Edit.png"
onclick='showNotes();' />
</HeaderTemplate>
<ItemTemplate>
<asp:TextBox ID="CorrectionTB" CssClass="RightCellContent" Columns="5" onkeypress="event.returnValue=isBetween_0_99999(event, this);" Text='<%# Eval("Correction") %>'
runat="server" onkeydown="dirty()" ></asp:TextBox>
</ItemTemplate>
</ig:TemplateDataField>
But if I add the following declaration in my grid to allow selection of the row:
<Behaviors>
<ig:Activation />
<ig:Selection RowSelectType="None" CellClickAction="Cell" />
</Behaviors>
Then it does not allow me to enter values in my textbox anymore, I only can do that if I remove the line:
Can u pls suggest a way for me to make this work ? or
Do u have some small sample for me pls that allows me to have templatedatafield with textbox inside it and allows me to select rows at the same time ?
The client wants that way
Thank u for ur time :)
Hi rtutus,
What version and build number are you running? This issues sounds very similar to ones I fixed regarding focus in <input> as part of a template. If you do not have the latest Service Release for your branch, could you please download and see if the issue is resolved?
regards,
David Young
Sorry the line I added in the code above would be:
<ig:Selection RowSelectType="Single" CellClickAction="Row" />
Thank u