3.0 beta 2

AJAX: Grids on tabs

I was trying to get grids onto tabs. The grids and the tabs work with AJAX and have different css and js sources. There is one forum already on this but I didnt really understand that. I am kinda having the same problem. When I click on the tab, the grid opens up in a new window or just doesnt open up. (btw, I am not using the source provided by activewidgets) Any suggestions? Also, what does this line mean:
div.innerHTML = obj
This was a possible solution that was suggested to someone else but I dont know how to use that.
June 26,
ok, ill explain the line
div.innerHTML = obj

Look my code down:
<table id='mainTable'>
   <td width='40%'>Login:</td>
    <td width="60%'><span id='loginField'></td>

U want replace the span id 'loginField' with AW.UI.Input, so u need do this.
var input = new AW.UI.Input;
document.getElementById("loginField").innerHTML = input;

Hope this help.
Paulo Cesar Silva Reis (PC from Brazil).
June 26,
June 26,
I use innerHTML in my code to replace the content of a DIV associated with the selection of a tab, switching it's content from a AW.UI.INPUT to a AW.UI.COMBO or some combination of then....
But i think i'm having memory and detaching events problem... sometimes IE give me an error in the detachevent aw function where element is "undefined" and the aw.system.control code for detaching event functions is fired only on window unloading .. I think a "detachevent" public method is missing here !
Alberto Amigoni
June 28,

This topic is archived.

See also:

Back to support forum


Version 2

Looking for AW 2.6 ?
The old site is here.