Hi - is there a way to do cascading dropdown lists with dynamic data when editing? For example, a "City" dropdown would be populated based on the drop down selection in the "State" dropdown.
View Complete Post
Can anyone suggest me the Infopath cascading dropdowns. I need to create one form ...it will have 3 dropdown and based on the users selection in the first dropdown 2nd dropdown should display only one item (out of 3 standard items..users
dhould see only one item int he dropdown). based on the user's selection wrd dropdown should show 2 items (out of 5 standard items....users should see some items only based ont he first dropdwons selected value). Can anyone one suggest
how to accomplish this?. Thanks in advance to all.
I have 2 dropdown's in my form in a view. (Countries and regions)
Obviously I need the regions dropdown to change it's content whenever the countries list have been change.
Did not do webforms for years, but remember one let the dropdown postback the form. I dont think it work like this in MVC, as posting my form will force validation to kick in to easy, and the user see a lot of "error messages" just because they are selecting their country and region?
Any advice / tips / links?
I have three cascading dropdowns and two of them need to trigger something outside of the dropdowns, so I have OnSelectedIndexChanged events on them. So as to not reload the whole page when these items are triggered, I have all of this in an Update Panel.
Everything works fine -- the only issue that the client doesn't like is that the cascading dropdowns reload on the asynchronous postback. Can you think of any way to avoid this?
I have looked at the post on http://www.dotnetcurry.com/ShowArticle.aspx?ID=221 and got this to work somewhat. I have 2 fields just like the example. One is Location and the other is Lab. I can have multiple locations, and within the locations, multiple labs for each location. So when I select a Location, I want to show all labs for that location. This part works. But when I click Update, I the Lab value is not getting written back to the database. I suspect it is because I dont have a SelectedValue='<%# BIND' but when I add one, I get an error. Also, in the example post above, he does not have one either.
The code for the Lab field is below. What am I doing wrong. This cant be that difficult.
<asp:TemplateField HeaderText="Lab" SortExpression="LAB"> <EditItemTemplate> <asp:DropDownList ID="gvLABS_DROPDOWN" runat="server" DataSourceID="SqlDataSource8"
> Add/Remove dynamic rows in HTML table </
I need to disable a dropdown depending on the selected value of another dropdown in my detailsview in edit mode.
I had previoulsy created a file enumeration_edit.ascx so that I would be able to bind a list of names to this dropdown but now that we have a new type of user I want to disable this dropdown when a different user type is selected.
I was thinking of adding a simple 'if' statment when binding the list to the dropdown but I'm not sure how to get the other dropdown's selected value from inside enumeration_edit.ascx.
Appreciate some feedback.
Referring the below link, I created a cascading dropdown. The parent dropdown has sharepoint list as datasource and the child dropdown has xml datasource that points to owssvr.dll filter view. The cascading drop down works fine in preview but throws
error after publishing as admin approved form - "form cannot run the specified query" exception when trying to execute xml datasource i.e., when a value is selected in parent dropdown. The security is 'Full Trust". In the event viewer the error message
states "401 unauthorised" for the user a/c. the xml data source is an approved udcx file and in central admin, have enabled cross domain for infopath service. I have tried different solution provided in tech forums but issue still exists. Not sure whether
Im missing something. Can someone guide me in fixing this issue?
I have a few drop downs in my browser based infopath 2007 forms and they have cascading functioanlity ie they get filtered data..for filtering i qam using a web service..now the issue is that say i have 4 drop downs and for getting the fourt drop down's
value the web service takes as input the second and the third's drop down value..now what is happening is that if based on the second drop down value if there is no value returned for third drop down then i cannot get to fourt drop down's value whichi should
as it has value irrespective of whether the third drop down has some value or not....this is only the issue when i access the form in browser ..when i access it through the client infopath then it's working good...but in browser form the event is not firing
when i select the emty value in third drop down...
Can somebody please tell me what to do..
I have 2 parent child cascading dropdowns on my form. At present they work as normal so you can only select a value from the second once you've selected one from the first, otherwise it's disabled. Is it possible to show all values in the second if you haven't selected anything from the first? Does that make sense?
Sorry to trouble you all with something that has already been posted a million times but I have tried everything I can and stuck with for about 10 days now. Please help. I have created 2 tables Categories, Subcategories.
Categories table has Category_ID(Primary Key) and "Category" fields. Subcat table has SubcatID(Primary Key, Sub_cat and Category_ID(Foreign Key). Here's the code of the asmx file.
Service methods used in ASPX file ServiceMethod="GetVendors" and ServiceMethod="GetContactsForVendor". Please help me find the source of the method erro 500 and I will be very greatful.
<%@ WebService Language="VB" Class="CascadingDropdown1" %>Imports System.Web.Script.ServicesImports AjaxControlToolkitImports System.WebImports System.Web.ServicesImports System.Web.Services.ProtocolsImports System.Collections.GenericImports System.Collections.SpecializedImports System.Data.SqlClient<ScriptService()> _Public Class CascadingDropdown1 Inherits System.Web.Services.WebService <WebMethod()> _ Public Function GetVendors(ByVal knownCategoryValues As String, ByVal category As String) As Cascadi