Browse by Tags

Related Posts

  • How do I combine a Dropdown List control & Javascript Confirm

    Hi, On my aspx page I have a asp:dropdown list that is populated from the database with a listing of Chapters and their corresponding ID fields. The page also contains a datagrid that is being populated on the basis of the Chapters dropdown list selection. I am calling the dropdown list ddlChapter. DDL...
    Posted to Client Side Web Development (Forum) by zoopnfunk on 02-21-2007, 12:00 AM
    Filed under: javascript, dropdownList, datagrid
  • Re: How do I combine a Dropdown List control & Javascript Confirm

    shados: Instead of: alert(myValue); return false;, put: return confirm( 'You are selecting' + myvalue + ' Is that really what you want to do? Blah blah blah' ); if the user click yes, the function will return true and the onchange event will continue to do the postback. If the user click no, it will...
    Posted to Client Side Web Development (Forum) by zoopnfunk on 03-01-2007, 12:00 AM
    Filed under: javascript, dropDownList
  • Re: How do I combine a Dropdown List control & Javascript Confirm

    Thanks for the advice. I tried to the function above and am receiving an "Object Expected" error. I believe the error is being caused because the var ddl = document.GetElementbyID("< %=ddlChapter.ClientID %>"); is not picking up the dropdown list. The dropdown list is an asp:dropdown list and I...
    Posted to Client Side Web Development (Forum) by zoopnfunk on 03-02-2007, 12:00 AM
    Filed under: javascript, dropDownList
  • Processing disabled form fields

    Hi, On my page I have several DropDownLists that I'm enabling and disabling them through javascript, depending on the user's actions. Now the problem is, how can I check which DDLs were disabled by javascript when the form is posted. I tried DDLName.Enabled property but it always returns True (as the...
    Posted to Client Side Web Development (Forum) by Armaghan on 03-19-2007, 12:00 AM
    Filed under: javascript, javascript in asp.net, dropDownList, ASP.NET 2.0
  • ability to call a java script on click of a button.

    Hi, Currently im saving my records in to a database on the click of a button.. what i want is, on click of that button it should call a java script prompt asking for confirmation. it needs to be done in C#. could anyone plaese help me out.. Thanks Nitin.
    Posted to Web Forms (Forum) by Nitinkcv on 03-20-2007, 12:00 AM
    Filed under: DropDownList, JavaScript
  • Re: ability to call a java script on click of a button.

    Hi, Sorry i forgot to mention that my button is actually inside a repeater and it validates info from textboxes and ddl inside the repeater.. The prob is that i have "SELECT VALUE" chosen as the default value in my ddl. so while saving i want to check if the value in the DDL is not SELECT VALUE, then...
    Posted to Web Forms (Forum) by Nitinkcv on 03-20-2007, 12:00 AM
    Filed under: Repeater, javascript, DropDownList
  • Post Back Issues

    Does anyone know why a DropDownList, located within an UpdatePanel, will not post back it's selected value when it is set via JScript and a __doPostBack is executed, but it will post back it's selected value if it is manually selected and the post back is handled automatically?
    Posted to ASP.NET AJAX Control Toolkit (Forum) by sbrauen on 04-24-2007, 12:00 AM
    Filed under: JavaScript, UpdatePanel, DropDown, dropdownlist, update Panel, "AJAX Toolkit", Autopostback, JScript, __doPostBack
  • Re: Disabling a textbox when i pick an item in my dropdownlist

    Hi there, Base on your requirement, i've written following block of code. Hope it helps! < script language ="javascript" type ="text/javascript"> function OnSelectedChanged(sender,e){ // get object reference var txt1 = document.getElementById( '<%=TextBox1.ClientID...
    Posted to Web Forms (Forum) by d4dennis@inspir3 on 08-07-2007, 12:00 AM
    Filed under: javascript, DropDownList, disable textbox
  • copying DropDown1 options to DropDown2 by JavaScript

    Hello, I would appreciate if someone could give me a hint how to copy all the options from one DropDownList (select tag in HTML) to another one. I have a very limited knowledge of JavaScript and tried something like this: document.getElementById( "DropDownList2" ).innerHTML = document.getElementById...
    Posted to Client Side Web Development (Forum) by viktors on 08-25-2007, 12:00 AM
    Filed under: javascript, dropDownList
  • select looses event handlers when items collection is modified in FireFox

    I have a simple script that clears, then re-adds items to a select element on a page after receiving the element array from a WCF service call. the onchange event for the select box is set in the markup (I have also tried using $addHandler(select, "change", my_handler) to no avail). This works...
    Posted to Client Side Web Development (Forum) by chadscharf on 04-11-2008, 12:00 AM
    Filed under: javascript, Firefox, dropDownList, events, select
Page 1 of 1 (10 items)