Web Forms :: Dropdownlist Slows Down Page?

Feb 20, 2011

I have a web page with some textboxes and some buttons on it. There is also a dropdown list. By experimenting I have discovered that the dropdown list, which has several thousand items in it, slows the page down considerably just by being there. I tried the following code in the datasource for the dropdown:

[Code]....

which didn't work. I also tried removing the datasource and populating the dropdown in code in the page load where not ispostback and that didn't work.

View 8 Replies


Similar Messages:

AJAX :: Conctrol Toolkit HTMLEditor Slows Down Other Events On Page

Aug 30, 2010

I've made a test page, a HTMLEditor in a updatepanel. And a updatepanel with 1 butten and 1 textfield. If i press the button btnTextBox the _click code below is runned:

public partial class test : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnTextBox_Click(object sender, EventArgs e)
{
txtTextbox.Text = "Hellow world!";
}
}

It takes a few seconds bevore the "Hellow world" is in the texteditor. But if i remove the HTML editor, it going very quick! So if i add the ajaxcontroltoolkit in the page it slows down quite easy changes with some seconds.... so you get a very slow working page. How can i speed this up. The test ASPX page:

[Code]....

View 1 Replies

Controls :: Binary Image Displayed Using BASE 64 String Slows Down Page Loading

May 7, 2015

When I am featching binary images from database and displaying in datalist on asp .net image cotrol. The image display getting too much time. When I click on next button also I take too much time for display next image.

View 1 Replies

Forms Data Controls :: GridView Slows Down Going From VS 2005 To 2008?

Mar 5, 2010

I just upgraded one of my solutions from VS 2005 to 2008, and it completed successfully. The only thing that changed in the solution was that I went from .NET 2 to 3.5 framework.

Now when I debug and select a page where a GridView displays a table of 4580 rows the time to display it goes from 5 seconds to 5 minutes. Everything else in the project behaves as normal. Why would performance degrade on one GridView when going to VS 2008?

It's also noteworthy that changing the GridView parameters to AllowPaging="True" PageSize="25" will return performance to under a second response, as one might expect.

View 3 Replies

C# - Web Service Occasionally Slows Down Significantly?

Mar 11, 2010

My company is running into a problem with a web service that is written in C#/ASP.Net. The service receives an identity key for data in SQL Server and a path to generate and save a PDF report for this data.

In most cases, this web service returns results to the calling web pages very quickly, usually within a few seconds max.

However, it seems to occasionally hit a significant slowdown. The web application calling the web service will generate a timeout error when this slowdown occurs. We have checked and the PDF does get created and saved to the server, so it looks like the web service eventually finishes executing. It seems to take about 1 to 2 minutes for processing to have completed. The PDF is generated using ActiveReports from Data Dynamics.

Wwhen this problem occurs, making a small change to the web service's config file (ie, adding a blank space to a connection string line) seems to restart the web service and everything is perfectly ok for a period of time afterwards.

Other web applications that are running on the same web server do not seem to experience this type of behavior, only this particular web service.

I have added the code for the web service below. It is basic calls to 3rd party libraries. We are not able to recreate this problem in test.

