Click here to Skip to main content
15,885,175 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: A little Urgent - A aspx html rendering problem in Browser: Chrome Pin
Not Active21-Jan-11 7:56
mentorNot Active21-Jan-11 7:56 
GeneralRe: A little Urgent - A aspx html rendering problem in Browser: Chrome Pin
Pete O'Hanlon21-Jan-11 9:18
mvePete O'Hanlon21-Jan-11 9:18 
GeneralRe: A little Urgent - A aspx html rendering problem in Browser: Chrome Pin
Morgs Morgan21-Jan-11 10:53
Morgs Morgan21-Jan-11 10:53 
AnswerRe: A little Urgent - A aspx html rendering problem in Browser: Chrome Pin
T1000_21-Jan-11 2:17
T1000_21-Jan-11 2:17 
QuestionSearch Pin
fififlowertot19-Jan-11 23:47
fififlowertot19-Jan-11 23:47 
AnswerRe: Search Pin
Morgs Morgan20-Jan-11 2:02
Morgs Morgan20-Jan-11 2:02 
GeneralRe: Search Pin
fififlowertot20-Jan-11 2:17
fififlowertot20-Jan-11 2:17 
GeneralRe: Search Pin
Morgs Morgan20-Jan-11 23:24
Morgs Morgan20-Jan-11 23:24 
try something like:
if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
    xmlhttpxp = new XMLHttpRequest();
}
else {// code for IE6, IE5
xmlhttpxp = new ActiveXObject("Microsoft.XMLHTTP");
}

xmlhttpxp.onreadystatechange = function() {
if (xmlhttpxp.readyState == 4 && xmlhttpxp.status == 200) {
    var xmlDoc;
   if (window.DOMParser) {//ff and the like
        parser = new DOMParser();
        xmlDoc = parser.parseFromString(txt, "text/xml");
    }
    else // Internet Explorer
    {
        xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
        xmlDoc.async = "false";
        xmlDoc.loadXML(txt);
    }
    
    node = xmlDoc.getElementsByTagName('myTagName');
    for(i=0;i<node.length;i++)
    {
       alert('Attribute found: ' + node[i].getAttribute('attributeName'));
       //do the rest here e.g. setting values for your controls
       //set textbox or input(text) value like:
       document.getElementById('mytextboxId').value = node[i].getAttribute('textboxValueAttribute');
       //same applies to other controls
    }                  
  }
}

xmlhttpg.open("GET", "http://myserverUrl/mySiteName/PageName.aspx?my=Parameter&List=For&Server=ToUse, true);
xmlhttpg.send();


how u want to implement the rest becomes ya' wish....
for the above, you can have an xml structure that looks like:


<myTagName attributeName="xXx" textboxValueAttribute="name" />

the other secret is to make ya xml structure the simplest so that u won't sweat to read from it!

more about this here[^]
Questionxml appendchilde Pin
Morgs Morgan19-Jan-11 23:07
Morgs Morgan19-Jan-11 23:07 
AnswerRe: xml appendchilde Pin
Manas Bhardwaj21-Jan-11 2:55
professionalManas Bhardwaj21-Jan-11 2:55 
QuestionASP.net and SAP integration Pin
Any_India19-Jan-11 19:03
Any_India19-Jan-11 19:03 
AnswerRe: ASP.net and SAP integration Pin
TweakBird19-Jan-11 19:38
TweakBird19-Jan-11 19:38 
AnswerRe: ASP.net and SAP integration Pin
Kasson20-Jan-11 0:29
Kasson20-Jan-11 0:29 
AnswerRe: ASP.net and SAP integration Pin
RaviRanjanKr20-Jan-11 0:53
professionalRaviRanjanKr20-Jan-11 0:53 
AnswerRe: ASP.net and SAP integration Pin
Tej Aj21-Jan-11 0:13
Tej Aj21-Jan-11 0:13 
Questioni got error on gridview in allowPaging = true - asp.net Pin
Gali197819-Jan-11 7:16
Gali197819-Jan-11 7:16 
AnswerRe: i got error on gridview in allowPaging = true - asp.net Pin
R. Giskard Reventlov19-Jan-11 7:31
R. Giskard Reventlov19-Jan-11 7:31 
AnswerRe: i got error on gridview in allowPaging = true - asp.net Pin
TweakBird19-Jan-11 7:52
TweakBird19-Jan-11 7:52 
GeneralRe: i got error on gridview in allowPaging = true - asp.net Pin
Gali197819-Jan-11 8:07
Gali197819-Jan-11 8:07 
GeneralRe: i got error on gridview in allowPaging = true - asp.net Pin
TweakBird19-Jan-11 8:20
TweakBird19-Jan-11 8:20 
GeneralRe: i got error on gridview in allowPaging = true - asp.net Pin
Dhyanga19-Jan-11 10:03
Dhyanga19-Jan-11 10:03 
GeneralRe: i got error on gridview in allowPaging = true - asp.net Pin
goldsoft19-Jan-11 19:14
goldsoft19-Jan-11 19:14 
GeneralRe: i got error on gridview in allowPaging = true - asp.net Pin
TweakBird19-Jan-11 19:33
TweakBird19-Jan-11 19:33 
QuestionAny ASP.NET MVC open-source role management GUIs? Pin
Dimitri Witkowski18-Jan-11 21:34
Dimitri Witkowski18-Jan-11 21:34 
AnswerRe: Any ASP.NET MVC open-source role management GUIs? Pin
Sandeep Mewara22-Jan-11 8:36
mveSandeep Mewara22-Jan-11 8:36 

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.