398 Row Datalist Slowing Down Modal Open?

Jun 14, 2010

I got a weird issue.. I have a datalist that's only loaded on pageload it contains 2 columns a name and date and has 398 rows.. In IE 7 and above(and prob previous version) when I open a modal via a button click it takes almost 5 seconds to open. HOWEVER, if I do not bind this datalist it's MUCH faster..

Also this is only happening in IE, Chrome, Firefox and opera both open the modal instantly with the datalist binded...

<asp:DataList ID="dListObitOneLiner" runat="server" style="margin-left:5px;"
OnSelectedIndexChanged="dListObitOneLiner_SelectedIndexChanged"
RepeatColumns="1"
DataKeyField="ObitId" >

[Code]....

View 1 Replies


Similar Messages:

Data Controls :: Open Associated Image In Modal Popup When Button Is Clicked In DataList Item

Jun 25, 2012

Display the modal popup image when click button on datalist for each item.

View 1 Replies

Modal Popup - Keep It Open

Jun 30, 2011

i have a page with TWO modal popups. Both contain very similar elements.

Both update panels contains a datagrid. At first my update panel would close when i selected an item in the datagrid. I managed to fix this in the first one by properly putting the items that should not postback into an update panel. I cloned the first panel to create the second panel and yet, in the second panel, selecting an item closes the modalpopup.

I'm not seeing what is different about the two:

Popup that works:

Code:
<asp:Panel runat="server" ID="AddTopicPanel" BackColor="LightBlue" Height="600px" Width="400px" style="border:2px solid black; margin: 10px">
<asp:updatepanel runat="server" >
<contenttemplate>

[Code] ....

Popup that Does Not Work:

Code:
<asp:Panel runat="server" ID="EditTopicPanel" BackColor="LightBlue" Height="600px" Width="400px" style="border:2px solid black; margin: 10px">
<asp:updatepanel runat="server">
<contenttemplate>

[Code] ....

View 2 Replies

AJAX :: How To Pass A Querystring Value To A DataList Inside A Modal Popup

Dec 16, 2010

I've got a datalist sitting inside a modal popup and i'd like to pass a querystring value to it when the user clicks to open the modal popup.an anyone point me in the right direction?Written w/ C#.

View 5 Replies

AJAX :: Datalist And Control Toolkit Modal Popup Window?

Sep 3, 2010

I have created list of thumbnail images in datalist and on clicking image i want to pass image name to Ajax control toolkit Modal Popup window which display bigger image.

View 2 Replies

VS 2008 Open The Form A Modal Dialog Box?

May 4, 2010

Code:

[code]....

Secondly,I want to open the form a Modal Dialog Box,Is It Possible?/

View 6 Replies

Javascript - Window.open As Modal Popup?

Oct 14, 2010

I want open window.open as modal popup.

var features = 'resizable= yes; status= no; scroll= no; help= no; center= yes;
width=460;height=140;menubar=no;directories=no;location=no;modal=yes';
window.open(href, 'name', features, false);

I can use Window.ShowModelDialog(), but in my child window I am calling parent javascript method. That is not happening with ShowModelDialog().

function CallParentScript(weburl) {
alert(weburl);
if (weburl != null) {
var url = weburl;
window.opener.SelectUserImageCallback(url);
window.close();
return false;
}
}

If I use window.open(). I can call Parent javascript. But window is not modal. How to solve this? Can I write something in child popup to always top?

View 3 Replies

MVC :: Looping Over Values And Open Partial In Modal For Each?

Feb 16, 2011

Got a list of checboxes. User check a few and click a button.

In my jQuery script, I loop over all checked items. For each call a controller action that will return a partial view, which I will display in a modal.

However, before opening the next item in the modal, I first want to let the user finish the current one.

How to explain? Ok, like if you placed an alert in the loop (below)...nothing goes on until you close that alert. Can one do that?

[Code]....

View 3 Replies

Web Forms :: Open Aspx Page In Modal Pop-up?

Feb 16, 2011

on link click i am using window.open of javascript to open aspx page.

but i want to open new aspx page in ajax controlkit's modal pop-up, because there could be a chance of disabling the pop-up's (window.open) in browsers.

View 1 Replies

Make 5 Links To Open The Same Modal Popup?

Mar 22, 2010

I have 5 links that are on the same form but I would like them all to reference the same AJAX modal popup extender. I am basically showing a panel with the same view layout with just different data depending on which link is pressed, showing different match scores from games.

The only way I can get it to work is have 5 panels with unique names where each link references its own panel. Can I make all the links call the same panel?

View 1 Replies

AJAX :: Open Up A Modal Pop Up Dialog With A Gridview Inside?

Oct 28, 2010

I m trying to open up a modal pop up dialog with a gridview inside. The problem is there is no pop up opens when i click the button. Here is the code below.Any help would be great.

[Code]....

View 14 Replies

AJAX :: Open Modal Pop Up Without Target Control By Code?

Mar 7, 2011

How Can I open Ajax Modal Pop up without Using Target Control Popup Event.. i want to open it by Code Condition in .CS ..... so how can i handle that