[WebMethod]
public string Publish(int identity, string transactionType, string directory, string filename)
{
try
{

[Code]....

View 2 Replies

IIS Configuration :: Website Slows Down When Hosted On Server

Jul 8, 2013

My asp.net site has very good performance on local ips on all the systems. But it 5 time slow down on live ip.

1. What could be the issue:

Server is not capable? I have checked the ping and it response time is 153 ms for each require on live ip but on local ip it gives < 1 ms response time.

2. I have not compile the solution just copy and paste on the iis and create virtual directory?

View 1 Replies

Web Forms :: Display Selected Value Of One DropDownList In Another DropDownList On Different Page

May 7, 2015

I have two pages manager and user both have drop downs as 

Week, Months and Years.

User have to enter some data week wise for each months and Manager have to approve that.

To Approve manager select months and week from dropdown on his own page and then navigate to User page.

How does I should bind the drop down so that if manager select 1st week from it's page and goes to view link of user then in drop down of user selected value shold be the same as selected by Manager on his own page.

View 1 Replies

Web Forms :: How To Show Different URL's On The Same Page Using Dropdownlist

May 23, 2010

I have an .aspx Page with dropDownList, where you can choose State. The list contains 50 States. Then I have a GridView displaying all the stores of this particular state, which is dependent on dropDownList through the SQL Data Sources WHERE clause.

But the problem is, every time I change the State in the dropDownList and subsequently refreshing GridView - the page URL stays the same dealers.aspx.

I don't want to create 50 pages for 50 States, but now I need to have 50 different URL's. Is there a way to change URL's dynamically, based on dropDownList choice? And so people can get directly to URL of choice. For example dealers.aspx/California.

View 30 Replies

Web Forms :: Pass DropDownList Value From One Page To Another?

Dec 11, 2010

Source.aspx

[Code]....

View 4 Replies

Web Forms :: Bind 2 DropDownList In One Page?

May 5, 2012

i have 2 Dropdownlist in my page that use 2 procedure to fill data how i can use 2 dropdownlist with 2 different procedure in my page?

View 1 Replies

Web Forms :: Dropdownlist Is Empty When Web Page Displays?

Feb 9, 2011

A web site project, 4 pages. First page just has button links to redirect to another page. When button link is cliced, the data is retrieved from SQL Server through stored procedures and they are in a class file. Able to call the procedures and pass the information through SET Properties and right before the page is displayed, checked and data is in the dropdownlist control then redirect to show page. The dropdowlist is empty, should I be using something different to show the page with the data? Have tryied REDIRECT and then fill dropdownlist and its still empty on displayed.

View 6 Replies

Web Forms :: How To Get The Selected Value When The Page Load In Dropdownlist

Oct 26, 2010

how to get the default value from a dropdownlist when the form load.

View 13 Replies

Web Forms :: Dropdownlist Jump To Anchor On Same Page

Jan 26, 2010

so I'm trying to get this dropdown thing to work but it's not working... I want the page to jump to the state on the SAME page once the USER releases on the desired state within the dropdownlist box.

HTML
<asp:DropDownList ID="ddltest" runat="server">
<asp:ListItem value="AL"> Alabama </asp:ListItem>
<asp:ListItem value="AK"> Alaska </asp:ListItem>
<asp:ListItem value="AZ"> Arizona </asp:ListItem>
<asp:ListItem value="AR"> Arkansas </asp:ListItem>
<asp:ListItem value="CA"> California </asp:ListItem>
<asp:ListItem value="CO"> Colorado </asp:ListItem>
<asp:ListItem value="CT"> Connecticut </asp:ListItem>
</asp:DropDownList>
<!-- New State -->
<a name="WY" id="WY"></a>
<div>Wyoming</div>
CODE BEHIND
protected void Page_Load(object sender, EventArgs e)
{
ddltest.Attributes.Add("onchange", "window.location.href = path.options[path.selectedIndex].value;");
}
}
}

View 5 Replies

Web Forms :: Howm To Refresh Page Update In DropDownList

Jan 12, 2011

I want dont refresh page updata DropDownList I donot use AjaxToolKit

View 2 Replies

Web Forms :: Dropdownlist / Getting To Update Objects On The Page The User Is Currently On?

Dec 1, 2010

I'm working on a school project where my website idea of choice is one that creates mixtapes (well, you'd download them or burn them from the site, but I need not implement that). The site allows its users to create 6 song mixtapes that are then published into a transaction table.

That part I am fine with. Making the selection page is tough. The way I have it set up is that there are 6 columns with 3 drop downs. First the user picks the genre, then the artist WITHIN the genre, and the song from the artist (GENRE > ARTIST > SONG). So, I would need the ARTIST drop-down list to populate once a SelectIndexChanged occured on GENRE. Same with SONG, but it would use ARTIST instead of genre.

Repeat that 5 more times and click a button, and it would create a table and post it to the database.

I have thought up of 2 ways to go about it.

1) Create a session that expires once the user clicks the "create" button. This would be sluggish, as there would be about 12 page refreshes, and 12 session variables I'd need to store.

2) AJAX/jQuery. This way would be awesome, but I have no idea how in the world to write jQuery in such a manner that on an event it calls a method from a code-behind file.

