hi...
I google about Page_preRender that how can we use Page_PreRender rather than page_Load or what could be the scenario where we could not use page_Load and have to use Page_PreRender but every place I find that,
"The point at which the objects are prerendered is the last time changes to the objects can be saved or persisted to vi...
hi guys,
Can anybody give brief idea of class relations?
...
Hello all.
I'm trying to create a setup in my ASP.NET website that allows me to enable/disable logging while the application is running at any point. I figure some of you have already done such a thing.
Here's the gist of what i'm trying to do:
if(ShouldBeLogging)
logger.Info("helloooooo there");
So how would you set up the boolean ...
I have a thread-safe object which is part of an API previously used in windows service/client scenarios. This thread-safe object is essentially a singleton and stored in a static variable so that all callers can access the same state.
This API has recently started being used in an ASP.NET application, and I suspect that some funky behav...
I have an asp.net application that uses validation controls on textboxes. However, if the user enters a value in txtFieldA, then I want to disable the validation controls on txtFieldB and txtFieldC.
...
Hi
I want to make a web page that lunches an exe on the server when loaded
i tried php:
exec('filename');
but this wont show the gui it only work with console apps
i also tried .net to do that it worked when debugging but not when using iis
any one can help me?
...
I have a asp:Panel where Grouping text is equal to "string".Now this string comes on the left hand side on the upper half of panel border.I want this grouping text to come in the center as in a title of the panel.How can we do this
...
Say you have a large Web site, containing several discrete applications that run in the same site to do various things. You don't want to manage everything as a single project, so you break them apart, work on them in total isolation from one another, and just deploy them separately into the same runtime environment.
These applications...
I want to resize a div from client-side, it's default value is height:500px, clicking my button sets it to height: 700px.
It's an asp.net web site.
I am asked to do this using AJAX and I am unclear if this means to use the client-side javascript from the Microsoft AJAX Library, or if this means to use server-side AJAX doing a partial ...
Can anyone tell me what does CAPTCHA do as far as security issue is concerned?Registration form of many sites have this field but how it works?
...
We have two subdomains for the same site, we would like that depending on the visited subdomain the initial page varies. But in IIS the default document setting is based on the web.config so...
We know that we could use the http:/subdomain/page.aspx but its a requirement that we use only http:/subdomain in the links
Desired example:
...
I'm developing a facebook application, using IFrame instead of FBML. I have a main page with a sub-iFrame inside. In the inner iframe (the invitation page) I have:
<%@ Register Assembly="Facebook.Web" Namespace="Facebook.Web.FbmlControls" TagPrefix="cc1" %>
<cc1:Fbml ID="Fbml1" runat="server" Xfbml="True">
<ContentTemplate>
...
Getting the following sql timeout on a page
System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
GridView1.DataBind();
While I know I need to review the actual Stored Procedure used, can someone point me to a quick fix to increase the time...
I have a classic asp website, onto which I am adding an asp.net (.aspx) page. Is it possible to include my existing asp header (header.asp) and footer (footer.asp) files on my aspx page?
I don't want to convert the page to a user control, because those pages include other asp pages with asp code on them.
Thanks
...
I wonder why asp.net wont allow accessing property of contained class on Gridview's Boundfields while it work in ItemTemplates..
Class User
{
Diagnosis diagnosis { get; set; } // Contained class
}
Class Diagnosis
{
string DiagnosisCode { get; set; }
}
gridview.datasource =
new List<User>() {
new User() {
diagnosis = n...
I'm trying my hand in asp.net. I have a dropdown list in my page.There's a button below this dropdown.Both this control are in a panel.
What I'm trying to do is when I select on dropdown list to change the value I want to shift buttons below as in when you go to select dropdown, the list opens and elongates, when this elongates I want t...
What would it be the simplest way to merge a result like this from a sql query to be displayed in an asp.net gridview?
NULL Tarde Fer W. Lunes
Mañana NULL Fer W. Lunes
I need the result to look like this
Mañana Tarde Fer W. Lunes
...
Hi, I am using ASP.NET 4.
I would like check the length for a string inserted in a TextBox. Ex: Input Name no more than 255 characters.
My questions:
Which Web Controls for Validation I can use in ASP.NET?
Web Controls for Validation validate both Client side and server side? I mean without Java script enabled the Control is able to ...
Hello everyone,
I have been tasked to fix someone else application where there is a Circular File Reference. I found some pointers as a work around, like modifying the bacth settings etc. However I need to get rid of it completely. The application contains close to 300 files. Web Pages, Classes and User Controls in all mixed folders. I ...
Hi,
my page has utf-8 meta element added + sql server encoding is also utf. However when I create record and try to issue SELECT statement with condition that contains POLISH characters like 'ń' , I see no results. Any ideas what am I missing?
ALSO Sql management studio shows result with POLISH characters , but I don't trust it.... I ...