Search Type: Posts; User: HuyDung

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    2,101
    set allowBlank: true to both the two fields.
    Before sending your form, do some check:
    if( f.findField("field1").getValue() === "" && f.findField("field2").getValue() === "" ) {
    //alert users to...
  2. yeah, I agree with you all.

    At the very first, I decided to use EXT for admin-part, and normal html with some ajax functions only when needed for user-part of the website. But after finished...
  3. HI.

    I've created a small website base on EXT as my semester 1 project in Aptech - a computer education. It's not available in the web yet. But I have some screenshots to show you. And the most...
  4. Give each of your nodes an id. When a node is clicked, It send a request to the same page from which the root node was load, with one parameters named 'node' and value is id of the node.So, In server...
  5. use Ext.DomHelper. insertBefore, insertAfter, append ... there are many methods for you to choose.

    for examples:



    Ext.DomHelper.insertAfter('panel1', {
    tag: 'div'
    ,id:...
  6. Replies
    4
    Views
    1,496
    it looks good :D thanks again >:D<
  7. Replies
    4
    Views
    1,496
    function refreshAllFilmPanels(){
    var center = innerLayout.getRegion('center').panels;
    center.each(function(panel){
    alert(panel);
    var panelID = panel.getId();
    alert(panelID);
    if...
  8. Replies
    4
    Views
    1,496
    After sometime playing with my site, user opened several tabs with Film&DVD info, search result, help ..... In my code, all the Tabs which contain info of a film were named : 'film' +...
  9. Replies
    4
    Views
    1,724
    Throw all you border-layout code (currently within Example()) into MOL. YOU'RE CREATING TWO 'layout', you didn't see??? createCenterTab() can reach only the 'layout' with a blank center region (as I...
  10. Replies
    4
    Views
    1,724
    You've not create a panel for the grid.
  11. Replies
    9
    Views
    1,539
    it's a good doc Josh! I have just read throughout it in few minutes cause I have to go now, but I've found it seem to be very useful and I surely I'll study it carefully tonight. Thank you.
  12. add those bold lines to return{} area in your example object

    return {
    openNewTab: function(gridid){
    alert(gridid);
    alert(layout);
    },
    init: //your code...
  13. Replies
    1
    Views
    881
    layout.getRegion('east').expand()
  14. have you try? of course they can access MOL! In my work, even an external page loaded by ajax into the homepage can access its public functions!!!


    try this very simple thing and probably you'll...
  15. Infact, it's not the matter the code was write before or after Ext.onReady(). You see, it's just a object and do nothing until it's called. Like a function. declare them anywhere in your HTML and js...
  16. Oh, it's brilliant!
    "
    view.prepareData = = function(data, index) {
    switch (index % 5 ) {
    case 0:
    var newItem = '<tr>' + '<td>' + data.item + '</td>';
    break;
    case 4:
    var...
  17. Replies
    9
    Views
    1,539
    Ohh man, it solved the refresh problem :(( I'm really happy now :(( thank you soooo much :X

    [
    Response.AddHeader "pragma","no-cache"
    Response.AddHeader "cache-control","private"
    ...
  18. Replies
    9
    Views
    1,539
    Oh yessss, I'll try that right now :D. Because I found one bug: my solution still don't work when user refresh the page (so the 'loaded' didn't change :(()
  19. Replies
    5
    Views
    2,447
    Search in the documentation for what???? window.open() is basic method of the window object in javascript. And it's really simple!!!

    http://w3schools.com/htmldom/met_win_open.asp


    var...
  20. Replies
    9
    Views
    1,539
    try more, get more problems and this is what I found:

    When I call a asp address with the same url like one was called before, the ASP file is actually called and any code inside is done. that's...
  21. ok, I'll post a part of my current small project here, not exactly your problem but similar.

    First, you must keep in mind that the 'layout' were declared in Example object as a private variable....
  22. Replies
    9
    Views
    1,539
    Uhm, Digital, thanks but it's really not the matter. As I've seen the "session" object in classic ASP is not very happy with ajax calls. I decided to use a temporary table to hold shoppingCart data...
  23. You should not have code both in js file and html file like that when it's not really neccessary.
    Use one singleton , declare variable 'layout' so you can call this from any function() in side your...
  24. Replies
    9
    Views
    1,539
    What am I doing?
    Create insertDVD.asp, request dID, process, insert information of the DVD to shopping cart.
    Create viewCart.asp, request nothing, send back jsonString hold the cart data.
    Create a...
  25. I also want data to be view in table. I've read and try your solution but not fully understand and get error ("buffer" is null or not an object).

    Even when I try your code I still confusing:
    If I...
Results 1 to 25 of 38
Page 1 of 2 1 2