jonahcarneskog
30 Oct 2007, 1:44 AM
Fellas, I'm kind of new here, and need some assistance. I haven't found anything on this in the forum, but sorry if I've missed some info.
Here's the deal:
I have the layout of the page created in the asp.net Master page. It is pretty simple, just north, west and center. I want the center page to be updatable with asp.net content pages.
Now, is there a way where I can add ext calls from the contentpages, so I can easily choose what components I use for each contentpage?
Pseudo code for a contentpage would be something like this:
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="toolbar"></div>
<div id="content">
Lorem Ipsum....
</div>
<script type="text/javascript">
var tb = new Ext.Toolbar();
tb.render('toolbar');
tb.add({
text:'',
menu: menu // My menu would be created, but I'll skip that code for now
});
</script>
</asp:Content>
If this would be possible, it would be awesome!
Has anyone tried this? :-?
Here's the deal:
I have the layout of the page created in the asp.net Master page. It is pretty simple, just north, west and center. I want the center page to be updatable with asp.net content pages.
Now, is there a way where I can add ext calls from the contentpages, so I can easily choose what components I use for each contentpage?
Pseudo code for a contentpage would be something like this:
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="toolbar"></div>
<div id="content">
Lorem Ipsum....
</div>
<script type="text/javascript">
var tb = new Ext.Toolbar();
tb.render('toolbar');
tb.add({
text:'',
menu: menu // My menu would be created, but I'll skip that code for now
});
</script>
</asp:Content>
If this would be possible, it would be awesome!
Has anyone tried this? :-?