In ASP.NET 3.5, you can assign a Select link and change what the link actually displays. But can you you assign one of the fields in the gridview to act as a select button?
For instance, all my records have a "SAMPLE ID" Field. It would be great to have each unique SAMPLE ID be a link that goes to the details view. I cannot find any set...
Putting code at aspx files is slower? The code is recompiled every access?
At my mind, code at aspx file is compiled at first access together their dll(maybe in Page_Init) and moved to Temp Asp.Net folder. And .aspx file just is necessary for IIS found a file.
...
I understand overriding a method/function redefines its implementation in the derived class from its implementation in the base class.
Now what confuses me, is if I override a class in ASP.NET such as CreateChildControls() (I picked it randomly for no particular reason), VS2008 auto generates:
protected override void CreateChildControl...
What is the best way of implementing a checkout process that allows customers to place orders without first requiring registration on the site, and without requiring that users create an account during the checkout process.
I was thinking of perhaps creating a anonymous customer entry which all orders not associated with a registered cu...
I'm putting together my deployment plan for a major deployment next week (basically taking over a site).
I've never had to deploy to multiple web servers before so I had some questions.
Do I need to copy the files to each web server, or is there a tool which will do this for me?
I have to supply the IP address to some 3rd party ve...
I am building an ASP.NET web application that will be deployed to a 4-node web farm.
My web application's farm is located in California.
Instead of a database for back-end data, I plan to use a set of web services served from a data center in New York.
I have a page /show-web-service-result.aspx that works like this:
1) User requests...
I am getting an exception thrown by the ASP.NET Development Web Server "Type is not resolved for member 'Model.AppIdentity,Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'"
It works fine in IIS6.
Any ideas?
...
Hello,
We´re are using Akamai here and I would like to know if there´s any way to change the path of WebResource.axd so we can cache the file in Akamai´s network.
The ASP page automatically inserts the WebResource.axd?d=9MSi9kc8rKZ-yU_r-9KIXg2&t=633595228754539605 in our pages. I would like the change the url to another one.
The WebR...
Hi Guys,
How do i get access to a control (linkbutton in my case) that is within the itemtemplate section of asp datalist control? For example: I want to set the linkbutton to visible false, but cannot figure out how to get the reference to it from the code-behind.
Example code:
<asp:datalist id="datalist1" runat="server">
<ItemTempla...
Hi, I'm building a sitebuilder project. The database and all other ASP.NET code is ready but I don't know how to handle domain names, because I will have only one site in IIS7 but more than a hundred sites are gonna publish from my site. (Like the sitebuilder you can find on the internet.) When users go the page, ex: www.myname1.com, it ...
Hi,
One of my code behind file is sending some boolean value (read from the data base) to the corresponding.aspx file. I want to change the css style class of the container division based on this boolean value. I tried to do it the following way,
code behind file:
protected void Page_Load(object sender, EventArgs e)
{
Result.I...
I am getting the following error which deploying my code in the production server. Code is working fine in development.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file app...
Hello. I have a search functionality on my site that is accessible from every page. Typical top of the masterpage textbox and button deal. I'm looking for a better way to accomplish my caching of the most common search strings and their result using System.Web.Caching.Cache.
I was thinking of concatenating the search string with so...
Hi,
My application uses windows authenctication. user login with their username/password and upload an excel sheet.
The issues is while uploading the excel ,one user able to upload the excel file but another user get an error "No error message available, result code: E_FAIL(0x80004005)". But the code is same. I dont know whats the actual...
Hi, I have a class in my asp.net proj, I would like to get access GetGlobalResourceObject (that page exposes), from anywhere in the site, possible?
In other words I wanna access the global resources from a class that is not a page I don't care how.
...
I use the publish option of asp.net 2.0 to create a deployable copy of my web application. Lately I've noticed that the System.Web.Extensions.Design.dll and the System.Web.Extensions.dll does not get copied when using the publish option.
Has anyone any idea why this could have happened?
Couldn't google anything definite about this too....
I developed a Solution in VS2005 for an ASP.net application which also has some class library projects that the ASP.Net project references. I have changed the Build Configuration of the solution to release but strangely, the ASP.net build config remains Debug whatever I do. This is weird as I see no reason why MS should have done that. I...
Hi,
I have two hidden controls:
<asp:HiddenField runat="server" id="pageHeader" />
<asp:HiddenField runat="server" id="pageInformation" />
I am calling following function from master page:
show_tip(this, document.getElementById('ctl00_pageInformation').value, document.getElementById('ctl00_pageHeader').value);
and i am passing val...
I want that after Logging Out any user should not be able to go to the Back Page.
How can i do that?
...
Can anyone help me convert the following string ("D/6, 3RD FLOOR B- WING HANS CO-OPERATIVE SOCIETY DAWOOD BAGH J.P. ROAD CROSS ANDHERI WEST MUMBAI-400058") into the below string with (,) to start with new line using C# and asp .net.
D/6, 3RD FLOOR B- WING,
HANS CO-OPERATIVE SOCIETY,
DAWOOD BAGH,
J.P. ROAD CROSS,
ANDHERI WEST,
MUMBAI-40...