Member Avatar
Hi all, This is a very elementary question, but I'm a couple of days into this. Which web.config file should one store keys in? Keys to use within a Model/Controller? I see four different ones: Project > Views > Web.config Project > Web.config Project > Web.config > Web.Debug.config Project > …
by RudyM 46 in Web Development ()
Member Avatar
In JS i tried something like this, window.onbeforeunload = function() { window.open('http://www.msn.com','_self'); return 'close?'; } but it doesn't redirect the page, but the return statement is displayed. how can i do to archieve redirect a specify page without any alert?
by gahhon 13 in Web Development ()
Member Avatar
I am working on projects in Visual Studio 2015 using the ASP.Net Identity with Entity framework. Entity Framework creates tables in embedded SQL Compact, when the first user is created. My question is: When comes time to roll out into a "live" environment (i.e. Dev, Test or Prod), is there …
by Greg_10 in Web Development ()
Member Avatar
How would you explain JavaScript closures to someone with a knowledge of the concepts that make up them (for example, functions, variables and the like), but does not understand closures themselves? I have seen the Scheme example given on Stack Overflow, unfortunatly it did not help.
by _1_30 in Web Development ()
Member Avatar
Hi guys I need a help here, I’m trying to use Ajax to update the column of the table in the database with combobox without a submit button, by the way it update the column finely but unfortunately the column data is erased to **0** when a webpage is refreshed. …
by Hamis_3 in Programming ()
Member Avatar
Hello everyone has in the past this site has been helpfull for any kind of project that i´ve done well, now it´s time for make some charges for the time that i been spending on those projects but i don´t know how, please ¿can you help me to make a …
by pezzinae in Web Development ()
Member Avatar
I have the following code is asp.net <%@ Page Title="" Language="C#" MasterPageFile="~/Site02.Master" AutoEventWireup="true" CodeBehind="Tasks.aspx.cs" Inherits="DMS.Tasks" %> <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"> <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"> <div class="row-fluid sortable"> <div class="box span5"> <div class="priority high"><span>Assigned By Me</span></div> <div class="task high" runat="server" id="Task01"> <div class="desc"> <div class="title">Test 45</div> …
by naheedkassam in Web Development ()
Member Avatar
i scan my invoice and i had 5 column item_no ,descrption ,qty,unit price, total Amount and ihave 20 rows i need to trans rows to excel file or .txt i need to help to make programm by vb.net or asp.net : scan the invoice then send data rows to table …
by bass_57bc in Web Development ()
Member Avatar
i have a wcf service running, the problem am facing is how do i use the wcf to connect to the client and generate reports. if am no a wrong path please help thank
by Teleka2099 in Web Development ()
Member Avatar
Hi Guys Please help me I want to know that how can use google api in asp.net mvc.
by Zack_4 in Programming ()
Member Avatar
Hi Guys, I am trying to make a webpage using asp.net and SQL server 2008. Just a simple page through which data will be inserted to the database. But I noticed it is taking duplicate records as wel. So I used "Unique" constraint while the respective table and it is …
by Joy_3 in Web Development ()
Member Avatar
I am using VB. How to select mult iteams in listbox using backend code? I have a listbox where user can select muti items. <asp:ListBox ID="lb" SelectionMode="multiple" runat="server" DataValueField="dv"> <asp:ListItem>red r</asp:ListItem> <asp:ListItem>blue b</asp:ListItem> <asp:ListItem>green g</asp:ListItem> </asp:ListBox> How can I set so the value of "blue b" and "green g" is …
by Link_1 in Web Development ()
Member Avatar
I am using VB User can select the date by the following code. and date is display in textbox. <asp:TextBox ID="dateTB" runat="server" /> <asp:ImageButton ID="ib" ImageUrl="/calendar.png" ImageAlign="Bottom" runat="server" /> <asp:CalendarExtender ID="Cal1" PopupButtonID="ib" runat="server" TargetControlID="dateTB" Format="MM/dd/yyyy"> </asp:CalendarExtender> after that I am storeing that data in SQL Server database. Problem: when user …
by Link_1 in Web Development ()
Member Avatar
Hello everyone has been a while since i made a question here i have a real problem with a web app that i been doing recently the problem is related with the datetime format when i make transfer data from the webapp to a database in access, the field in …
by pezzinae in Web Development ()
Member Avatar
My requirement is as simple as the title. I want to create new webform on button click event. When user click the button It will create a new webform with masterpage and c# code file. Yeah it should create a new webform unlike open a new webform.
by Leo_8 in Web Development ()
Member Avatar
HI I need to send data from my mssql table to my client by email... Currently I can send one by one items.(more than 200 items) Private Sub SendEmail() Dim body As String = Me.PopulateBody Me.SendHtmlFormattedEmail(Session("email"), ".", body) Session.Remove("email") End Sub Private Sub SendHtmlFormattedEmail(ByVal recepientEmail As String, ByVal subject As …
by Maideen in Web Development ()
Member Avatar
Hi.. I want to upload a file with help of FileUpload control, in which, i want to save the file with a specific name or say a name entered in a textbox on a same page. for ex, if textbox contains "ABC" then the files should be uploaded with abc.jpg …
by love_dude1984 in Web Development ()
Member Avatar
how to save that text boxes data into database ,by using this button evet,please tell me iam fresher. < protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) Session.Remove("clicks"); } protected void Button2_Click1(object sender, EventArgs e) { int rowcount = 0; rowcount = Convert.ToInt32(Session["clicks"]); rowcount++; Session["clicks"] = rowcount; for (int …
by nagarjuna9 in Web Development ()
Member Avatar
Hi, I am having a Timer control like this: [CODE]asp:Timer ID="Timer1" runat="server" Enabled="False" Interval="1000" OnTick="Timer1_Tick"> </asp:Timer>[/CODE] In an UppdatePanel with AJAX enabled. So everything works fine to the point where on each refresh of the panel a JS is inserted in the header: [CODE]<script type="text/javascript">Sys.Application.add_init(function() { $create(Sys.UI._Timer, {"enabled":true,"interval":1000,"uniqueID":"Timer1"}, null, null, …
by gazbg84 in Web Development ()
Member Avatar
Hi Sir I have a problem in passing value from Popop to main page I am using Master page and aspx page From main page, i can open popup windows and populate data in gridview. I am selecting date and capture the valeu in TextBox. When I click the button …
by Maideen in Web Development ()
Member Avatar
Hey guys, I want to ask which captcha service is a better? im using right now DBC, but it is not so good, can someone recommend better service for recaptchas 4x4? Thanks
by Zaal in Programming ()
Member Avatar
I have an input field which is showing vulnerable in security scan using XSS attack as: STYLE="xss:e/**/xpression(try{a=firstTime}catch(e){firstTime=1;alert(969)});" Could you please suggest how can we prevent from vulnerability like this ? Field: <input id="{ControlItemUniqueID}Data" style="width:150px" name="{ControlItemUniqueName}" type="hidden" {MaxLength}{IsEnabled} {IsReadOnly} class="datatext {CssClass}" value="{Data}" onkeypress="sanitizeEmployeeDateData()" onmouseover="sanitizeEmployeeDateData()" onblur="sanitizeEmployeeDateData()> <script> function sanitizeEmployeeDateData() { var EmployeeDate …
by priyanka85 in Web Development ()
Member Avatar
public IList<Labour> Labours { get; set; } public class Labour { public string WorkDates { get; set; } public string WorkHour { get; set; } } I have this code above on my class. How can i add this to my Create View Razor? can anyone tell me please. Also …
by ryan311 -7 in Web Development ()
Member Avatar
Hello everyone please your help with the correct syntax of this code i´ve just build it but the visual studio has closed the session and i lost all my work the code as you can see search between two dates that part its ok, and then search in another field …
by pezzinae in Web Development ()
Member Avatar
Hi. How can i populate asp:treeview only child populate with database query like "select databasename from databse where user_id="45" " and show these database in child treeview.Here is image [image]( tinypic.com/view.php?pic=15cyaew&s=9) I want "Database" remain same and blow child "Database Name",,only 1st 3 records replace with "Database Name" shown just,Kindly …
by Hameed_2 in Web Development ()
Member Avatar
Greetings, I am a newbie in web development and I am working on a website backend using ***ASP.NET***, ***Bootstrap***, and ***jQuery*** and I need to upload files, simply photos, that will be used to be displayed on the frontend banners. I already used the HTML5 file API to read the …
by Amr.Mohammad87 6 in Web Development ()
Member Avatar
Hi everyone, i need someone to help me. my code below will loop to fill the data .my problem now is i need to sum the total of the amount based on the region. How to get the amount based on region without enter the loop and only print out …
by programmerUSM in Programming ()
Member Avatar
I have this function call which I need to convert to POST request because this is getting popped up in query parameter in SSL security threat. Could you please help ? Thanks LoadYearMakeModelUsingAutoVin(controlId, 'RequestXml.aspx?name=GetVehicleInfoUsingVinCanada&VinOrSerialNumber=' + vinOrserialnumber); ------------------------------------ function LoadYearMakeModelUsingAutoVin(controlItem, dataSourceUrl) { var xmlDoc; var xmlDoc2; if (window.ActiveXObject) { var xmlHttp …
by priyanka85 in Web Development ()
Member Avatar
On our site we have a "News and Information" section at the top of our landing page. Right now it looks like this: ![news.PNG](/attachments/large/2/edb1aaabb260ba04b597c3a2f4a351b3.PNG "align-center") I'd like to change this to look something like the image below, but I'm having a hard time figuring out how to do this, or …
by zachattack05 56 in Web Development ()
Member Avatar
how can i generate and download database report using itextsharp Public Class GenerateCMR Public Function Generate(CMRGUID As String) As Panel Dim panel1 As New Panel Dim cmrb As New CMR cmrb = cmrb.GetCMR(CMRGUID.ToString) Dim dvtitle As New HtmlGenericControl("div") dvtitle.InnerHtml = "<h1>Compliance Monitoring Report (CMR)</h1><div style='text-align:center; font-size:20pt; font-weight:bold;'><u>" + cmrb.ProponentName.ToString.ToUpper + …
by Herbert_1 in Web Development ()