AJAX :: Extremely Slow GridView - PopupControlExtender Showing ListControls In GridView
Mar 22, 2010
I'm using PopupControlExtender in a GridView, which pops up various dropdowns, treeviews, calendars etc. depending on which cell is clicked. I'm populating the dropdowns on the OnPreRender event. The result is, GridView is becoming extremely slow. I've tried removing Calendar controls, the Grid is still very slow. My guess is the enormously large source view of the page, resulting from populating controls on PreRender. Here is a sample ItemTemplate:
[Code]....
My goal is to populate the controls inside popup panel only when that panel becomes visible. I tried using OnResolveControlID event for this in PopupControlExtender. But strangely enough, that event fires only when control is NOT found, contrary to what its name suggests.
Anyway, my goal is to populate the popup panels controls (mainly ListControls) ONLY when their container panel becomes visible - hoping that this will make the grid faster. The same grid works perfect with AutoGenerateColumns=true and no populating of ListControls (not an option). Also, I'm NOT using debug option in web.config.
View 4 Replies
Similar Messages:
Mar 25, 2010
I have a 20 PopupControlExtenders for 18 columns in a GridView. Every popup is has different content: HtmlSelect, HtmlAnchor, HtmlButton CheckBox etc. etc. -depending on the cell it is clicked on.
I'm using combination of DynamicContextKey, DynamicControlID and DynamicServiceMethod to populate these popups.
The problem is, when the grid is first loaded, all popups in all columns populate correctly. Problem arises when I flip a page in the gird. On the new page, the popup comes up, but there is no content. And NO error (like 500 or something). Now when I go back to the first page, no popup shows content here either. What am I doing wrong? Here is a sample ItemTemplate:
[Code]....
View 1 Replies
Feb 18, 2010
So i'm new to AJAX and just installed the AJAX toolkit.
When i have tried to used any of the object there my page are really slow, it like the server is forever to compile the site and when that is done the browser shows it in a flash.
You can see here :
[URL]
This is not a problem when using only ASP.NET.
When i debug in VS2008 i can see that is looking for some random files when compiling like C:AjaxBuildAjaxServerAjaxControlToolkitToolkitScriptManagerToolkitScriptManager.cs and alot of other stuff, it goes through alot of setting there and i think that is the hold up, why it's so slow.
I have Sp1 installed, running Windows 7 64bit.
These pages are very small and standard. I basicly drag a toolkitscriptmanager, htmleditor, textbox and two buttons to the form. There isnt more.
This is the code for the first page :
[Code]....
The host has AJAX support and has installed SP1 for .NET.
View 8 Replies
Jan 18, 2010
I've set up a msSQL remote connection on a GoDaddy shared hosting account (known as Direct Database Access).I'm doing some javascript/HTML/css work on the site and don't need/want to have to download/manage a separate database.The remote connection works and the pages load as expected. However, each time I request a DB driven page in my browser it takes about 2-4 minutes before the page is sent/downloaded.Could this be a limitation set by godaddy to discourage connecting to the database remotely?Is there anyway to set up a "proxy" on the production server to get the query results?Are there any alternative methods for connecting to the DB you could suggest?Should I just stop whining about it and setup a local copy of the database?
View 1 Replies
Mar 12, 2010
im working with gridview i have to send a mail to client from my client datagridview i used popupcontrol to send a mail this is my Code
<asp:TemplateField HeaderText="Call for meeting">
<ItemTemplate>
<asp:LinkButton ID="lnkBtnCall" runat="server" Text="Call" CommandName="CallForMeeting"></asp:LinkButton>
[code]...
View 5 Replies
Nov 9, 2010
I am using AUtomapper which I am very impressed with however, I have a complex object with many nested collections. I'm using Telerik OpenAccess and it returns the 1400 records fast but when I pass it to Automapper and it slows to a ridiculous crawl. Here is my code for reference:
List<DAL.Event> query = httpContext.Events.Where(e => e.Inactive != true && e.Event_Locations != null).ToList();
Mapper.CreateMap<DAL.Event, EventDTO>();
Mapper.CreateMap<DAL.Event_Association, EventAssociationDTO>(); [code]....
View 2 Replies
Jul 7, 2010
I have a gridview control in which rows have textboxes associated with a PopupControlExtender. The popup is just a panel with some checkboxes, ok, cancel buttons, etc. When the popup is shown and the Ok button clicked, I need to know which row in the grid, or which textbox in the row, is currently associated with the shown popup. How do I accomplish this?
View 6 Replies
Jul 8, 2010
I have popucontrolextender inside gridview and by using dynamicservicemethod I could pop out panel. I followed following article to accomplish this.
[URL]
However, one of my popup takes a while to come up and I am sure users doesn't want to wait that long for panel to pop up. I want something like progress bar image to come up after user hit the row in the gridview. I can do this in modalpopupextender but I can't find any example to accomplish this using PopupcontrolExtender inside gridview using dynamic service method.
View 7 Replies
Mar 19, 2010
I have a Gridview containing 10 columns and anywhere from 10 to 40 rows and each cell contains either dropdown or input boxes.I also have a calendar control that changes the data displayed in the gridview.Right now I have an outer update panel around the entire gridview and then I have inner update panels around each control, so potentially 400 update panels depending on the amount of rows for each day.The individual control updates happen fairly quickly if I for example change a dropdown etc, but when I change the day and the entire gridview has to refresh it is painfully slow.On average 30-50% of the cells will be manipulated between change of date. What is best practise? Right now it is to slow.
View 2 Replies
Mar 8, 2010
Is it possible to show a GridView cell's content using AnimationExtender control in AJAX control toolkit?
View 1 Replies
Jan 8, 2010
I have put my gridView inside an UpdatePanel with Timer control for auto refresh.The gridView has a linkButton column which is bounded to referenceNo column from database.
On click of this link button i want a panel to get visible. This Panel contains details corresponding to the referenceNo shown in differnt controls (mostly texboxes). Do i necessarily need to put the panel inside the Update Panel.If not how do i do it?
I have tried putting panel outside UpdatePanel, but it doesn't show panel on clicking the linkbutton nor does the values are updated inside this panel (if panel's visibility is set to true by default for testing purpose).
View 4 Replies
Mar 9, 2010
I have a drop down list that hides a panel with a bunch of controls when a certain value is selected, and shows the panel again when some other value is selected. This works fine. However it's slow when running both on my local webserver and on my web host, and takes about 1-2 seconds. What could be the reason for this? The only thing I do is to check which value is selected and hides/shows the panel.
View 9 Replies
Dec 10, 2010
can i popup two or more controls using popupcontrol extender because i have 5 checkbox ( i can't use check box list ) is there any way to do this
View 1 Replies
Jan 20, 2011
I am using gridview. In which i m entering some value in textbox in Gridview.According to that value, i m generating datatable and binding it to the Gridview(Child Gridview).But when i m doing this, the performance of the page is very slow. How do i improve the performance.
View 3 Replies
Feb 9, 2010
I have a toolbar at the bottom of my site, wrapped in an lwaysVisibleControlExtender. When I press on the of links on the bottom, I want a popup to appear such that it appears joined to the link on the toolbar (very much like facebook chat). How do I use the popupcontrolextender to position the popup, even when the popup can have variable height?
View 4 Replies
Feb 21, 2010
I use the PopupControlExtender to show a Panel after clicking a ImageButton. The Panel can be closed by clicking the page outside the Panel. This is working fine.I added an Animation Fading Out the Panel when the Panel is clicked (I have no close button on the panel). This is working fine too.The problem comes when I click the Imagebutton (The Panel appears) followed by clicking the Panel itself (The Panel disappears). If I now click the Imagebutton again, nothing happens as if the animation was not considered finished. The Panel should have appeared again.
If I change the focus on the page, then the animation is in some way reactivated and the popup works again. I already tried the following :
- <EnableAction AnimationTarget="ImageButton1" Enabled="true" />
- Setting the focus to a random control on the page using <ScriptAction />
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/App_Themes/Images/Vraagteken.gif" OnClientClick="return false;" UseSubmitBehavior="false" ToolTip="Kies de bedrijfs sector waarvoor de tekst is bedoeld" />
View 6 Replies
Apr 20, 2010
I know this may be easy, but I have looked at it for a bit of time and maybe my brain is going in circle.OK, I am learing PopupControlExtender. Looks like it is a good thing to have. One (style of) example is to have a TextBox. Click on it and the PopupControlExtender will come up. Sample code may be like the Example 1 in this
Introduction.
Question:
Why there is a need to put UpdatePanel inside the Panel? It is the TextBox which needs to be updated. Why the TextBox is not put into an UpdatePanel? (I try Example 1 and it works without having to put the TextBox inside an UpdatePanel.)
View 3 Replies
Jun 17, 2010
I have a textbox which uses a popupcontrolextender. I would like the textbox text to be populated on page_load with default text. If I do this the page does not recognize the textbox as having text when the form is submitted. Why does the popupcontrolextender do this to the textbox and how can I make this work?
View 1 Replies
Nov 22, 2010
I am using C# Multiview on a log-in/forgot user name page and I would like to avoid new windows each time I change view id inside the Multiview.Right now the page uses "window.showModalDialog" and I would like to remove the js from the page.This lead me to the PopupControlExtender. How do I use the PopupControlExtender and Multiview in combination? e.g. a radiobuttom provides the desired view index and only this view is shown in the pop-up?Did I misunderstand the purpose of the extender?
View 2 Replies
Jan 11, 2011
I need to show a popup when the user hover over a Listview item, for this I am using the PopupControlExtender which is placed inside the Listview ItemTemplate. The popup panel always shows inside the Listview item. How can I control the positioning of the popup panel to show outside the Listview ItemTemplate ?
View 4 Replies
Feb 20, 2010
I use the PopupControlExtender to show a Panel after clicking a ImageButton. The Panel can be closed by clicking the page outside the panel. This is working fine.
I added an Animation Fading Out the Panel when the Panel is clicked (I have no button on the panel). This is working fine to.
The problem comes when I click the Imagebutton (The Panel appears) followed by clicking the Panel itself (The Panel disappears). If I now click the Imagebutton again, nothing happens as if the animation was not considered finished. The Panel should have appeared again.
If I change the focus on the page, then the animation is in some way reactivated and the popup works again. I already tried the following :
- <EnableAction AnimationTarget="ImageButton1" Enabled="true" />
- Setting the focus to a random control on the page using <ScriptAction />
Is there a way to reset the animation using Javascript ? Using "setValue(value);" ?
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/App_Themes/Images/Vraagteken.gif" OnClientClick="return false;" UseSubmitBehavior="false" ToolTip="Kies de bedrijfs sector waarvoor de tekst is bedoeld" />
View 1 Replies
Apr 1, 2010
As the subject says: I am wondering what the ExtenderControlId attribute of the PopupControlExtender is used for? When I click "Add Extender" through the context menu of an control in the designer, the code of a PopupControlExtender is generated, but the ExtenderControlId attribute is empty. By the way: Is there a documentation of the AjaxControlToolkit-Controls which provides a description to every Member like the ExtenderControlId?
View 1 Replies
Oct 19, 2010
I am displaying links in gridview. When user clicks on link....big image is displayed. Everything is working fine.
As of now i am redirecting user to LargeImage.aspx..where i am able to display the largeimage.
But I need to display the large image within a popup in the same page where gridview is present.
User must be able to close that popup and return to the page(containing gridview).
I would like to do it with a popupcontrolextender.
View 2 Replies
Oct 17, 2010
I have two pages with TabControls and the tabcontrols have several tabpanels. On one page there are some popupcontrol extenders on the first tab, and that page works fine. On the second page, the popupcontrolextenders are on the second tab. When that page loads, I get the following jscript error:
Microsoft JScript runtime error: Sys.ArgumentException: Value must not be null for Controls and Behaviors.
Parameter name: element
I've tried setting the Enabled property to false for these popupcontrolextenders until that tab becomes visible. This prevents the error on page load, but but then the same error happens as soon as that tab becomes visible.
Is it possible to use a popupcontrolextender on a tabpanel, or should I give up and try something different?
View 3 Replies
Dec 14, 2010
I have a text box with an associated popupcontrolextender.This opens a panel containing a checkboxlist. What i want to do is add the values selected in the checkbox list to the text box when the user clicks out of the panel.I started to use the OnselectedIndexChanged, of the checkboxlist and update the text box after every checkbox has been checked / unchecked.But the checkboxlist is quite long and when you click one of the checkboxes near the bottom,because everything is in an update panel,the checkboxlist scrolls to the top after the autopostback not very user-friendly.
View 1 Replies