I'm creating my own custom section and inside this custom sectiom I'm creating a page which has multiple tabs. To create an Umbraco tab I need to use the TabView and TabPage webcontrols. I've looked into the Umbraco source code, but every time a control is added it's done the following way:
protected umbraco.uicontrols.TabView tbv = new umbraco.uicontrols.TabView();
The controls are always added using C# code. Is there a way to do this on an .aspx page? I'd like to create my webcontrols and html on the .aspx page instead of needing to code everyting in C# (where it's not supposed to be...).
The following code is an example how I'd like to have it:
Is it possible to use the Umbraco tabs this way and if not is there another good solution in which I don't need to programm my webcontrols inside C# code?
I've got a new problem. Currently I use the example found at http://www.nibble.be/?p=71 and it works great except one thing. I'm trying to use the example in combination with ajax, but somehow after a postback the page disapears.
Umbraco tabs
Hello,
I'm creating my own custom section and inside this custom sectiom I'm creating a page which has multiple tabs. To create an Umbraco tab I need to use the TabView and TabPage webcontrols. I've looked into the Umbraco source code, but every time a control is added it's done the following way:
The controls are always added using C# code. Is there a way to do this on an .aspx page? I'd like to create my webcontrols and html on the .aspx page instead of needing to code everyting in C# (where it's not supposed to be...).
The following code is an example how I'd like to have it:
Is it possible to use the Umbraco tabs this way and if not is there another good solution in which I don't need to programm my webcontrols inside C# code?
Already found the solution in one of Tim Geyssens his example projects:
Frontent:
Backend:
Hello,
I've got a new problem. Currently I use the example found at http://www.nibble.be/?p=71 and it works great except one thing. I'm trying to use the example in combination with ajax, but somehow after a postback the page disapears.
Before postback: http://img707.imageshack.us/i/section1.jpg/
After postback: http://img251.imageshack.us/i/section2.jpg/
This probably got something to do with the following code in the page_init:
How can I make this work with ajax?
Doesn't anybody know how I can use Umbraco tabs in combination with ajax?
is working on a reply...