Click here to Skip to main content
15,891,657 members
Home / Discussions / XML / XSL
   

XML / XSL

 
AnswerRe: Viewing Xml in HTML page using IE6 in Tree view. Pin
led mike5-Feb-09 4:42
led mike5-Feb-09 4:42 
GeneralRe: Viewing Xml in HTML page using IE6 in Tree view. Pin
Member 43923735-Feb-09 16:31
Member 43923735-Feb-09 16:31 
QuestionRe: Viewing Xml in HTML page using IE6 in Tree view. Pin
George L. Jackson6-Feb-09 10:33
George L. Jackson6-Feb-09 10:33 
QuestionRecommed XML Editor Pin
Don Burton4-Feb-09 12:35
Don Burton4-Feb-09 12:35 
AnswerRe: Recommed XML Editor Pin
led mike5-Feb-09 4:37
led mike5-Feb-09 4:37 
Questionjavascript and xml Pin
reta.me4-Feb-09 7:44
reta.me4-Feb-09 7:44 
AnswerRe: javascript and xml Pin
Curtis Schlak.26-Feb-09 16:00
Curtis Schlak.26-Feb-09 16:00 
QuestionDom JavaScript..Namespace Pin
Amr M. K.4-Feb-09 2:31
Amr M. K.4-Feb-09 2:31 
Dear,
I am using control ntb combo
http://www.nitobi.com/products/completeui/demos/explorer/[^]

the control to use
-Namespace <html xmlns:ntb>
-javaScript files

control render Browser
<ntb:Combo TABINDEX=0 id="H_MasterAppId_22_0_" InitialSearch="zzz__is__50" Mode="classic" OnSelectEvent="ValidationAjax('H_MasterAppId_22_0_','1000001','change')" >
<ntb:ComboTextBox width=245px OnEditKeyUpEvent="ifEmptyRepopulate(this)" DataFieldIndex=1></ntb:ComboTextBox>
<ntb:ComboList OnHideEvent="TextboxSetSelection('H_MasterAppId_22_0_');" OnAfterSearchEvent="TextboxSetInitialValue('H_MasterAppId_22_0_');" height=200 width=748px
DatasourceUrl="b6fm/getData.asp?tr=203&viewid=0&req=0" PageSize="50" >
<ntb:ComboColumnDefinition width=120px HeaderLabel="Caption" DataFieldIndex=1>
</ntb:ComboColumnDefinition>
<ntb:ComboColumnDefinition width=120px HeaderLabel="Id" DataFieldIndex=0>
</ntb:ComboColumnDefinition></ntb:ComboList></ntb:Combo></span><span id="R" name="RR" Style="color:Red; display :none " > Required Feild</span></td></tr><tr><td class="MDcaption" >Details Application</td><td class="MControl" ><ntb:Combo TABINDEX=0 id="H_DetailsAppId_22_0_" InitialSearch="zzz__is__90300" Mode="classic" >
<ntb:ComboTextBox width=245px OnEditKeyUpEvent="ifEmptyRepopulate(this)" DataFieldIndex=1></ntb:ComboTextBox>
<ntb:ComboList OnHideEvent="TextboxSetSelection('H_DetailsAppId_22_0_');" OnAfterSearchEvent="TextboxSetInitialValue('H_DetailsAppId_22_0_');" height=200 width=748px
DatasourceUrl="b6fm/getData.asp?tr=203&viewid=0&req=0" PageSize="50" >
<ntb:ComboColumnDefinition width=120px HeaderLabel="Caption" DataFieldIndex=1>
</ntb:ComboColumnDefinition>
<ntb:ComboColumnDefinition width=120px HeaderLabel="Id" DataFieldIndex=0>
</ntb:ComboColumnDefinition></ntb:ComboList></ntb:Combo>


I want to create control Dynamicly using innerHTML Property of JavaScript var sq=String.fromCharCode(39);
var comboName;
comboName='vComboTest';
var txt;
txt = '<ntb:Combo xmlns:ntb TABINDEX=4 id="' + comboName + '" Mode="classic" theme="outlook" >';
txt = txt + '<ntb:ComboTextBox width=245px OnEditKeyUpEvent="ifEmptyRepopulate(this)" DataFieldIndex=1></ntb:ComboTextBox>'
txt = txt + '<ntb:ComboList OnHideEvent="TextboxSetSelection(' + sq + comboName + sq + ');" height=200 width=766px DatasourceUrl="b6fm/getData.asp?tr=51&viewid=0&req=0" PageSize="50">';
txt = txt + '<ntb:ComboColumnDefinition width=240px HeaderLabel="Display Name" DataFieldIndex=1>';
txt = txt + '</ntb:ComboColumnDefinition><ntb:ComboColumnDefinition width=180px HeaderLabel="First Name" DataFieldIndex=2>';
txt = txt + '</ntb:ComboColumnDefinition><ntb:ComboColumnDefinition width=180px HeaderLabel="Last Name" DataFieldIndex=3>';
txt= txt+ '</ntb:ComboColumnDefinition><ntb:ComboColumnDefinition width=132px HeaderLabel="User Id" DataFieldIndex=0>';
txt = txt + '</ntb:ComboColumnDefinition></ntb:ComboList></ntb:Combo>';

