I have a simple web form which has 3 dropdown lists making date of birth dd mmm yyyy. The form itself is inside an update panel. The 3 lists are populated once on page load, list 1 has 31 days, list 2, 12 months and list 3, 82 years. The strange behaviour affects list 1 - (days) and list 3 (years). When I select an item from the list which is outside the viewing window via the scrollbar (20 is outside 19 is the last in the list) and press the validate button the whole page flickers. The same behavious occurs in list 3. It doesn't occur in list 2 because the viewing windown is large enough for all 12 months. If I then select an item within the window, the flickering stops.
I have masterpage which includes dropdown list for choosing skins for page.
Also I have Home.aspx include above master page. This Home.aspx contains update panel[up1] which further comprises of gridview, link button, image button[IB] and dropdown list. Also there is one modal popup that has a panel which includes dropdown and text box.
Requirement: when i click image button[IB], modal popup opens up and home.aspx gets grayed up.
Issue: when i click image button[IB], modal popup opens up, but all dropdowns placed in[Home.aspx and Master page] get disappeared[invisible]. Once i close modal popup , they are visible.
I have an asp.net webform. I have the background as an image,that when i aslo have a menu bar, when i click on an icon, it uses response.redirect() to redirect to a new page, but when it loads up the page, it seems like the background image is slow. I can see the backgroud as white first and then split seconds later the background image will load up, this causes an illusion of flickering when it redirects to a new page. How do i solve this problem? When i tested using visual studio web server, it dont flicker. I am using a background image in the master page hosted up on the internet.
I have a Master Page with a TextBox to which I have attached a TextBoxWatermarkExtender. One Content page has 3 UpdatePanels, each with a Timer and an UpdatePanelAnimationExtender. The WatermarkText on this Content page flickers when the partial page update occurs, it does not flicker on all other Content pages.
I have an self-referencing entity which maintains a list of like entities that are it's children. What I need to do is build a dropdown that lists all possible parents so when I add or edit a new entity of that type, I can select it's parent (or no parent). The problem lies in the sql. I simply don't know how to word it.
IList<ParentForumModel> parentForums = new List<ParentForumsModel>(); foreach (Forum forum in forumRepository.GetAll()) { // not sure how to handle this here because it isn't in the correct order. I need them to be grouped by parent and sorted by the sequence field. It also needs to be a flat dataset, not something uses IGroupedQueryable or some such. } ForumAddModel model = new ForumAddModel { ParentForums = parentForums, // other properties }
public IQueryable<Forum> GetAll() { return context.Forums.??? // what Linq do I need here? }
If this simply isn't possible with Linq2Sql, then is there a system where it is possible? Please don't say hnibernate.
I have officially wasted about two days trying to figure out what the heck was going on with my asp.net page. I actually thought it was an issue with my updatepanel code, but after reading another post I was able to reproduce the same results. [URL]
I just manually added the following control to the page (no code behind for the listbox) and it is nested in an ajax tabcontrainer inside an updatepanel. If you set item 20 as selected the page flickers when loading that tab. I tried the css mentioned (style="overflow:hidden") on the tabcontainer,tab panel, update panel and dropdownlist, but no luck. Crazy select item 19 no flicker, 20 (which is actually the 21st item) and it does flicker. This is driving me insane. And yes this only occurs in FireFox ( running 3.6).
I have a gridview in which I use HoverMenuExtender to display gridview's respective row value. It is working very fine in my development PC. But after deployment of this web project in hosting site, this hovermenuextender displaying it PopupControl in webpage for very long time in slow internet connection.
i have two dropdown lists and i would like if i select lets say "1" the second list returns "A""B" but instead it returns "A" how to make the second list display A"B when i select "1" from the first list.
I have a dropdownlist and a gridview with a drop down list in every row. I have removed other cols in Grid for simplicity.
Whenever a new value in the dropdownlist is selected I would like to set all of the dropdownlists in the gridview to that same value via javascript. (Yea both the dropdownlist outside the gird and the ones inside the grid are populated by the same data source)
function onJDSelection() { var jd = document.getElementById('ctl00_MAIN_DropDownList3').Text; var grid = document.getElementById('ctl00_MAIN_GridView2'); for (var i = 1; i < grid.rows.length; i++) { grid.rows[i].cells[0].getElementsByTagName("*")[1].selectedText = jd; } }
[Code]...
When clicking on the dropdown I get an alert that says "test" and an alert that says "[Object object]" However nothing happens with the dropdowns in the grid and the alert(i) never fires.
I am trying to bind data into a dropdown list from c#. I am getting a Null error when trying to enter the data into the DDL's. I am using this code for the front end.
and last but not least the function to setup the dynamic amount of DDL's looks like this
private void PreloadHardDriveRepeater(int intSupportedDrives) { int[] intArrDisks = new int[intSupportedDrives];[code]...
I am calling a list of populate functions in a !page.isPostBack if statement and the only one that is not getting the data is this one with the Drown Lists. It gets the number of Rows(18) from the database, but it it throwing a Null error(Object reference not set to an instance of an object.) I have seen quite a few people have been running into this error while googling the problem, however I could not find a solution that worked for me. The PreloadHardDriveRepeater function seems to work fine when run alone it loads the correct amount of DDL's onto the page.
I don't want to link my dropdownlists with a database like most of tutorials and forums show. I just want to link 2 dropdownlists, for instance if one says "Food" I want to show only the food producs in the other DropDownList. All this items are not from a database, I just inserted them in the DropDownList control.
I have 3 dropdown lists. All 3 are using the same generic list for there items. I am using C# as the code behind. The code below shows the DTO list i am using and how I'm adding them to the drop downs...
in all browers this works but in IE the dropdown list items in my modal pop up extender vanish when I make a selection. I even have a ddl in ajax panel and the same thing happens. it seems like a bug.
I want to know how to make up dropdown lists with numbers in them and and the end of the page as you selected the numbers they add themselfs up and you see a total at bottom the page
drop down list one 50
drop down list two 55
drop down list three 35
TOTAL IS _____140 _______
(and the end of the page when you select one number in each dropdown list) it adds it up for you and shows your total on the same page
i have over 100 items all loaded in a dropdown list. They all are assigned a value between 1-10 which represent 10 categories. When certain buttons are clicked, i want the dropdown list to display only items with a value "1" or "2", etc.
How do you get dropdown lists to refresh after a submit button has been clicked and the radgrid has been populated? Basically I have built a search tool which allows users to select the items from a dropdown list, click a button their results are displayed in a grid. However, currently it won't allow users to carry out a second search. It it a rebinding issue?
I have a number of dropdown lists which are populated from a database. They load depending on what the previous dropdown selection was so for example if the system was car based and I had chosen Ford then the next dropdown list would populate all cars made only by Ford. What I'm wanting to do is add a select all to one of the dropdown lists. Does anyone know how this would be done?
I have 2 drop downlists 1 gets the User hits my sql database and pulls back all my users in the database. I have post back on. The second drop down brings back all the account numbers for the user that is selected in the first drop downlist I have that post back on also.
My gridview then uses those 2 dropdownlists to populate for that user and that account number selected.
Now for the problem.
User Albert is in the drop down when page is loaded because its sorts by name the first account number for albert is in the 2nd drop down and the gridview works on page load for albert and account number 1 i can select account number 2 and the gridview changes.
I then switch user to Bill and it populates the 2nd drop down with Bill's account numbers however my gridview at this point is still showing alberts account information. I have to take drop down 2 and select another account say account 2 then my gridview displays bill's account 2 information i can then switch back to account 1 for bill and see that account information.
What do I need to do so that my gridview will populate when the first dropdown is changed to match the 2 new values?
I have an aspx page which has 18 (yes 18) dropdown lists and 18 text boxes. Each dropdown needs to be selected and each textbox needs to be filled. Dragging and dropping required field validators on these 36 controls and maintaining them is a painful task and does not seem to be the logical option as all I need is for the user to select a value from the dropdown.
Is there anyway I can loop through all these dropdown controls and textbox controls, check if they are empty and display warnings to users accordingly? Client-side validation solution or server side validation solution is fine with me.
I'm trying to create a page with multiple fields to be used as parameters for filtering a GridView. I'm using a combination of two asp:dropdown lists and two check boxes. When I select a value in one ddl, I want to clear the value in the other ddl. I was trying to use the event "onTextChanged" but that doesn't seem to fire off on the client side and I cannot seem to find any event for an asp:ddl or asp:checkbox or asp:radio button that fires off on the client side.
Are there events, like onClientClick for asp:button, that fire on the client side for these controls when a selected value is changed or when the user clicks on them? or do I need to use html controls instead?
How can i dynamically add textboxes and dropdown lists on a button click. I'll be showing 4 text boxes and 1 dropdown list initially with a link button ADD MORE, Then after clicking ADD MORE button i need to generate same 4 text boxes and dropdownlist exactly in the below row as in EXCEL sheet.
I'm having a SQL table with 4 textboxes and a drpdown list values as columns and i need to insert them into the database. i previously worked on the same requirement where i've collected multiple values frm a listbox control and looped all the selected items and comma seperated them and inserted them into table(here the case is different, there is only one row so it became simple and straight forward during insertion). Now i need to loop throguh all the 4 textbxes which user enters and need to insert those 4 textboxes values into DB under same columns.
I am trying to get the drop down list to only include table1 entries where table3.int1 is the current selection in another drop down list (table2.id). Example:
Table1: id, string1, int Table2: id, string1, string2, dec Table3: id, int1 (ref table2.id), int2 (ref table1.id)
Both drop down lists are inside of a FormView object for a asp.net page. My current select command(s) are having the DropDownList for Table1 display all Table3 entries, instead of just the ones Tied to Table2 id from the other DropDownList.