I've been given a task to remove the edit and delete buttons from each row of the gridview and have one edit, insert, and delete button located at the top of the grid. What they want is for t...
Currently - the user creates and excel spreadsheet on their desktop with some data, then uses the ASP.NET web app to upload the excel spreadsheet. The data is read in from the spreadsheet and...
Hi,
one of the sites hosted on our server is giving this error in event viewer
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: ...
Hi experts, simple question, I have a FileUpload control where I need to validate to make sure the file name does not contain any spaces. So what I did was added a regular expression validator...
I want to use Query string in Grid view paging. So when moving from one page to another, I want to pass the input parameters from Query string to the datasoure instead of passing it directl...
I have a text box in web page. I want that if a user copies a few numbers from microsoft excel and paste them into the textbox, they should paste as weach number separated by semi-colon. For e...
Hi,
I am a software developer for last 5 yrs working primarly with ASP.NET web apps.I would like to get certified now.I was planning on MSTS certification for .NET 3.5 and ASP.NET.I skimmed t...
I want to change the asp.net label control's text based on what the user inputs into the txtNumOfPeople dynamically before submitting the form. Obviously the code below is just a hack of what...
I'm trying to detect in a GridView whether a particular checkbox or set of checkboxes has been clicked.
For some reason, it's not recognizing this on postback.
From the code below, can a...
I have come across this web site:
http://www.aspdotnetcodes.com/Asp.Net_GridView_Filter.aspx
Sample: http://www.aspdotnetcodes.com/Asp.Net_GridView_Filter_Sample.aspx
I would like to ...
I am using an AJAX Update Progress panel with an image inside. I have an image inside the panel and I want to be able to assign the image url when the page loads. I am having the problem that ...
Hello I am using the following code to check for a null value:
If dr8.Item(0) Is DBNull.Value Then NormalSizeDisplays = 0 Else NormalSizeDisplays = dr8.Item(0)
But i am gettting err...
I have a GridView (UserSalesGridView) which has a few template fields and a few bound fields coded into the ASPX page. I am also dynamically adding bound fields to the grid with GridView.Colu...
I have the following javascript in my ASP.Net page:
<script type="text/javascript">
function ConfirmDone()
{
if (confirm('are you sure'))
{
documen...
I developed a C# method to detect if documents are In WordXml2007 (a series of documents are read in).
If XmlNode body = doc.SelectSingleNode("w:document/w:body", nsmgr) returns null (bod...
I have a situation where I want to dynamically create a query string.
I have a Stored procedure like this:
ALTER PROCEDURE [dbo].[usp_GetPromos]
-- Add the parameters for the stored pr...
Have an issue where I can't get a UPDATE or DELETE method generated - I even tried to bang my own one out, however it won't save.
Any thoughts?
(And yes, I do have a primary key - saw th...
Hi,
I have been trying to figure out how to get the total rowcount for a gridview (I am using paging). I thought that the methods used here would work:
http://www.webswapp.com/codesampl...
I am developing a web application in ASP.NET 2.0 with C# code behind and data stored in SQL Server 2005. I have a GridView that gets the data from a SQL Server and whose purpose is to allow th...
Hi am using asp.net 2
Have used a layout template on the login control. Documentation seems to suggest that a persistent cookie should be ceated when the user ticks the remember me check b...
I have a sql data source control in asp.net 2.0. Its selectcommand type is a stored procedure.
I need to get this value in the control that is returned and assign it to a label.
I have ...
Hello experts.
I have a datareader that loops rows to create data table rows. The data table is then used to output into an XML file.
The problem i'm having is the first record is not be...
Hi Experts.
I am wondering is there a way to add a control (imageButton in my case) to the header cells of Gridview control
Here is what I am working at:
I need some sort of pivot like ...
Based on the concept here: http://googlesystem.blogspot.com/2007/02/upload-files-in-browser-using-drag-and.html
I am looking for the best method for achieving this using C#, Framework 3.5 a...
Can you not validate a checkboxlist or something? Here's what I have:
<tr><td><asp:CustomValidator Enabled="true" ID="cusValEntreeSelections" ControlToValidate="chkbxEntreeList" runat="se...