Click here to Skip to main content
15,889,281 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Array of Double - Shallow vs. Deep Cloning? Pin
M-Badger9-Oct-12 23:04
M-Badger9-Oct-12 23:04 
GeneralRe: Array of Double - Shallow vs. Deep Cloning? Pin
Eddy Vluggen10-Oct-12 1:22
professionalEddy Vluggen10-Oct-12 1:22 
GeneralOT Pin
M-Badger10-Oct-12 2:23
M-Badger10-Oct-12 2:23 
GeneralRe: OT Pin
Eddy Vluggen10-Oct-12 9:00
professionalEddy Vluggen10-Oct-12 9:00 
GeneralRe: Array of Double - Shallow vs. Deep Cloning? Pin
dojohansen10-Oct-12 5:36
dojohansen10-Oct-12 5:36 
GeneralRe: Array of Double - Shallow vs. Deep Cloning? Pin
Eddy Vluggen10-Oct-12 9:09
professionalEddy Vluggen10-Oct-12 9:09 
QuestionSMS forwarding through GSM modem Pin
Member 94607155-Oct-12 2:57
Member 94607155-Oct-12 2:57 
QuestionHow to force rendering to generate an ID? Pin
AtALossHere5-Oct-12 1:13
AtALossHere5-Oct-12 1:13 
Hi,

I'm using Visual Studio and ASP to generate a web page. On it is a Gridview with several columns. I want to have access from JavaScript to change data client-side in one of those (non-key) columns. So I used:

XML
<asp:TemplateField HeaderText="Percentages">
    <ItemTemplate>
        <asp:Label ID="PERCSIT" runat="server"></asp:Label>
    </ItemTemplate>
    <EditItemTemplate>
        <asp:TextBox ID="PERCS" runat="server" Text='Even geduld a.u.b.'></asp:TextBox>
    </EditItemTemplate>
    <ControlStyle BackColor="#00CC00" Width="35px" />
</asp:TemplateField>


However, when this is rendered, no ID is generated since it is neither a data-bound nor a key column, just a <td> tag.

So my question is: is there a way to force the rendering to generate an ID anyway, so it can be manipulated from JS?

Thanks in advance,
Jur.

modified 5-Oct-12 10:34am.

AnswerRe: How to force rendering to generate an ID? Pin
Sandeep Mewara5-Oct-12 2:24
mveSandeep Mewara5-Oct-12 2:24 
GeneralRe: How to force rendering to generate an ID? Pin
AtALossHere5-Oct-12 3:26
AtALossHere5-Oct-12 3:26 
GeneralRe: How to force rendering to generate an ID? Pin
Sandeep Mewara5-Oct-12 3:30
mveSandeep Mewara5-Oct-12 3:30 
GeneralRe: How to force rendering to generate an ID? Pin
AtALossHere5-Oct-12 4:51
AtALossHere5-Oct-12 4:51 
AnswerRe: How to force rendering to generate an ID? Pin
AtALossHere5-Oct-12 4:58
AtALossHere5-Oct-12 4:58 
QuestionCustom Class Exception Management / Setup Pin
M-Badger4-Oct-12 1:40
M-Badger4-Oct-12 1:40 
AnswerRe: Custom Class Exception Management / Setup Pin
Pete O'Hanlon4-Oct-12 1:50
mvePete O'Hanlon4-Oct-12 1:50 
GeneralRe: Custom Class Exception Management / Setup Pin
M-Badger4-Oct-12 2:27
M-Badger4-Oct-12 2:27 
GeneralRe: Custom Class Exception Management / Setup Pin
Pete O'Hanlon4-Oct-12 2:32
mvePete O'Hanlon4-Oct-12 2:32 
QuestionI need an idea for program Pin
Cihangir Giray Han3-Oct-12 22:02
Cihangir Giray Han3-Oct-12 22:02 
AnswerRe: I need an idea for program Pin
Pete O'Hanlon3-Oct-12 22:08
mvePete O'Hanlon3-Oct-12 22:08 
GeneralRe: I need an idea for program Pin
Cihangir Giray Han3-Oct-12 22:33
Cihangir Giray Han3-Oct-12 22:33 
GeneralRe: I need an idea for program Pin
Pete O'Hanlon3-Oct-12 22:39
mvePete O'Hanlon3-Oct-12 22:39 
GeneralRe: I need an idea for program Pin
Cihangir Giray Han4-Oct-12 1:47
Cihangir Giray Han4-Oct-12 1:47 
GeneralRe: I need an idea for program Pin
Pete O'Hanlon4-Oct-12 1:51
mvePete O'Hanlon4-Oct-12 1:51 
QuestionEntity Framework, Import Function Stored Procs & Data Services Pin
Worried Brown Eyes1-Oct-12 23:57
Worried Brown Eyes1-Oct-12 23:57 
QuestionHow to use FileSystemWatcher Control ? Pin
DEEPAK9489@GMAIL.COM1-Oct-12 16:47
DEEPAK9489@GMAIL.COM1-Oct-12 16:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.