13,153 Topics
![]() | |
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 … | |
I have a Health based .Net (C#) project that needs to import a huge chunk of medical records from an old database that were used in a different application. The database has been successfully migrated to the version compatible with our application. The problem is the contents in one of … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Hi, Currently my PC is setup for .Net development using Visual Studio 2012. I'm starting to look at JAVA programming so I was wondering can the JDK and Netbeans/IntelliJ/Android Studio coexisit with my .Net Development environment? I do not want to install the JDK and the either if the IDE's … | |
I have a search button that displays results into a gridview from the database. In my database I have a "Link" colum that has different links to other pages in my project. For example onetime.aspx, template.aspx etc. What I want to do is: When the user searches and the results … | |
On our site we have a "News and Information" section at the top of our landing page. Right now it looks like this:  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 … | |
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 + … | |
hi guys. i badly need help with a project am new to asp.net and i have to develope a website using visual studio express for web. i have no idea where to start from after installing the IDE. i need some advice and recommendation.. please help. thank you. | |
Hello everyone pleas help me with this I need a formula that can convert my data into barcode with crystal report in visual studio 2013 and Connectcode trial version I'm new with this so any help will be great | |
hey guy iam working with ajax slide show extender , it work perfect with one album , but i have two separte albums , i wrote the code for first album as [System.Web.Services.WebMethod] [System.Web.Script.Services.ScriptMethod] public static AjaxControlToolkit.Slide[] GetSlides() { AjaxControlToolkit.Slide[] slides = new AjaxControlToolkit.Slide[6]; slides[0] = new AjaxControlToolkit.Slide("slideshow/basit.jpg", "First image … | |
Hello again Please your support with the next statement in vb.net and access database this is part of the code can you help me the error code is missing operator in query expression str = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=\\MXDTBTZ3XC1\Users\MXDTBTZ3XC1\Desktop\refacciones web\surtido.accdb" con = New OleDbConnection(str) sql = "select * from material where IDDOS … | |
Hi all can you help me I really don´t know why my web app is being deformed when a message is shown I Been trying the update panel but it just does nothing when try to retrieve information from a database in access | |
I'm developing a new website using a MySQL database and VS2015. I'm trying to get default values displayed when the user hits "new" on a detailsview. I'm am trying code that fires on Databinding but when the user hits "new" I get a Nullreferenceexception. Users on other forums claimed that … | |
Good day all, Please, I have an asp.net page and i have a java applet which i want to embed in the asp.net page. I have added all necessary files and codes as tought. but The webpage is only showing blank applet page. Please, what's the way out. | |
I need some help in getting the table headers to sort the data populated to a table in MVC. I have implemented search functionality in which the user can filter whatever results by typing a name, but I need to also get the table headers to sort the information as … | |
Hi, hope somebody can help me with my problem. I am using ajax validatorcalloutextender in an employee insert/update page(ASP.NET, VB.NET). I am also using bootstrap navigation tabs to group relevant employee details. Whenever there is an error in one of the fields, I would like the tab containing the field … | |
I am going through .net book. I happen to read that once we are storing the web form in asp.net ,it automatically shows local host path in save directory. But in my computer I don't see local host path. It shows the usual vb.net installed folder in C directory and … | |
Hello , I want to show some images in my app using php and universal-image-loader-1.9.1 Iam an stater and I have collected some code from another apps, My problem is when i use the same code to add the gallery in my app it was showing application stopped. If any … | |
Hi, I have a WPF Grid with multiple controls like TextBox, ComboBox, CheckBox etc. and their properties like Text, SelectedItem, IsChecked etc. are present inside the view model bound to the view perfectly. I want to copy the values of all the controls to the Clipboard (may be) and want … | |
My Visual Studin 2010 suddenly showing nbsp symbol for the html designer. how do i disable it. | |
Hi I developed the asp.net project for trading. Working Fine But We facing Printing Delivery Order/ Report. Currently very curcial issue is print statement. Now we select Account Number of customer and generate Delivery Order and export into PDF then we print this. Our client has about 500 customer. It … | |
How to construct online reservation computer system | |
Good day! I am new to C# programming. I just need some help to display all images from images folder in my root directory in a form of href inside my div tag. Here is my Div tag code which I need to repat my images: <div class="row margin-bottom-20"> <div … | |
![]() | I am trying to make it to where it will read the registry and report back if ProxyEnable is set to the value of 1. If it is, it replies back that the privacy is in risk, if not it says privacy is safe. Here is my code. Any help … ![]() |
Greetings, I am developing a backend website using ASP.NET. I had a 3 GridView controls within the page. I am using the jQuery to add a CSS class to third column of the 3 GridViews when the page in ready as I tried to add this class by setting the … |
The End.