Here is the source of the page.. it generates.
I see that the script part that handles this postback is on the bottom of the page..
Think that may cause a issue but not sure why its putting it there..
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
head
><
title
>
</
title
><
link
href
=
"../../../App_Themes/Default/Default.css"
type
=
"text/css"
rel
=
"stylesheet"
/><
style
type
=
"text/css"
>
.BandManager_TreeView1_0 { text-decoration:none; }
.BandManager_TreeView1_1 { color:Black;font-family:Tahoma;font-size:8pt; }
.BandManager_TreeView1_2 { padding:2px 2px 2px 2px; }
.BandManager_TreeView1_3 { font-weight:normal; }
.BandManager_TreeView1_4 { }
.BandManager_TreeView1_5 { }
.BandManager_TreeView1_6 { background-color:#B5B5B5;padding:0px 0px 0px 0px; }
.BandManager_TreeView1_7 { color:#6666AA;text-decoration:underline; }
.BandManager_TreeView1_8 { color:#6666AA;text-decoration:underline; }
</
style
></
head
>
<
body
>
<
form
name
=
"form1"
method
=
"post"
action
=
"/TheScene/TheScene/WebParts/BandManager/BandManagerDefault.aspx"
onsubmit
=
"javascript:return WebForm_OnSubmit();"
id
=
"form1"
>
<
div
>
<
input
type
=
"hidden"
name
=
"__VIEWSTATE"
id
=
"__VIEWSTATE"
value
=
"/wEPDwULLTEyNDk5MjEyMTkPZBYCAgMQZGQWAgIBD2QWAgIGD2QWAgIBD2QWAgIBEDwrAAkCAA8WAh4NTmV2ZXJFeHBhbmRlZGRkCBQrAAcFFzA6MCwwOjEsMDoyLDA6MywwOjQsMDo1FCsAAhYGHgRUZXh0BQlOZXcgQWxidW0eBlRhcmdldAUGX2JsYW5rHghFeHBhbmRlZGcUKwAEBQswOjAsMDoxLDA6MhQrAAIWBh8BBQwtS2FsaW1iYSBCTEEfAgUGX2JsYW5rHwNnZBQrAAIWBh8BBRotTWFpZCB3aXRoIHRoZSBGbGF4ZW4gSGFpch8CBQZfYmxhbmsfA2dkFCsAAhYGHwEFFi1TbGVlcCBBd2F5IHNvbWUgc3R1ZmYfAgUGX2JsYW5rHwNnZBQrAAIWBh8BBQR0ZXN0HwIFBl9ibGFuax8DZxQrAAMFBzA6MCwwOjEUKwACFgYfAQUILUthbGltYmEfAgUGX2JsYW5rHwNnZBQrAAIWBh8BBRotTWFpZCB3aXRoIHRoZSBGbGF4ZW4gSGFpch8CBQZfYmxhbmsfA2dkFCsAAhYGHwEFA2JsYR8CBQZfYmxhbmsfA2cUKwADBQcwOjAsMDoxFCsAAhYGHwEFCC1LYWxpbWJhHwIFBl9ibGFuax8DZ2QUKwACFgYfAQUaLU1haWQgd2l0aCB0aGUgRmxheGVuIEhhaXIfAgUGX2JsYW5rHwNnZBQrAAIWBh8BBQZCTEFCTEEfAgUGX2JsYW5rHwNnFCsAAwUHMDowLDA6MRQrAAIWBh8BBRotTWFpZCB3aXRoIHRoZSBGbGF4ZW4gSGFpch8CBQZfYmxhbmsfA2dkFCsAAhYGHwEFCy1TbGVlcCBBd2F5HwIFBl9ibGFuax8DZ2QUKwACFgYfAQUGZGZhZmFzHwIFBl9ibGFuax8DZ2QUKwACFgYfAQUEVEVTdB8CBQZfYmxhbmsfA2cUKwACBQMwOjAUKwACFgYfAQUILUthbGltYmEfAgUGX2JsYW5rHwNnZAULY3RsMDR8ZWVlZWVkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYBBRVCYW5kTWFuYWdlciRUcmVlVmlldzHYKoU+zHzfWHftcE24ssQxasKZxA=="
/>
</
div
>
<
script
src
=
"/TheScene/JavaScript/AdapterUtils.js"
type
=
"text/javascript"
></
script
>
<
script
src
=
"/TheScene/JavaScript/TreeViewAdapter.js"
type
=
"text/javascript"
></
script
>
<
script
type
=
"text/javascript"
>
//
<![CDATA[
function WebForm_OnSubmit() {
document.getElementById('ctl04').value = GetViewState__AspNetTreeView('BandManager_TreeView1_UL');
return true;
}
//]]>
</
script
>
<
div
>
<
input
type
=
"hidden"
name
=
"__EVENTTARGET"
id
=
"__EVENTTARGET"
value
=
""
/>
<
input
type
=
"hidden"
name
=
"__EVENTARGUMENT"
id
=
"__EVENTARGUMENT"
value
=
""
/>
</
div
>
<
div
>
<
br
/>
<
div
id
=
"BandManager_MusicPanel"
>
<
h2
>
Music Manager
</
h2
>
<
div
id
=
"BandManager_musiclist"
>
<
div
class
=
"AspNet-TreeView"
id
=
"BandManager_TreeView1"
>
<
ul
id
=
"BandManager_TreeView1_UL"
>
<
li
class
=
"AspNet-TreeView-Root"
>
<
span
class
=
"AspNet-TreeView-Collapse"
onclick
=
"ExpandCollapse__AspNetTreeView(this)"
> </
span
>
<
a
href
=
"javascript:__doPostBack('BandManager$TreeView1','sNew Album')"
onclick
=
"window.open(this.href, '_blank', ''); return false;"
onkeypress
=
"window.open(this.href, '_blank', ''); return false;"
>
New Album</
a
>
<
ul
>
<
li
class
=
"AspNet-TreeView-Leaf"
>
<
a
href
=
"javascript:__doPostBack('BandManager$TreeView1','sNew Album\\-Kalimba BLA')"
onclick
=
"window.open(this.href, '_blank', ''); return false;"
onkeypress
=
"window.open(this.href, '_blank', ''); return false;"
>
-Kalimba BLA</
a
>
</
li
>
<
li
class
=
"AspNet-TreeView-Leaf"
>
<
a
href
=
"javascript:__doPostBack('BandManager$TreeView1','sNew Album\\-Maid with the Flaxen Hair')"
onclick
=
"window.open(this.href, '_blank', ''); return false;"
onkeypress
=
"window.open(this.href, '_blank', ''); return false;"
>
-Maid with the Flaxen Hair</
a
>
</
li
>
<
li
class
=
"AspNet-TreeView-Leaf"
>
<
a
href
=
"javascript:__doPostBack('BandManager$TreeView1','sNew Album\\-Sleep Away some stuff')"
onclick
=
"window.open(this.href, '_blank', ''); return false;"
onkeypress
=
"window.open(this.href, '_blank', ''); return false;"
>
-Sleep Away some stuff</
a
>
</
li
>
</
ul
>
</
li
>
<
li
class
=
"AspNet-TreeView-Root"
>
<
span
class
=
"AspNet-TreeView-Collapse"
onclick
=
"ExpandCollapse__AspNetTreeView(this)"
> </
span
>
<
a
href
=
"javascript:__doPostBack('BandManager$TreeView1','stest')"
onclick
=
"window.open(this.href, '_blank', ''); return false;"
onkeypress
=
"window.open(this.href, '_blank', ''); return false;"
>
test</
a
>
<
ul
>
<
li
class
=
"AspNet-TreeView-Leaf"
>
<
a
href
=
"javascript:__doPostBack('BandManager$TreeView1','stest\\-Kalimba')"
onclick
=
"window.open(this.href, '_blank', ''); return false;"
onkeypress
=
"window.open(this.href, '_blank', ''); return false;"
>
-Kalimba</
a
>
</
li
>
<
li
class
=
"AspNet-TreeView-Leaf"
>
<
a
href
=
"javascript:__doPostBack('BandManager$TreeView1','stest\\-Maid with the Flaxen Hair')"
onclick
=
"window.open(this.href, '_blank', ''); return false;"
onkeypress
=
"window.open(this.href, '_blank', ''); return false;"
>
-Maid with the Flaxen Hair</
a
>
</
li
>
</
ul
>
</
li
>
<
li
class
=
"AspNet-TreeView-Root"
>
<
span
class
=
"AspNet-TreeView-Collapse"
onclick
=
"ExpandCollapse__AspNetTreeView(this)"
> </
span
>
<
a
href
=
"javascript:__doPostBack('BandManager$TreeView1','sbla')"
onclick
=
"window.open(this.href, '_blank', ''); return false;"
onkeypress
=
"window.open(this.href, '_blank', ''); return false;"
>
bla</
a
>
<
ul
>
<
li
class
=
"AspNet-TreeView-Leaf"
>
<
a
href
=
"javascript:__doPostBack('BandManager$TreeView1','sbla\\-Kalimba')"
onclick
=
"window.open(this.href, '_blank', ''); return false;"
onkeypress
=
"window.open(this.href, '_blank', ''); return false;"
>
-Kalimba</
a
>
</
li
>
<
li
class
=
"AspNet-TreeView-Leaf"
>
<
a
href
=
"javascript:__doPostBack('BandManager$TreeView1','sbla\\-Maid with the Flaxen Hair')"
onclick
=
"window.open(this.href, '_blank', ''); return false;"
onkeypress
=
"window.open(this.href, '_blank', ''); return false;"
>
-Maid with the Flaxen Hair</
a
>
</
li
>
</
ul
>
</
li
>
<
li
class
=
"AspNet-TreeView-Root"
>
<
span
class
=
"AspNet-TreeView-Collapse"
onclick
=
"ExpandCollapse__AspNetTreeView(this)"
> </
span
>
<
a
href
=
"javascript:__doPostBack('BandManager$TreeView1','sBLABLA')"
onclick
=
"window.open(this.href, '_blank', ''); return false;"
onkeypress
=
"window.open(this.href, '_blank', ''); return false;"
>
BLABLA</
a
>
<
ul
>
<
li
class
=
"AspNet-TreeView-Leaf"
>
<
a
href
=
"javascript:__doPostBack('BandManager$TreeView1','sBLABLA\\-Maid with the Flaxen Hair')"
onclick
=
"window.open(this.href, '_blank', ''); return false;"
onkeypress
=
"window.open(this.href, '_blank', ''); return false;"
>
-Maid with the Flaxen Hair</
a
>
</
li
>
<
li
class
=
"AspNet-TreeView-Leaf"
>
<
a
href
=
"javascript:__doPostBack('BandManager$TreeView1','sBLABLA\\-Sleep Away')"
onclick
=
"window.open(this.href, '_blank', ''); return false;"
onkeypress
=
"window.open(this.href, '_blank', ''); return false;"
>
-Sleep Away</
a
>
</
li
>
</
ul
>
</
li
>
<
li
class
=
"AspNet-TreeView-Root AspNet-TreeView-Leaf"
>
<
a
href
=
"javascript:__doPostBack('BandManager$TreeView1','sdfafas')"
onclick
=
"window.open(this.href, '_blank', ''); return false;"
onkeypress
=
"window.open(this.href, '_blank', ''); return false;"
>
dfafas</
a
>
</
li
>
<
li
class
=
"AspNet-TreeView-Root"
>
<
span
class
=
"AspNet-TreeView-Collapse"
onclick
=
"ExpandCollapse__AspNetTreeView(this)"
> </
span
>
<
a
href
=
"javascript:__doPostBack('BandManager$TreeView1','sTESt')"
onclick
=
"window.open(this.href, '_blank', ''); return false;"
onkeypress
=
"window.open(this.href, '_blank', ''); return false;"
>
TESt</
a
>
<
ul
>
<
li
class
=
"AspNet-TreeView-Leaf"
>
<
a
href
=
"javascript:__doPostBack('BandManager$TreeView1','sTESt\\-Kalimba')"
onclick
=
"window.open(this.href, '_blank', ''); return false;"
onkeypress
=
"window.open(this.href, '_blank', ''); return false;"
>
-Kalimba</
a
>
</
li
>
</
ul
>
</
li
>
</
ul
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
>
<
input
type
=
"hidden"
name
=
"ctl04"
id
=
"ctl04"
/>
</
div
>
<
script
type
=
"text/javascript"
>
//
<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</
script
>
</
form
>
</
body
>
</
html
>