Click here to Skip to main content
15,895,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Now i am using the iframe for loading the aspx page with gridview editable option, its take more time for loading but it works fine.so if u any find alternative solution for loading page quickly..
Posted
Updated 27-Feb-15 1:54am
v2
Comments
ZurdoDev 27-Feb-15 7:57am    
We can't see anything you've done so there is no way for us to know how to make your code faster.
Mohana Chandiran.R 27-Feb-15 8:08am    
aspx code
<iframe src="settings.aspx" ></iframe>

settings.aspx
-----------------

That page contain gridview with edit template option.

if i will use asp:panel insted of iframe edit option is not working.
ZurdoDev 27-Feb-15 8:19am    
Edit option has nothing to do with iframe. It can work in an asp panel. But how can anyone know how to make it faster? You still haven't given us any info.
Mohana Chandiran.R 2-Mar-15 1:17am    
you couldn't understand my situation.I am using iframe in popup window. i click popup button, every time, the i frame page is loading. so i am using ajax post method ..

$.post("NewSettings.aspx", function(data) {

//$( "#set" ).prop( "disabled", true );
var iframe = document.getElementById('frameSettings');
var iframedoc = iframe.document;
if (iframe.contentDocument)
iframedoc = iframe.contentDocument;
else if (iframe.contentWindow)
iframedoc = iframe.contentWindow.document;
if (iframedoc) {
iframedoc.open();
iframedoc.writeln(data);
iframedoc.close();
}
alert(iframedoc);
// $( "#set" ).prop( "disabled", false );
isopen = true;

//document.getElementById("frames").src = "NewSettings.aspx";
});

for loading newsettings.aspx in ifrmae.
It's working fine. But i will use asp:panel for loading page it's not working newsetting.aspx grid edit option..
ZurdoDev 2-Mar-15 7:40am    
Again, you say it is not working but you don't tell us the actual problem.

It's like you are calling your mechanic on the phone and telling them that your car does not work.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900