Page view counter

IE Treeview Control Client Script on execute in FireFox and Opera (Urgent Client Side Rquirement)

Last post 10-03-2005 12:32 AM by manishpatel. 2 replies.

Sort Posts:

  • Crying [:'(] IE Treeview Control Client Script on execute in FireFox and Opera (Urgent Client Side Rquirement)

    09-07-2005, 1:39 AM
    • Loading...
    • manishpatel
    • Joined on 06-24-2005, 8:25 AM
    • Ahmedabad
    • Posts 27
    • Points 135
    Hi Gays

    I am using Treeview Control in my web application

    and use javascript coding at onselectedindexchange event of IE Treeview Control

    It will working well in Internet Explore But not Working in other one like FireFox or Opera

    My usefull code for U as

    1) code for execute javascript function at when selected index of treeview2 control is change ( this code present in my .vb page)

    Treeview2.Attributes.Add("onselectedindexchange", "javascript:GetKeyValue()")

    2) now simple GetKeyValue Function available in Javascirpt ( which contiant code for getkeyvalue from treeview control current selected node value)


    When i am working with Server side selectedindexchange event it work with almost all browsers
    But
    When i am working with client side Script  (Becuse my data is very bullky and i donot want to execute it from server side ) for that event as above mention it will work only IE browser (Very Well as my requierment)  but not worked or executed in FireFox and Opera


  • Sad [:(] Re: IE Treeview Control Client Script on execute in FireFox and Opera (Urgent Client Side Rquirement)

    09-30-2005, 6:14 AM
    • Loading...
    • sudhakar_jr
    • Joined on 06-09-2005, 9:16 AM
    • Pune
    • Posts 8
    • Points 40

    Hi

    i have applied the same thing in asp.net 2.0 , the same thing is not working IE 6.0 itself , it is not going inside the function itself , can u please tell me, matter most urgent

    TreeView1.Attributes.Add("onselectedindexchange", "javascript:test()");

    Thanks
    Sudha

  • Re: IE Treeview Control Client Script on execute in FireFox and Opera (Urgent Client Side Rquirement)

    10-03-2005, 12:32 AM
    • Loading...
    • manishpatel
    • Joined on 06-24-2005, 8:25 AM
    • Ahmedabad
    • Posts 27
    • Points 135
    hi sudhakar,

    I am manish , Use alert function in javascript and check your javascript function is called or not
    If it call then it will raise error in javascript function not at
    treeview1.attribute.add() function
    else
    error at
    treeview1.attribute.add() function

    if error at treeview1.attribute.add() function
    then
    specify error after that i gave u some help about this point
Page 1 of 1 (3 items)