default content for a web form
I'm working on a new site that has a master page and then will use web forms. But the structure of the design is such that each web form is to have a consistent "footer" in the bottom with some...
View Articlepass textbox values of one page to html template of another page
i have some textboxes.. when 'preview' button is clicked it goes to another page, preview.aspx which contains an html template.. i need to replace the textbox entered values inside the template.. how...
View ArticleNeed to add default asc & desc arrows to gridview columns
Hi,I am a newbie with CSS. I got a gridview working with sorting on all my columns. I am trying to add the up and down arrows to each gridview column. When the user clicks on the column, the up arrow...
View Articlei have to create treeview for my project.
Hi,I am using asp.net 4.0 and sql server. i am having morthan 1000 data in sql server. it has parent and it's child.all parent id is 0 and for that child id is 1 . when i want create child 2. i will...
View ArticleDetailsView with SqlServer - Update not working
I have a webpage with a DetailsView and a SqlDataSource. The SqlDataSource was originally pointing to an Access database, and everything was working fine. Then I pointed the connection to a SqlServer...
View ArticleDelete Confirmation at GridView
Hi,I'm trying to prompt for confirmation when the user deletes from a gridview. My codes are not prompting. It'll just delete without prompting. The Edit and Delete link button is at the first...
View Articleconnect dropdownlists
it is posible to connect two dropdownlist if they are in different pages to one datasource and if i edit/delet/chance in one and in other that will be to
View ArticleNeed change the color for a string in VB.Net
Hi,In vb.net code behind file i validate each column value before it got bind to the cell values in a gridview, is there is no data for a cell then i need display an error message in that particular...
View ArticleHow to open a popup to handle our unzipping process
We are using the ICSharpCode.SharpZipLib library to zip files within out site no problem, this is used when we want to consolidate report files and download off the server. A new request has come in to...
View ArticleObject reference not set to an instance of an object
I have a form with 2 text boxes which I am adding text to. The code for these is:ProtectedSub btnContinue_Click(sender AsObject, e...
View ArticleHow to add the detail description to the files that listed under directory in...
Hi all,In my web file viewer system, there is a Document Repository folder where store several directories such as A, B. In each A, B directory, there are many files such as A1.doc, A2.xls, A3.txt,...
View Articlesave image paths
Using VS2010, ASPNET4, C# SQLSERVERHow to save pictures with path in database sqlserver. I have only the path:<img src=~/BarCodeImages/p.gif runat="server" width=1 height=50 border=0><img...
View ArticleHow would I code a dropdown, so when 'Other' is selected, it unhides an input...
How would I code a dropdown, so when 'Other' is selected, it unhides an input text box?
View Articlehow Authentication cookie works if cookie disabled in browser
I know that asp.net creates cookie to maintain authentication with client browser for Forms authentication. Inside cookie, it contains some encrypted information exists to let asp.net knows that user...
View Articleexport , zip and save file using c# web-based problem
i am developing a problem using asp.net & c#and i would like to build a export function. just click one button i need to export the data to text file and finally zip all the text file into a zip...
View ArticleReading Text File
Hi,I about us text file in the root folder of my web site and also I about page in asp.net I would like to show the content of text file into my About page so time to time if make changes in the file...
View ArticleCross Domain Xml $.ajax requests
We have a 100% private site, with trusted usersIs there any way to have my asp.net site just *WORK* with calling an XML RSS feed in jQuery instead of having to like consume it on the backend through a...
View ArticleDelay email being sent
We are currently using System.Net.Mail.SmtpClient for sending email in our applicationIs there a way to delay sending an email by say 15 minutes? So somehow queue it to send, but it waits to send.
View ArticleBest practice to Avoid Duplicate record insertion on page refresh
what is the best practice to Avoid Duplicate record insertion on page refresh
View Article