1,828 Topics
| |
Hello everyone please i need your opinion about a creation of a dashboard that can be seen on a webapplication i´ve trying with the controls of DEVEXPRESS but without success, if anyone knows a better way to achieve this kind of task please let me know another thing......all controls it … | |
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. | |
| 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, … |
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 … | |
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 … | |
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 + … | |
Im doing a appointment booking site for a project And Im trying to disable radio button(s) if the sql statement returns true. Example: User selects a date from asp calendar and a timeslot is in the form of radio button I wanted that the count of radiobutton selection should be … | |
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. | |
Hi everyone thanks for your patience as I try to explain what I"m dealing with here. I"ve been following this series of video tutorials on youtube on making a dynamic website. I believe the tutorials were based on linux cause soon as I hit the one on url renames the … | |
There is a null reference exception occurred in MVC 4 application as below [click here to view exception](http://i.stack.imgur.com/ypBet.png) but values are came to the variable. there for no point to happen null reference exception. why is that. good luck :) | |
How to construct online reservation computer system | |
I have a page on which a full page report is generated inside HTML table. What are the options/tips available in order to share, print, email or 'download as PDF' this report using javascript or serverside classic ASP ?? | |
how to add css class to asp tags | |
Hello All; I usually do everything in SQL Server these days, however, I have an site that is just so small, that it is going to be using an Access database. This is the code that I am using to generate the Google Sitemap with, however, there is code here … | |
Good afternoon everyone! I'm running into a small snag and it could just be because it's late and I'm not thinking clearly. I have an ASP Panel that is an alert box. The panel's initial visible property is set to false and should only be set to true when specific … | |
So, I've some free time in December and want to make a web-app that lets people login, put books they've read, review the books they've read etc. But, I'm not sure how and where to start? What Languages/Frameworks to use? Any help would be appreciated. Thanks! | |
Can anyone please let me know how can I get the difference between two dates? Is there any function in c#? I've one more question can I check for value of the textbox like if value should be atleast 500 or more?? I want to use custom validators in c#. | |
I use a Shield UI Chart for displaying some forex data. I do need to gradually add data to the chart in other dynamically add points. However according to the documentation, there isn’t the possibility for dynamically adding of points, at least I can’t see such method, something like: AddPoint … | |
Hi all I'm new to s/w development as well as .NET .Plz provide me with guidelines for my project.The salient features are: 1.) It's an online live MCQ exam project using ASP.NET with sql connectivity. 2.) we want it to be able to test 50-60 students simultaneously providing on the … | |
Hi, thanks for viewing this thread. How to call MVC controller action method from ASP.NET webform and pass few parameter to the MVC? I have found this solution: http://www.codeproject.com/Articles/37539/Redirect-and-POST-in-ASP-NET and would like to know whether is there any other ways to do it. Just like to explore other solutions. | |
How can a table be updated in HTML with Dreamweaver using ASP on a dropdown functionality? I can only have the table bring in a table with the pageID of 1 and will not change when dropdown changes. How do I start the programming of getting every record with a … | |
Hi, I'm a web developer for a small company, I had programmed using ASP about six years ago, thus my skills are very rusty at the moment...recently, my boss had asked me to export the database information from the ASP pages to an Microsoft Excel file, allowing the users to … | |
hello everyone, i have a little problem in ASP with my friend's master project, there is a database which saved images paths in it; when she want to preview an image in an image control the path is readed correctly (she previewed the path in a textbox to check) but … | |
I have 1 gridview with big table...colums:k,mi,ib and 3 textbox...texbox1 is first column,textbox2 is second and textbox3 is third! I want when i type some number in textbox1(That number is K),i want to textbox2 and textbox3 give me value of mi and ib in same row as k...but i got … | |
Hi . I have an employee table with fields Employee Id, Employee Name, Address,Salary , Department ID and department table with fields DeptID,DeptName. I have added a data grid control with the columns showing Empname , address , salary,DeptName and Edit and Delete columns . I have inserted image using … | |
Hi, i want to change format of date . This code i add in my register page.... if(!empty($_POST['dob'])&& !empty($_POST['mob'])&& !empty($_POST['yob'])) { $yob = mysqli_real_escape_string($con,$_POST['yob']); $mob = mysqli_real_escape_string($con,$_POST['mob']); $dob= mysqli_real_escape_string($con,$_POST['dob']); $date = mysqli_real_escape_string($con,"$yob-$mob-$mob"); $addtothedb="INSERT INTO login (Dateofbirth) VALUES ('". $date . "')"; $result=mysqli_query($con,$addtothedb); and when i get back data from db … | |
<?php $con=mysqli_connect("localhost","root","","uplod"); if (mysqli_connect_error()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } else{ echo work $sql ="UPDATE tea SET name = ' 8req' WHERE id = '3 ' "or die ("cant update" . mysql_error()); if($sql) echo"working"; } ?> Who can tell me which is error is the … | |
if ($count == 1){ $suc= move_uploaded_file($file_tmp, $destin.$file_name); echo"<br/>"; $query = mysqli_query($con,"INSERT INTO login ( profile_img) VALUES ('$file_name') WHERE useremail='".$_SESSION["sess_useremail"]."'") or die("can t still upload ".mysql_error());} | |
I'm trying to do is send a temp password to the user email. It works fine but I just want to add images inside the message seems like it showing n/a image. My directory are correct, I even try using a URL image but still wont work. Please help here. … | |
Hello I trying to get the email address from the database and input it to the asp code or html. I was able to read the email address from the database but not able to store the value. How can I store the value? Response.Write bs("email_addr") its reading from the … |
The End.