Browse by Tags

Related Posts

  • URGENT: DropDownList in custom server control not holding value on postback

    Hello All, I have a problem where a DropDownList contained within one of my custom server controls is not holding its value on postback. I've tried several different things but can't seem to find why it's dropping its value. ViewState is enabled on the page and I've not specifically disabled...
    Posted to Custom Server Controls (Forum) by Anubis09 on 04-07-2009, 12:00 AM
    Filed under: postback, server control, dropdownlist
  • 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
  • UpdatePanels and PostBack Issues...

    I'm running SharePoint SP1 with .NET 2.0. I have a WebPart which is running the code below. The problem is that the DDL causes a full postback and the Buttons don't do anything at all. What am I doing wrong? private ScriptManager scriptHandler = null ; private UpdatePanel up = null ; protected...
    Posted to ASP.NET AJAX Control Toolkit (Forum) by bshannon on 01-21-2009, 12:00 AM
    Filed under: Postback, SharePoint, button not firing in ModalPopup extender, dropdownlist, webpart, UpdatePanel
  • Update content of a DropDownList when closing a pop-up

    Hi I'm having a project with a Default page and a second page. The second page is opened in a new window. Here it is possible to make some changes to an SQL-table. When changes is made a button is pressed and the window i closing. Then you return to the Default page again. Here is a DropDownList...
    Posted to Web Forms (Forum) by tje.gaab on 08-15-2008, 12:00 AM
    Filed under: DropDownList, PostBack
  • catching postback from dropdown in user control

    I have a user control with a dropdownlist in it set to autopostback. When it postsback I'd like it to bubble an event back to the container page but I'm not sure how to hook that up. I found an article here http://authors.aspalliance.com/hmcheung/Articles/030331/Default.aspx that is similar to...
    Posted to Web Forms (Forum) by cakewalkr7 on 06-27-2008, 12:00 AM
    Filed under: PostBack, DropDownList
  • DropDownList not keeping the default in GridView FooterRow

    Hi I have a footer row in a gridview that allows inserting of records into a table. One of the controls is a DropDownList control. I want this control to default to a value. So I have this code: protected void Page_Load(object sender, EventArgs e) { DropDownList MenuInsert = gridviewPages.FooterRow.FindControl...
    Posted to Data Presentation Controls (Forum) by sean_walsh on 05-28-2008, 12:00 AM
    Filed under: postback, dropdownlist, view state, default
  • setting label to visible with button click

    Hi, I'm having some problems with using a label to display a message "No Records Found" when the user clicks a Search button. What I want it to do is to check if there are any results from a database that get displayed on a GridView. I have the following method so far: ------------------------------...
    Posted to Data Presentation Controls (Forum) by tomosap on 02-27-2007, 12:00 AM
    Filed under: paging, postback, records, rows, table adapter, textbox, VB, Visible, access database, ADO.NET, asp.net 2.0, asp.net 2.0 GridView databound ItemTemplate, Client, codebehind, data, data access layer, database, databind, databinding, DropDownList, If Statement, GridView, label
  • How do i default back to 'Please Select' in a dropdownlist after a selection has been made?

    I am using a datasource that queries a database to populate my dropdwon list. After an item has been selected a repeater is populated on the value of this selection. The dropdownlist is set to autopostback. I want the repeater to be populated but the dropdownlist to be set back to "Please select". I...
    Posted to Data Presentation Controls (Forum) by HerdingCats on 11-14-2006, 12:00 AM
    Filed under: postback, Binding, database, datasource, DropDownList, asp.net 2.0
  • Linked DropDownList problem

    My web-form has a parent GridView and a child GridView which apepars when a record in the master is selected. In the footer row of child GridView, there are two DropDownList. Autopostback has been set to true for the first DropDownList in order to present the proper values in the second DropDownList...
    Posted to Data Presentation Controls (Forum) by groston on 10-01-2009, 12:00 AM
    Filed under: GridView, postback, DropDownList
  • Dropdown Postback with Value updates?

    Hi, This is what I am trying to do. In a client form where there are many fields, one of the options is to set their location. And if they select to set their location in the dropdown, then I want to show the row where Country and City dropdowns are. When they select the country, cities under the country...
    Posted to ASP.NET MVC (Forum) by Plague2006 on 11-14-2009, 12:00 AM
    Filed under: MVC, DropDownList, postback
Page 1 of 1 (10 items)