One thing I found out before my brain went to mush (I've been working on this for 6 hours now), is that one way people have done this is to call a non-related .aspx file that serves as a method. The idea is ok, but how do I go about getting it to update objects on the page the user is currently on? I'd believe there is a simpler way to do this, and am looking to you guys for some guidance on how to dynamically update dropdownlists.

View 2 Replies

Web Forms :: DropDownList Not Redirecting To Page Using OnSelectedIndexChanged Event

Feb 7, 2011

I have a DropDownList that is supposed to redirect the user to a page when they change the selected index of the DropDownList. I have three parameters that are being passed by this redirecting. The first time the user changes the selectedindex, it does not work. but every time after that it works.

<asp:DropDownList ID="fiscal" runat="server" AutoPostBack="True"
DataSourceID="SqlDataSource3" DataTextField="fiscalno"
DataValueField="fiscalno" style="margin-left: 28px" Width="130px"
onselectedindexchanged="fiscal_SelectedIndexChanged" >

[Code]....

View 5 Replies

Web Forms :: Cannot Retrieve DropDownList Selected Value On Page Load

Feb 4, 2012

I  have a drop down box , it has value that is retrieve from datasqlsource, however i want to get the count value on page load but it seem that it did not count

'Dim adapter As New SqlDataAdapter
'Dim ds As New DataSet
'Dim connectionString = ConfigurationManager.ConnectionStrings("myProject").ConnectionString
'Dim myConn As New SqlConnection(connectionString)

[Code] ....

View 1 Replies

Web Forms :: Redirect To Any Website Page On DropDownList Selection

Dec 6, 2013

Article located here: [URL] ... Code is simple, straightforward (especially with the stored procedure piece). I customized the code a bit to fit my requirement and it works great.

I would like to know if you can give me a hint on how to do the following:

My dropdownlist has 10 listitems. 7/10 works fine because they populate data from the db. However, there are 3 listitems that link to external sites and they have nothing to do with the db.

I have something in mind but I am not sure if it works or not. What I have in mind is I need to write some script:

In the web page, I need to use SelectedIndexChanged even

In the code-behind, I need to write something like this:

If listitem value = 'yahoo'  then 'www.yahoo.com else if listitem value = 'google'  then 'www.google.com else URL

View 1 Replies

AJAX :: How To Access Master Page Dropdownlist Control SelectedIndexChanged Event Inside The Content Page

Mar 20, 2010

i want to give id of dropdowncontrol inside master page, how can i assign this control id in trigger of updatepanel inside content page

View 1 Replies

Web Forms :: Retrieve DropDownList SelectedIndexChanged Event In Content Page?

Apr 28, 2010

I have in my MasterPage a DropDownList that appears in all my Pages. I want it to run a specific code when user select another item in the list, but the event SelectedIndexChanged in the MasterPage doesn't work. How can I do to get this event working?

View 1 Replies

Web Forms :: Search Database From Dropdownlist And Open Result In New Page

Mar 21, 2010

I have a Quick search box for a real estate website, which will search from the SQL server. I have two Radio buttons , and two dropdownlists. I want to display the result in a new page using the chosen criteria, I found this article but it's in VB, I want the code in C#. What i understad that i put this code for the search button:

[Code]....

What next?

View 8 Replies

Web Forms :: Can Bind A DropdownList To A Dictionary Object Directly On The Page

Mar 17, 2011

I've got a Dictionary<string, string> object I'm creating:-

[Code]....

and I wanted to bind this to a dropdownlist. I know this is possible in code-behind, but is it possible to do this directly on the asp: control, something like

View 8 Replies

Forms Data Controls :: Slow In Typing When Page With Dropdownlist

Jan 21, 2010

I have two webforms for different performance.If the slow web form with several dropdownlist with 10000 items from database, it will be delay when typing some letters in the textbox.But when typing letters in the fast webform with dropdownlist with 5 items from database, it will be no delay when typing some letters in the textbox

View 11 Replies

Forms Data Controls :: How To Passing Dropdownlist Value As Parameter To Another Page

Nov 25, 2010

how to passing dropdownlist value as parameter to another page?

View 3 Replies

Web Forms :: Page Flickers When Setting Selectedvalue Of Dropdownlist With More Than 20 Items

Nov 25, 2010

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).

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved