User Profile

Collapse

Profile Sidebar

Collapse
anudu
anudu
Last Activity: Oct 6 '09, 07:51 AM
Joined: Oct 5 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • anudu
    started a topic Identifying the refreshed update panel

    Identifying the refreshed update panel

    Hi,

    I have several update panels in my page. i want to call different javascript methods after the update panels are refreshed . i have attached the Sys.WebForms.Pa geRequestManage r.getInstance() .add_endRequest (MyMethod); at the end of the page and after an update panel is refreshed it is triggered.
    that method is like MyMethod(sender ,args) .

    my problem is how can i identify which update panel is refreshed in side...
    See more | Go to post

  • anudu
    replied to force asp button click event
    ok. i found the solution.

    in my onsucceeded method i put

    var btnName=$get("< %=btnSave.Clien tID%>").name;
    __doPostBack(bt nName,"");

    this fires the onClick serverside function .
    See more | Go to post

    Leave a comment:


  • anudu
    replied to force asp button click event
    hi,
    I tried with document.getEle mentById("<%=bt nSave.ClientID% >").click();

    but it is not working..

    I am using masterpage in my system.
    See more | Go to post

    Leave a comment:


  • anudu
    started a topic force asp button click event

    force asp button click event

    hi,
    im dveloping a web system using vs 2008. in my page i have a ajax page method wich is called by javascript function . in onsuceeded method i want to force the save button on my page to be called and do the serverside finction in code behind "btnSave_Click( object sender, EventArgs e)" method.

    I am calling this pagemethod function in onclientclick event of the save button.

    depending on the result...
    See more | Go to post

  • anudu
    started a topic javascripts+set attributes

    javascripts+set attributes

    Hi,

    i am developing a system using asp.net(c#) and javascripts. i make a button in my form disabel in page load method. if a radio button in my page is clicked i have to enable that button. i am using a javascript method in client side to enable the button. however i am calling another javascript method on "onclientcl ick" method of the button. i have discovered that this onclientclick method is not called after i enabled...
    See more | Go to post

  • anudu
    started a topic "save file" dialog box in clients
    in .NET

    "save file" dialog box in clients

    hi,

    I am developing a system with asp.net, c#, and ajax.

    I have an excel file in server in "Server.MapPath ("ExcelFiles/Test.xls")".

    I want to make it available to save to the disk in client side. I hope save file dialoge box will allow to do this. How can i do this?

    thanks

    Anushka
    See more | Go to post

  • anudu
    started a topic write data to excel book
    in .NET

    write data to excel book

    Hi ,

    I am developing a system with asp.net ( c#.net at server side programming)
    I want to write data in a dataset to a excel book. before write dataset data I have to include a header as a report also.( the header is as we do in crystal reports)

    how to do this?

    Anushka
    See more | Go to post

  • anudu
    replied to remove '?' from a string
    thanks. it works perfectly.
    See more | Go to post

    Leave a comment:


  • anudu
    started a topic remove '?' from a string

    remove '?' from a string

    I have a string value in a javascript function , as ' var a=abcd?' . I want to remove the '?' char which is at the end of the string. I tried with a.replace(/?/g,''); but it gives a error when loading the page. how can i do this.
    See more | Go to post

  • anudu
    replied to How to close a asp.net frame set
    in .NET
    ok I found it. I set the "target" property of the top page to"_parent" and add "Response. redirect("login .aspx") " to on click method of Log out button.

    now it works fine.
    See more | Go to post

    Leave a comment:


  • anudu
    started a topic How to close a asp.net frame set
    in .NET

    How to close a asp.net frame set

    Hi,

    I am developing a system with asp.net, c#.net, ajax and javascripts. I have designed my site with frame set for Top, left and main. I have a logout button on the top page.when the Logout button is clicked, I want to give a confirm message and if it is 'Yes' then close the frame set and redirect to The login page which is the first page of my system.

    what is the best way to do this.
    See more | Go to post

  • anudu
    replied to show spinner gif while data is retrieving
    This is the javascript code

    [CODE=javascript]function searchCustomerI nfo()
    {



    document.getEle mentById("img1" ).style.visibil ity = "visible";

    // the code to get data from data base and set to fields
    //
    //
    document.getEle mentById("img1" ).style.visibil ity = "hidden";

    return false;

    ...
    See more | Go to post
    Last edited by gits; Apr 22 '08, 11:24 AM. Reason: added code tags

    Leave a comment:


  • anudu
    started a topic show spinner gif while data is retrieving

    show spinner gif while data is retrieving

    Hi,

    I am developing a system using asp.net, ajax and javascripts. I have an interface that display user details. when the user enters the Id and press search button the user details will be retrieved from the database and showed in the fields. i use a javascript function that calls an ajax method in the server side.

    while the system is retrieving data from the database I want to display a spinner gif as in this link...
    See more | Go to post

  • anudu
    started a topic Read and write with USB port with c#.net
    in .NET

    Read and write with USB port with c#.net

    Hi,

    I like to learn the basics of reading from and writing to USB port using c#.net.

    Can anyone help me?
    See more | Go to post

  • anudu
    replied to calling functions in other javascripts
    thanks lopez.

    but my problem is, acording to your example if call2() is written in another .js file can I access it within call() method? as we do in OO languages, we create an object from the class and access its method. actually i am dealing with two .js files. i want to access a function in one .js file from another .js file....
    See more | Go to post

    Leave a comment:


  • anudu
    started a topic calling functions in other javascripts

    calling functions in other javascripts

    Hi,

    Is there any way to call function in another javascript , as in Object Oriented languages ?

    Anushka
    See more | Go to post

  • anudu
    started a topic set css to a button

    set css to a button

    hi,

    I am developing a system with asp.net and javascript.

    I am creating a html table dynamically using a for loop in a javascript function. i have a button field in my table.

    this is the code I use.


    [CODE=javascript] btn=document.cr eateElement('in put');
    btn.type='butto n';

    btn.id=dset.val ue.Tables[0].Rows[a].BasicNo;
    ...
    See more | Go to post
    Last edited by gits; Mar 26 '08, 09:43 AM. Reason: added code tags

  • anudu
    started a topic add CSS to a button

    add CSS to a button

    hi
    I am using a javascript to create an html table with a button field.

    this is how i do,

    [CODE=javascript] btn=document.cr eateElement('IN PUT');
    btn.type='butto n';

    cell1.appendChi ld(btn);
    row.appendChild (cell1);
    tabBody.appendC hild(row);
    [/CODE]

    how can I apply a style sheet to this button.

    thanks
    See more | Go to post
    Last edited by gits; Mar 20 '08, 08:20 AM. Reason: added code tags

  • anudu
    started a topic on text change of a text box
    in .NET

    on text change of a text box

    I am developing a system with asp.net(c#) and javascripts. I want to call a javascript method when the textbox text is changed. I tried onkeypress event. it works successfully . but if the user copy and past a value in the text box, the method is not called.

    help me to solve this.
    See more | Go to post

  • anudu
    replied to on text change of a text box
    Thank you for the help. I will put it in .net area....
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...