Browse by Tags

Related Posts

  • Is it possible to disable the property "InitialValue" in the Code Behind?

    Hello, My question is...can I disable the property 'InitialValue' for my required field validator within the code behind. Currently, I have a drop down list that has 5 list items, and one of the list item values is 'OTHER'. When the user selects this value 'OTHER' from the drop...
    Posted to Web Forms (Forum) by xyz789 on 03-09-2009, 12:00 AM
    Filed under: vb.net, Visual 2005, Visual Studio .NET 2005, asp.net 2.0, dropdown, Dropdownlist, javascript, Range Validation - Localization issue
  • Control direction of a dropdownlist

    Running into an issue where a client really needs to control the direction of the dropdown list and ensure it pops-up all the time, rather than dropping down. Any javascript code out there that allows for this level of control? Thanks a ton in advance for any help.
    Posted to Client Side Web Development (Forum) by stammer on 02-18-2009, 12:00 AM
    Filed under: dropDownList, javascript
  • How to make to DropDownList (b) to take the value from (a) without postback?

    Hello! I have a small problem with the functionality of my web site. Lets say that i have an Test.aspx page and a Test.aspx.vb code behind file. Inside Test.aspx, i have two DropDownLists: a) the "lst1" and b) the "lst2" and a SqlDataSource named "SqlDataSource1". The "lst1"...
    Posted to Web Forms (Forum) by MinimalTech on 02-06-2009, 12:00 AM
    Filed under: postback, DropDownList, JavaScript
  • how to get dropdown selected index value without postback

    I have a dropdown and a textbox on a page. I can select any value from the dropdown and enter and save some text corresponding to that dropdown value in the textbox. When i select that particular value in the dropdown again, the text entered for it should be populated in the textbox. For this purpose...
    Posted to Client Side Web Development (Forum) by hsekarg on 10-14-2008, 12:00 AM
    Filed under: onselectedindexchange, autopostback, dropDownList, javascript
  • 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: dropDownList, events, select, Firefox, javascript
  • 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: dropDownList, javascript
  • 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: disable textbox, DropDownList, javascript
  • 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: update Panel, UpdatePanel, "AJAX Toolkit", Autopostback, DropDown, dropdownlist, JavaScript, __doPostBack, JScript
  • 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, DropDownList, javascript
  • 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
Page 1 of 2 (15 items) 1 2 Next >