Click here to Skip to main content
15,888,401 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to retrieve data from a remote desktop database via REST API Pin
IsoftTech11-Feb-15 4:07
IsoftTech11-Feb-15 4:07 
AnswerRe: How to retrieve data from a remote desktop database via REST API Pin
Afzaal Ahmad Zeeshan11-Feb-15 4:49
professionalAfzaal Ahmad Zeeshan11-Feb-15 4:49 
GeneralRe: How to retrieve data from a remote desktop database via REST API Pin
IsoftTech11-Feb-15 23:28
IsoftTech11-Feb-15 23:28 
AnswerRe: How to retrieve data from a remote desktop database via REST API Pin
Afzaal Ahmad Zeeshan12-Feb-15 3:08
professionalAfzaal Ahmad Zeeshan12-Feb-15 3:08 
Questionerror while updating the ms access data base after hosting the site on domain Pin
Member 1100557011-Feb-15 3:35
Member 1100557011-Feb-15 3:35 
AnswerRe: error while updating the ms access data base after hosting the site on domain Pin
Richard Deeming11-Feb-15 4:18
mveRichard Deeming11-Feb-15 4:18 
QuestionJavascript inside updatepanel cannot access server side variable after potback Pin
Moodhi10-Feb-15 11:40
Moodhi10-Feb-15 11:40 
AnswerRe: Javascript inside updatepanel cannot access server side variable after potback Pin
jkirkerx10-Feb-15 13:21
professionaljkirkerx10-Feb-15 13:21 
That was way too much code to post and for someone like me to go through.
Plus you didn't wrap your code in <pre></pre> tags to say this is code.
function RecreateDynamicTextboxes() {
var txtValues = eval('<%=TxtValues%>'); // Is this what your looking for? What is it?
alert('Debug 02: ' + txtValues);
 
if (txtValues != null) {
var html = "";
for (var i = 0; i < txtValues.length; i++) {
html += "
" + GetDynamicTextBox(txtValues[i]) + "
";
}
document.getElementById("targetDiv").innerHTML = html;
}
}


I didn't see a TxtValue in the HTML. All I see is a TxtAddress as something that can postback to the server.

FYI:
When you post back to the server, only the original HTML form elements that the server sent can postback to the server. Dynamic elements created in Javascript cannot post back to the server, because the server dodn't know that they exists.

On a partial postback, or update panel, just the content in the container postback to the server. anything outside the container does nothing.

If you want to use an input element like TxtValue, create it like the TxtAddress and just hide it so it post back.
GeneralRe: Javascript inside updatepanel cannot access server side variable after potback Pin
Moodhi12-Feb-15 11:32
Moodhi12-Feb-15 11:32 
GeneralRe: Javascript inside updatepanel cannot access server side variable after potback Pin
jkirkerx12-Feb-15 12:45
professionaljkirkerx12-Feb-15 12:45 
QuestionPrevent Validation From Normal HTML Controls Pin
Dominick Marciano10-Feb-15 8:32
professionalDominick Marciano10-Feb-15 8:32 
AnswerRe: Prevent Validation From Normal HTML Controls Pin
Richard Deeming10-Feb-15 10:17
mveRichard Deeming10-Feb-15 10:17 
AnswerRe: Prevent Validation From Normal HTML Controls Pin
jkirkerx10-Feb-15 13:27
professionaljkirkerx10-Feb-15 13:27 
QuestionAccess a function in user control from a aspx page Pin
ranjithkumark8-Feb-15 12:45
ranjithkumark8-Feb-15 12:45 
AnswerRe: Access a function in user control from a aspx page Pin
Richard Deeming9-Feb-15 2:54
mveRichard Deeming9-Feb-15 2:54 
AnswerRe: Access a function in user control from a aspx page Pin
loben325-Feb-15 2:30
loben325-Feb-15 2:30 
QuestionVideo Calling Pin
Member 110844697-Feb-15 10:03
Member 110844697-Feb-15 10:03 
AnswerRe: Video Calling Pin
Richard MacCutchan7-Feb-15 22:14
mveRichard MacCutchan7-Feb-15 22:14 
AnswerRe: Video Calling Pin
ZurdoDev9-Feb-15 4:58
professionalZurdoDev9-Feb-15 4:58 
QuestionUsing a linq in aspx Pin
Member 110844697-Feb-15 9:59
Member 110844697-Feb-15 9:59 
AnswerRe: Using a linq in aspx Pin
Richard Andrew x647-Feb-15 10:55
professionalRichard Andrew x647-Feb-15 10:55 
AnswerRe: Using a linq in aspx Pin
Richard MacCutchan7-Feb-15 22:13
mveRichard MacCutchan7-Feb-15 22:13 
AnswerRe: Using a linq in aspx Pin
ZurdoDev9-Feb-15 5:00
professionalZurdoDev9-Feb-15 5:00 
QuestionHow to export data from textbox and RichTextbox from Asp.net to Msword Templete Form? Pin
Member 85878306-Feb-15 20:37
Member 85878306-Feb-15 20:37 
QuestionRe: How to export data from textbox and RichTextbox from Asp.net to Msword Templete Form? Pin
ZurdoDev9-Feb-15 5:00
professionalZurdoDev9-Feb-15 5:00 

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.