tdNode.innerHTML=txt ;//tdNode is created dynamcily I dont have problem in it

when I want to inizle control give error,I notice that tag in tdNode is missed up
render somethiing like this
***
<ntb:Combo id="S_lockUpTest_33_0_11_" Mode="classic" theme="outlook" ></ntb:Combo>
<ntb:ComboTextBox width="245px" OnEditKeyUpEvent="ifEmptyRepopulate(this)" DataFieldIndex="1"></ntb:ComboTextBox>
<ntb:ComboList OnHideEvent="TextboxSetSelection('S_lockUpTest_33_0_11_');" height="200" width="766px" DatasourceUrl="b6fm/getData.asp?tr=50&viewid=0&req=0" PageSize="50">
</ntb:ComboList>
<ntb:ComboColumnDefinition width="150px" HeaderLabel="Caption" DataFieldIndex="1" ></ntb:ComboColumnDefinition>
<ntb:ComboColumnDefinition width="150px" HeaderLabel="ID" DataFieldIndex="0" ></ntb:ComboColumnDefinition>


**
<ntb:ComboTextBox width="245px" OnEditKeyUpEvent="ifEmptyRepopulate(this)" DataFieldIndex="1"></ntb:ComboTextBox>
<ntb:ComboList OnHideEvent="TextboxSetSelection('S_lockUpTest_33_0_11_');" height="200" width="766px" DatasourceUrl="b6fm/getData.asp?tr=50&viewid=0&req=0" PageSize="50">
<ntb:ComboColumnDefinition width="150px" HeaderLabel="Caption" DataFieldIndex="1" ></ntb:ComboColumnDefinition>
<ntb:ComboColumnDefinition width="150px" HeaderLabel="ID" DataFieldIndex="0" ></ntb:ComboColumnDefinition>
</ntb:ComboList>
</ntb:Combo>

Not same that I wrote in javaScript but this some exmple
why Structure of text when i wrote in td changed and sometimes missed upConfused | :confused: Confused | :confused:

Regards


note:I will post question in Html form too

Yes. CreatiVity withOuT limiTs

QuestionNeed some tips on designing my XML Pin
benjamin yap3-Feb-09 4:40
benjamin yap3-Feb-09 4:40 
AnswerRe: Need some tips on designing my XML Pin
Jon Rista4-Feb-09 6:41
Jon Rista4-Feb-09 6:41 
AnswerRe: Need some tips on designing my XML Pin
Tony Pottier16-Feb-09 3:43
Tony Pottier16-Feb-09 3:43 
QuestionselectNode returns 0 if XML contains '&' [modified] Pin
Arindam Tewary1-Feb-09 21:31
professionalArindam Tewary1-Feb-09 21:31 
AnswerRe: selectNode returns 0 if XML contains '&' Pin
led mike4-Feb-09 5:14
led mike4-Feb-09 5:14 
QuestionHow to use createdocumentfragment(.NET) function to add a document fragment containing namespace prefix? Pin
cool_mars29-Jan-09 4:09
cool_mars29-Jan-09 4:09 
AnswerRe: How to use createdocumentfragment(.NET) function to add a document fragment containing namespace prefix? [modified] Pin
George L. Jackson30-Jan-09 8:50
George L. Jackson30-Jan-09 8:50 
Questionusing intellisense in XSLT editor in VS2008 Pin
Member 197996529-Jan-09 2:50
Member 197996529-Jan-09 2:50 
QuestionNot getting ANY help from this site on XSLT Pin
crystal915428-Jan-09 3:56
crystal915428-Jan-09 3:56 
AnswerRe: Not getting ANY help from this site on XSLT Pin
led mike28-Jan-09 4:39
led mike28-Jan-09 4:39 
GeneralRe: Not getting ANY help from this site on XSLT Pin
crystal915428-Jan-09 4:57
crystal915428-Jan-09 4:57 
GeneralRe: Not getting ANY help from this site on XSLT Pin
led mike28-Jan-09 5:00
led mike28-Jan-09 5:00 
GeneralRe: Not getting ANY help from this site on XSLT Pin
crystal915428-Jan-09 5:13
crystal915428-Jan-09 5:13 
GeneralRe: Not getting ANY help from this site on XSLT Pin
led mike28-Jan-09 5:22
led mike28-Jan-09 5:22 
GeneralRe: Not getting ANY help from this site on XSLT Pin
crystal915428-Jan-09 5:46
crystal915428-Jan-09 5:46 
GeneralRe: Not getting ANY help from this site on XSLT Pin
crystal915428-Jan-09 5:59
crystal915428-Jan-09 5:59 
GeneralRe: Not getting ANY help from this site on XSLT Pin
led mike28-Jan-09 6:08
led mike28-Jan-09 6:08 

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.