View 4 Replies

AJAX :: Open Modal Popup And Keep The Radio Button Selected?

Mar 22, 2011

I 've a form in the parent page with many form elements.

I've 2 radio buttons with values "Yes" and "No". I am opening a modal popup when clicked on "Yes" radio button. The modal popup is opening fine.

But when I click "Yes", it' s not selected. After modal popup is closed, when I return to parent page, the option "Yes" is still not selected.

How to make it selected when clicked and open popup?

Part of my aspx code is below

[Code]....

View 5 Replies

C# - Parent Window From Which Open A Modal Dialog On Button Click?

Nov 19, 2010

I have a parent window from which i open a modal dialog on button click. In WinXP with IE8 it works just fine, but in Win7 with IE8, upon opening the modal dialog it brings me to the login screen. If i enter my credentials, close the dialog and open it again, it works.

The explanation i figured out is that the session isn't transfered between parent and child. The modal is opened with javascript window.open function.

I don't want to store the credentials in a cookie and then read it in my modal because it's a security no-no. Is there an explanation why this is happening in Win7 and not in XP and is there a resolution for this issue?

View 1 Replies

Open An Apsx Page From SilverLight Application As A Modal-dialog?

Oct 7, 2010

How can I call an aspx page from a SilverLight application, so that it opens in as a modal dialog and it blocks interaction with the SL application until the dialog is closed?

View 2 Replies

AJAX :: How To Keep Modal Popup Open If Validation Error Occurs

Jun 4, 2013

I am using one simple captcha form in modal popup so when i am inserting the captcha text in textbox if it is not validating

then in the same page i used one label to show the error "not validated". but when i click on the button modal popup is getting hide.

Here is my design code:

<div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<Triggers>
<asp:PostBackTrigger ControlID="btnExcel"/>
</Triggers>
<ContentTemplate>
<asp:Panel ID="Panel3" runat="server" Width="300px">

[Code] ...

And here is my code behind:

 protected void btnExcel_Click(object sender, EventArgs e) {
Captcha1.ValidateCaptcha(Txtcaptcha.Text.Trim());    
if (Captcha1.UserValidated) {   
HiddenField1.Value = "0";   
VerifyPassword(txtUsername.Text, txtPassword.Text);
} else {
Label6.ForeColor = System.Drawing.Color.Red;  
Label6.Text = "Not validate";        
} }

i want it if it's not validate in the same modal popup page it should show the message.

View 1 Replies

Data Controls :: Select Post From DataList By Click Of Button And Display On Modal Popup

Apr 27, 2016

I have a datalist that displays all records from table but i have a button select on the datalist and i want to use the button to select each record of the column and display it on modal...here is my code

GetPost2(username);
}
}
public void GetPost2(string username)
{
// int followerid;

[code]....

View 1 Replies

Forms Data Controls :: Open Detailsview Modal From Child Gridview?

Apr 29, 2010

I am trying hard to open a detailsview in a modal popup using ajax modal extender. Although I am able to open the modal but the page is making a postback when I click the template field in my child gridview.

Here is my chid gridview code

[Code]....

View 2 Replies

Data Controls :: How To Open Partial View On Modal Dialog Popup Box In MVC

Sep 12, 2013

I am using mvc 4. Then How to open Partial view on modal dialog box?

View 1 Replies

Validator Controls Slowing Down Page?

Mar 11, 2010

have an UpdatePanel that has user controls dynamically added to it. There can be a few dozen user controls at times.

The page / UpdatePanel slows down big time on each postback as more user controls are added. After some digging, I was surprised to find the cause is the various CompareValidator, CustomValidator, RegularExpressionValidator and RequiredFieldValidator controls that exist on each user control.

Does anyone have suggestions? It strikes me as very peculiar that inclusion of these ASP.NET controls could have such a horrible effect on performance.

View 3 Replies

How To Open A File Which Is Bound To Datalist

Jul 16, 2010

I have developed an application in which i bind the files present in a folder to a datalist control.I have used an hyperlink field to open the file .But when i click the hyperlink it directs to the directory rather than opening the exact file.provide a solution to this.I need to traverse the files and subfolders present in the root directory.

View 4 Replies

Web Forms :: Display Details Of DataList Item In JQuery Dialog Modal Popup On Button Click

Jul 7, 2012

i want to display the details of datalist  of partiicular row  using jquery, on click of hyperlink "view" inside datalist item template .. i want to avod ajax popup modal   

View 1 Replies

Forms Data Controls :: How To Open Modal Pop Up When Grid View Edit Is Clicked

Jan 5, 2011

How to Open modal pop up when grid view edit is clicked

View 2 Replies

AJAX :: Show (Open) Modal Popup Window On DropDownList Item Selection

May 7, 2015

How to open Popup Window from dropdown list ...... [URL] .... Like this link but open in dropdown selected item.

View 1 Replies

AJAX :: Open (Show) ModalPopupExtender Modal Popup On DropDownList Change (selection)

Nov 22, 2015

I want to generate a modalpop by selecting the item either from menu tool or the dropdownlist tool using asp.net c#.

View 1 Replies







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