I am interested to know what specifically Page.IsPostBack means. I am fully aware of it's day to day use in a standard ASP.NET page, that it indicates that the user is
submitting data back to the server side. See Page:IsPostBack Property
But given this HTML
<html>
<body>
<form method="post" action="default.aspx">
<i...
Hi,
I have saved my website in the wwwroot folder. when i am running it through Visaul Studio 2008 it s running absolutely fine with path
http://localhost:3840/GettingUserId/default.aspx
but through IIS it is unable to resolve the images URL , not even the links to other pages r working (Parser Error). The path is
...
I have a table and I want to select a field in it and then display it in a text box
something like:
SELECT userName
FROM userTable
WHERE (userLogged = 'ON')
how can I display the selected username in a textbox?
BTW the userLogged indicates wether the user is logged in or not
if the user is logged in then the userLogged will be chan...
I am using Telerik's Radgrid for a website. Often the grid columns exceed the available width, and extend outside the main content area (fixed width).
So what are my options for presenting very wide grids. horizontal scroll bars just look ugly on my site
...
Is there a way to monitor (log) the reason for restarting of an ASP.NET application?
We now having problem with rather complex site. It's restarting during file upload. Not on every file, but on every 5th-10th for sure. We use custom VirtualPathProvider, so this could be a reason. We also have a background worker threads, and this also...
Hello
I'm not that familiar with COM and was hoping that someone out there, who is, could help verify what I have below is correct.
If I have two completely separate Requests (request 1 & request 2), then this creates two separate instances of my WebApplication. So far so boring.
If each instance then contacts the SAME web service,...
I have the following telephone number 866-234-5678.
I have an asp textbox and I am applying the following mask:
<cc2:MaskedEditExtender ID="maskPhone"
runat="server"
ClearMaskOnLostFocus="false"
AutoComplete="false"
MaskType="None"
...
I am trying to get subsonic to run work in a webservice
I am not sure how to return the data. I only get the word Object in my results when It return anything instead of values. What am I missing?
<WebMethod(Description:="Method to retrieveCptCode subsonic List")> _
Public Function GetSubCptCodes() As CPTCodeCollection
Dim coll A...
My companies' system is build from a collection of ASP.NET websites, webservices, windows services and databases. (around 40 all told)
We maintain three environments - QA, PREPROD and LIVE; but managing what is installed (and working) on each environment is a real pain. We seem to spend more time debugging what is installed & working ...
how can i do a form POST from a regular html file. and call a .net file that ends with .aspx
what would my html file require?
...
I have a list of fees being displayed in a table object. I would like to display the difference between 2 of the fees in a text box (not sure if this goes in the table footer or in a group footer). I am able to sum values easy but I don't see how I can subtract values. In this example let's say I would like to show the difference of the ...
Hi,
I have a .NET webmethod that I have called from jQuery. The method returns some HTML markup that I display within a DIV element.
Once I have the response I use
$("#div").html(result.d);
My question is, what does the .d do? I don't like using code I don't fully understand? Could I get the same result using Eval?
...
i have seen some code in which people pass parameter through commandParameter Property of web control.then what is use of eventargs.
...
My webservice constructor is getting called each time that I call a webmethod. This is causing some problems with some new functionality that I am adding and I cannot figure out what I am doing wrong to cause this. The only place that I am newing the webservice is in global.asax.cs's Application_Start, but if I remove the code to new the...
I have a Visual Studio solution containing a web site project plus a bunch of supporting projects (domain model, data access, etc).
I want to expose an API to the same underlying data, via urls under the same domain, so I developed a WCF/REST project to do this (which has dependencies on the same set of domain/data access projects).
No...
This is the code below in code behind file's Page_Load event:
LinkButton linkButton = new LinkButton();
linkButton.ID = "LinkButtonDynamicInPlaceHolder1Id" + i;
linkButton.ForeColor = Color.Blue;
linkButton.Font.Bold = true;
linkButton.Font.Size = 14;
linkButton.Font.Underline = false;
...
code:
LinkButton linkButton = new LinkButton();
linkButton.OnClientClick="changecolor";--i need to change this to on mouse focus event
there is no property for for link button like we have onClientClick.
...
Is there a way to intercept a call made by WebBrowser to SSL (within in an asp.net application)? I need to pass parameters to http-headers at runtime before the request is made.
Example: if I type "http://test.com", the browser communicates with the server and returns "https://test1.com" as the secured url. I should be be able to inter...
I have a site that uses aspnet_setreg.exe to encrypt the username and password of the identity user into the registry. It has always worked fine but when I run it on a Windows 2008 i get this:
C:\aspnet_setreg>aspnet_setreg.exe -k:SOFTWARE\MYCODE\identity -u:"domain\user" -p:"password"
Please edit your configuration to contain the foll...
Is there a way to tailor the Publish feature of VisualStudio (I'm using VS 2008) so that different files go to different directories. I'm developing a web application which is used within a CMS (Immediacy) and the folder structure of the solution is quite different from the target folder structure.
e.g. in my solution I have:
MySoluti...