|
yup, I cleared the cache on all three before testing, they load very fast. It's a mystery.
|
|
|
|
|
A large amount of JavaScript does that to IE, while FF handles it gracefully.
I've created a complex AJAX form and the more javascript events you attach to the controls, the slower it is in IE. It even crashed everytime I close IE after opening the application
The only way you can fix this is preferably to separate the form into several pages, or reduce the events attached (especially to the textboxes and similar controls).
"A democracy is nothing more than mob rule, where fifty-one percent of the people may take away the rights of the other forty-nine." - Thomas Jefferson
"Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." - Benjamin Franklin
Edbert
Sydney, Australia
|
|
|
|
|
Hi All,
I got a chance to view your explanation for the _DoPostBack function. However, can this function return any values back to the client side and then can submit the form.
My scenario is like,
I am using frames. In one of my frame there are user inputs for the user name & password. So when the user enters the details & clicks the submit button on the parent page, the user credentials should be authenticated & then submitted. So I am eager to know whether _DoPostBack method can return any values.
Please suggest me how can I achieve the scenario.
Thanks in Advance,
Malli
|
|
|
|
|
It doesn't have to. When the form is posted, the contents of the fields are sent in the form data.
---
b { font-weight: normal; }
|
|
|
|
|
Hi Guffa,
Thanks for the reply.
The user details for authentcation will be in on one of my frames. But the submit button will be on the parent page. So after the user enters the details in the Iframes, after authenticating the user the form should submit.
Can you please send me any sample code for achieving the same if possible.
Thanks,
Malli
|
|
|
|
|
What do you mean by authentication, then? Isn't the server doing the authentication?
If you want to get the data from the fields of the form in the page in the iframe, you access them something like this:
var username = doucment.getElementById('IdOfTheIframe').document.getElementId('IdOfTheField').value;
---
b { font-weight: normal; }
|
|
|
|
|
User wants to change the content of web page.
They are all non technical guys and they have least knowledge of HTML to begin with.
We need a page that exactly works like microsoft word for them so that they do not take a pain of knowing html syntax while editing the content.
Problem with using word and saving it as html creates a lot of junk tags like meta tags etc., which we do not want to use it.
Any idea on how to tackle this type of scenario ?
|
|
|
|
|
I've found this component works well for what you describe in all major browsers:
"r.a.d.editor is the leading WYSIWYG rich-text editor for ASP.NET. It can replace any TextBox with an intuitive Word®-like editor, which enables even non-technical users to visually manage HTML content."
http://www.telerik.com/products/aspnet/controls/editor/overview.aspx[^]
|
|
|
|
|
I have an image in an item template on a datagrid (asp.net & vb.net).
I want to hide the image dependent on the value in another column.
How can I do that ?
|
|
|
|
|
You can simply use the data binding expression to set the Visible property of the image, and in the expression you can populate the value of the Visible property based on other columns, some thing looks like ... Visible="<%# ... %>"... .
|
|
|
|
|
How do you create a web browser plugin?
|
|
|
|
|
Visit the home page of the browser developer for which you wish to create a plugin. Click on the appropriate links to navigate to their documentation for creating a plugin for their browser.
|
|
|
|
|
I'm having an issue with my datagrid. My grid is dynamically populated via my Sql Server database and each grid row contains a ButtonColumn with an imagebutton. If my page remains idle for more than 5-10 minutes after populating the grid (i.e. if I don't perform some type of action on the page such as clicking a button on the grid), then the entire grid loses its data. It simply goes blank.
One thing I noticed is if I click on a button on the page after this 5-10 minute period, the page never even accesses the button onClick event in the code behind. It simply accesses the Page_Load event and that's it.
Anyone know why this may be occurring?
Thanks.
-goalie35
|
|
|
|
|
I think your session got killed.
Either try to set a longer timeout for the session or you may have something that killed the session (I believe there are several reasons why a session could terminate quicker than the normal time).
"A democracy is nothing more than mob rule, where fifty-one percent of the people may take away the rights of the other forty-nine." - Thomas Jefferson
"Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." - Benjamin Franklin
Edbert
Sydney, Australia
|
|
|
|
|
Hello All
Can u pls help regarding viewstate..........
I'm using user contol for some code. Also using viewstate on form1.aspx(e.g.). User control is placed on this form. I need to access form viewstate value on usercotrol. is it possible?
is viewstate written on FORM available on User Control?
Pls help me in this regard.
Balasaheb
Software Developer
|
|
|
|
|
What is the Form viewstate value that you're looking to get? Do you mean a control value on that form that is stored in viewstate between postbacks?
|
|
|
|
|
Hi! You need to create a public property(set & get) in your user control.When you do this you can set the value of this property to anything your like (Viewstate in your case).
string name;
public string Name
{
set
{
name = value;
}
get
{
return name;
}
}
Access it in form like UserControl1.Name =Viewstate["object"];
Regards
|
|
|
|
|
Hi,
I am trying to create an web page using ASP.NET 2005, which should save data to data base SQL with out submiting the page or form. The web page should not submit and reload. On clicking an or moving an object i has to save it.
Plz any one suggest me with an example..
Know is Drop, Unknown is Ocean
|
|
|
|
|
Use AJAX to send a request to the server.
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
Thanks for you replay, Plz give me some examples links or tutorials, so i can able to understand it easily.
Once again thanks a lot
Know is Drop, Unknown is Ocean
|
|
|
|
|
|
Hi
I am using COM object in Web Application. There is a problem to solve authentication & authorization issue for Server site. At the time of using the COM object it shows the error " ACCESS DENIED ". If I am writing <identity impersonate="true"> in web.config, it is OK but the AJAX file is not accessible for that reason.
if I am using iisreset in Run command, then the whole application is OK, but it is not possible to reset iis again and again in production server. Have you any idea for this?
For more clarification, suppose there is a link in a Web page interface. After click the link, one Word document will open. How we solve authentication/authorization issue in iis without affecting to other files like AJAX.
I am using ASP.NET with C#. I am not using MTS.
any idea, please write.
regards
|
|
|
|
|
Because, you set anable the impesonation in the web.config file and that will affect the entire web site, instead you may consider impersonating in code at runtime whenever you want to work with the COM object, for more information see http://support.microsoft.com/kb/306158/EN-US/[^]
Btw, are you using the Automation (with COM object) to work with the Word document? If so, you may consider using a third party library instead of COM.
|
|
|
|
|
hai2muru wrote: Pls......................
The title makes no sense, see Chris's tips[^]
Google[^] may quickly answer for this sort of questions.
|
|
|
|
|
Using VS 2003 is there any way to create a conditional web.config?
As that question is a little vague let me explain. In my project I use the web.config file to define various authorisation levels for specific areas of the project. For development purposes, under debug builds this config is not as restrictive as the release build.
At the moment, when we created a release build we have to manually alter the web.config file to release settings. On occasion, unfortunately some permissions have been missed or this manual process has faild somewhere.
So is there a way to create code style conditional statement in the web.config?
As an example:
#if DEBUG
<location path="MyPages/page1.aspx">
<system.web>
<authorization>
<allow users ="*" />
</authorization>
</system.web>
</location>
#else
<location path="MyPages/page1.aspx">
<system.web>
<authorization>
<deny users ="*" />
</authorization>
</system.web>
</location>
#endif
If this isnt possible is there any way of having two web.config files, one for release builds the other for debug builds? I suppose this could be done via some clever post build event scripts, however if there is an "official" method I would prefer to use that instead.
|
|
|
|