I have been looking at improving my asp.net page performance, is it worth changing autoeventwireup from true to false and adding the event handlers or is the performance penalty very small?
This is an asp.net 2.0 project.
...
What's your opinion for the best possible way to build asp.net multilingual localized web application (only UI localization of string resources). Especially this two things:
How to store resources? Xml files, resx files or something else?
How to handle URL's? I don't want to keep language parameter in query string all the time so I nee...
Looking for a easy to understand database design intro book and mid level ASP.net book. Do you have any recommandation?
...
I need to schedule several different pages on several different sites to be run at certain times, usually once a night. Is there any software out there to do this? it would be nice if it called the page and then recorded the response and whether the called page was successful run or not. I was using Helm on a different box and it had ...
Hi,
Would you guys think that a master page should be part of the company's framework or it should be part of each application? Or perhaps the company's framework should only have a interface to provide the least functionality to all master pages ?
Currenlty we face two problems: Firstly, the original idea was to have a common layout f...
I recently switched my hosting provider and due to the time zone that the server is now in, my code has stopped working.
The hosting server reports in Pacific time, However, my code needs to work with GMT as my site is for the UK market. So, all my displays and searches need to be in the format dd/MM/yyyy
How can I account for the dif...
Here's the scenario:
I have a textbox and a button on a web page. When the button is clicked, I want a popup window to open (using Thickbox) that will show all items that match the value entered in the textbox. I am currently using the IFrame implementation of Thickbox. The problem is that the URL to show is hardcoded into the "alt' ...
We have an application that does single sign-on using a centralized authentication server (CAS). We'd like to do single sign-out, such that if the user logs out of one application (say a front-end portal), the user is automatically signed out of all applications using the same single sign-on ticket.
The expectation would be that each a...
Hi,
In my fieldset I have labels next (side) to my textboxes, but for some reason, they are towards the top and not middle. Here is my CSS for the fieldset
fieldset {
clear: both;
font-size: 100%;
border-color: #000000;
border-width: 1px 0 0 0;
border-style: solid none none none;
padding: 10px;
margin: 0 0 0 0;
}
label
...
When I have a child .ASCX control that needs to affect something in the parent page I'm not completely sure how I am supposed to handle the event flow in the case where I need to update something in the parent page.
What I've always ended up doing is putting logic into the 'Pre_Render' event handler.
Since this is processed after any c...
Hi, I have a web page where the user select a Company and with that I keep the Company name in memory though a Session but when I go to the next page the Session only last like 5 minutes?
Any reason why and how I can fix this, I did extend the Session state in the Web.config but that did not work.
Example: Session("CompanyName") = "Byte...
I have downloaded the silver light from this http://www.microsoft.com/silverlight//
I need to use this as custom toolbox in my Visual studio please let me know how to add this
and use the controls
...
hi
I am working on a project and I have one page that displays a calendar extender in English and another extender in another page in Hebrew. How do I set up the culture of a control/page?
The page that displays the calendar extender in Hebrew, also displays the File uploader in English, how is that possible?
...
I am having an ajax tab control in my page each tab contains some 15 controls. My tab container has some 10 tabs.
Its take some time load in my web page. Please let me know how to reduce the page loading time. or anyother suggestions
Since the number of database calls are less.
The controls are read only displays.
...
Working in VS 2008
When working on on ASPX file in Source mode, if i've specified a StyleSheetTheme in the page directive of the file, then Visual Studio will provide me with AutoCompletion lists of the possible skinID values for a control
e.g.
<asp:Button ID="myButton" runat="server" SkinID="
//Having typed this much, I'll get an in...
In any (non-web) .net project, the compiler automatically declares the DEBUG and TRACE constants, so I can use conditional compiling to, for example, handle exceptions differently in debug vs release mode.
For example:
#if DEBUG
/* re-throw the exception... */
#else
/* write something in the event log... */
#endif
How do I ob...
Are there other possibilities besides IIS for hosting web sites and web services based on ASP.NET, which are recommended by Microsoft for small-scale environments?
...
Hi
I display flash objects by pointing the Movie and Src params, as well as the embed-tag's src attribute to an HttpHandler with a filename as QueryString.
<OBJECT codeBase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7.0.19.0" classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width="468" height="60">
...
I have a GridView defined like this:
<asp:GridView ID="myGridView" ruant="server">
<asp:BoundField DataField="myField" />
<asp:CommandField ShowDeleteButton="true" ShowEditButton="true" />
</asp:GridView>
After I put a row into edit mode with the Edit button, how do I capture the Enter key and trigger the resulting Update on t...
I'm dynamically generating an asp form, and I would like to add the label and input elements inside a list.
For example, I would like to end up with something like:
<ul>
<li><label for="input"/><input id=input"/></li>
</ul>
To do this, I create a Label object and a TextBox object, then assign the AssociatedControlId property of the L...