13,153 Topics

Member Avatar for
Member Avatar for priyanka85

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 …

0
168
Member Avatar for Haider85

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 …

Member Avatar for rproffitt
0
390
Member Avatar for ryan311

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 …

Member Avatar for Sebastián
0
904
Member Avatar for pezzinae

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 …

Member Avatar for Santanu.Das
0
292
Member Avatar for Hameed_2

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 …

0
144
Member Avatar for Amr.Mohammad87

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 …

Member Avatar for AleMonteiro
0
372
Member Avatar for programmerUSM

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 …

Member Avatar for tdrosiadis
0
298
Member Avatar for priyanka85

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 …

Member Avatar for AleMonteiro
0
351
Member Avatar for DGULLIVER

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 …

Member Avatar for stultuske
0
358
Member Avatar for prpasim1

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 …

0
122
Member Avatar for zachattack05

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 …

Member Avatar for zachattack05
0
522
Member Avatar for Herbert_1

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 + …

Member Avatar for rproffitt
0
244
Member Avatar for ottokunor

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.

Member Avatar for AleMonteiro
0
300
Member Avatar for pezzinae

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

Member Avatar for pezzinae
0
164
Member Avatar for basit_3

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 …

Member Avatar for AleMonteiro
0
131
Member Avatar for pezzinae

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 …

Member Avatar for pezzinae
0
589
Member Avatar for pezzinae

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

Member Avatar for pezzinae
0
149
Member Avatar for martack

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 …

Member Avatar for martack
0
169
Member Avatar for omotoyosi

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.

Member Avatar for AleMonteiro
0
257
Member Avatar for NightOwl93

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 …

0
392
Member Avatar for jiecerbo31

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 …

0
159
Member Avatar for Iamateur

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 …

Member Avatar for hericles
0
346
Member Avatar for annya

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 …

Member Avatar for Raul Perez
0
320
Member Avatar for KushMishra

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 …

Member Avatar for Santanu.Das
0
2K
Member Avatar for theonebit

My Visual Studin 2010 suddenly showing nbsp symbol for the html designer. how do i disable it.

0
126
Member Avatar for Maideen

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 …

0
99
Member Avatar for amin.aliahmed.9
Member Avatar for PinoyDev

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 …

0
111
Member Avatar for powerade661

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 …

Member Avatar for powerade661
0
331
Member Avatar for Amr.Mohammad87

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 …

Member Avatar for Amr.Mohammad87
0
211

The End.