Quantcast
Channel: Web Forms
Browsing all 23244 articles
Browse latest View live

Managed to trash my website, trying to restore....'First_Site.WebForm2' is...

I tried to copy a working website to a new file so I could create a new website based on the original.  Visual Studio decided it would tell me the project copied but just contine to work on the old...

View Article


Get each files from a directory on the web server

I have got a webform where a user attaches a few documents and then hits the subit button.These documents and the other form fields are to be emailed to a specified email id.The approach I am...

View Article


Draw lines between markers on Google Map?

I have markers on a google map from points provided by a database of Latitude & Longitude but i want draw the line between markers, how? <html xmlns="http://www.w3.org/1999/xhtml"><head...

View Article

how to solve this erro : "A column named 'Rowno' already belongs to this...

hi i am merging value in datatable inside  foreach.  foreach works using id iteration. id = 1,2,3,4foreach (ListItem list in chek.Items) {qlConnection pubconncheck = new...

View Article

"Parser error" in my "Global.asax" file

I am getting a "Parser error" in my "Global.asax"file:<%@ Application Codebehind="Global.asax.vb" Inherits="Astronomy.Global_asax" Language="vb" %>Both "Global.asax" and "Global.asax.vb" exist...

View Article


Session expire and redirect to another page

Hi All, I have one problem in my web site, I need to redirect my application when there is no action for three minutes. I used session timed out period in the web config file. But When I am working...

View Article

How to Re size Image and save in folder and Image Name and ID in Database ?

My code for Image Insertion is    string savepath;   string filename = Path.GetFileName(FileUpload1.PostedFile.FileName);   savepath = "~/Images/" + filename;...

View Article

error : in visual studio 2010 asp.net : script block (appendchild is...

Error : appendchild: object is undefined or null when run any project website show tis error in visual studio 2010 :The error : go to the script block and show message box : Microsoft Javascript error...

View Article


Error msg: The SQL error number is 5110 and the SqlException message is: The...

   Server Error in '/CS' Application.I am reviewing Web Part Franework from the SAMS Book, ASP.NET 2.0 Unleashed.  On a VS2008/.NetFrameowrk 3.5 workstaion, I have successfully run the...

View Article


Copying files C# directory

I have a web applicatin in C# that copy fies from one directory to another.  I figured out all the logistics but I need to be more dynamic with my variables.Check the CRCV folder for files and folders,...

View Article

save as dialog box in web form

How can we create a "save as" dialog box in a web application when client downloads a file from a server. 

View Article

Multiple instances of webusercontrol on the same page.

I have a web user control which has the following code in it:<script type="text/javascript"> var c= null;$(function () { c= new AquaGauge('canvas1'); c.props.startValue = 0; c.props.stopValue =...

View Article

In a Multiline Textbox is there a way to have a carriage return to the...

<asp:TextBox ID="TextBox1" TextMode="MultiLine" Rows="25" Width="800" Height="100" AutoPostBack="true" runat="server" BackColor="#CCFFCC"></asp:TextBox>In a Multiline Textbox is there a way...

View Article


Image may be NSFW.
Clik here to view.

Localizing NextPreviousPagerField (PreviousPageText, LastPageText ,...

As seen below, I am setting the properties PreviousPageText, LastPageText , NextPageText, FirstPageText  of NextPreviousPagerField on PreRender of the  of the data pager control. However, after...

View Article

how to continue row number increasingly while filling data to datatable.?

 hi,i have the few records in database like follows:Record 1.   Rowno     name1             christ2              william3              Albert.Record 2.Rowno   Name1           Martin2           Allen3...

View Article


multiple instance of windows service from web application on button click

hi, I have an asp.net web application where one operation is report generation. It will take a long time to generate the report. So the logic is like when the user clicks on report generation button,...

View Article

How to prevent button click from refreshing whole page?

I am using a web service for currency conversion, within my web form I have a textbox to enter ammount, a From Currency Dropdownlist and a ToCurrency dropdownlist. I am showing the result in a html...

View Article


javascript is not getting loaded dynamically

I am retrieving javscript function from database and registering it using ClientScriptManager.RegisterClientScriptBlock();During the page load, javascript fn is registered and function is called...

View Article

Reg: Mouse click avoid in deployed crystal report

To avoid  mouse right click event in deployed crystal report. 

View Article

why this functionn function drawFlightPlan(flightPlanCoordinates)...

<script type="text/javascript"> var map; var data; var flightPlanArray = []; function initialize() { var markers = JSON.parse('<%=ConvertDataTabletoString() %>'); alert(markers.length); var...

View Article
Browsing all 23244 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>