How To Capture Enter Key
Jun 26, 2010
How am I be able to determine if the user presses on the [ENTER KEY]? The requirement was, if the user press on the enter key, my web application will retrieve data in my database and I am not allowed to make use of a submit button to the said scenario.
View 2 Replies
Similar Messages:
Aug 3, 2010
I am trying to capture the Enter kay when pressed on an ASP.net website in C#.
View 1 Replies
Feb 2, 2011
I know how to catch a key pressed, but I don't know how to do that in a gridview to get the the row index and the value of the field. Explanation in the code below (it is going to be more clear I guess) :
[Code]....
In the txtPosition TextBox the user is entering a number and press the Enter key which launch the "HandleAttribute" event as if the client had click on the "imgbtnUp" ImageButton.
View 7 Replies
Dec 22, 2010
I used the following code to encrypt the password using md5 and store it in the database.
public partial class register : System.Web.UI.Page
{
SqlConnection con = new SqlConnection("Data Source=Shihab-PC;Initial Catalog=test;User
[code]...
View 3 Replies
Feb 10, 2011
for video conference project i need to start from capturing video. me how to capture video in asp.net.
View 2 Replies
Dec 20, 2010
I have one page that I am dynamicaly creating a URL complete with two parameters that I need on the destination URL page in my stored procedure that I will be running a sql report with.
here is my url that is created
[URL]
my two parms are ReqID and CoOpCode.
I need to capture those two parms for my stored procedures I found some examples of doing it however the example only shoewed for the int and not the string.
I have heard some folks say use java and other say just do it in the code behind either way is fine by me I guess but I do like the code behind.
How can I do this?
Then the next question is how to I pass those parms to my Sql Report that using the stored procedure.
View 13 Replies
Feb 7, 2011
i have gridview in datalist and gridview have one column like this
<asp:ButtonField ButtonType=Image CommandName=select ImageUrl="~/images/emailsend.gif" HeaderText="abc" />
now i want if this button click i captured in code behind and do certain operation
View 3 Replies
Jan 25, 2010
i m developing an app in which i have need to get image from webcam and store it in to database i m using visual studio 2008 and asp.net with c# i m looking for code for this operation.
View 9 Replies
Sep 15, 2010
How could I get the url from the address bar. Im using c# for this. for example: if I type [URL]in my address bar, then i would get "[URL]" caption.
View 2 Replies
Mar 28, 2011
Have an Windows Forms application that captures sql_informessage event that update a progress bar. How can I do the same on on ASP.NET application,
View 1 Replies
Apr 8, 2010
Would anyone know how to capture the complete website URL?
I tried using this:
string strRawUrlText = Request.RawUrl;
but, this only gives me "/login.aspx", instead of the "www.sitename.comlogin.aspx".
View 5 Replies
Oct 21, 2010
I'm working in a website that is going to work like a landing point, providing a specialized service for many other websites. Users log-in to different sites and those sites have links to my website.
Now, I want to create my website using asp .net, and also I want to be able to use SSO (Single Sign-On) so the users doesn't have to authenticate again when they land on my site.
The problem is that most of the websites that are going to use the services of my site are in php, when users login on these sites, all the authentication process is handled and also a lot of data is fetched into the Session variable; what I want to do is to be able to capture all the data in the session variable coming from the php page, in my asp site.
So far, the only thing I've been able to do in the asp is, ask for a parameter in the url and using that parameter query the database to get all the data that was already in the session in php.
View 3 Replies
Jun 22, 2010
I have a ListView that has a Button in the item template. Is there a way for me to identify which Item had it's button clicked from my OnClick event?
I was able to do it with the code below but it seemed crufty. Is there a better way to do this?
((ListViewDataItem)((Button)sender).Parent.Parent)
UPDATE: Was able to implement using the NamingContainer method that one user suggested and then mysteriously removed his answer. Seems like a safer way to do than my original method:
((ListViewDataItem)((Button)sender).NamingContainer)
View 1 Replies
Nov 7, 2010
what's the easiest way to capture a web cam image in ASP.net?
(I'm a visual kind of person - any examples or references)
View 1 Replies
Jan 12, 2010
Does any one know how to capture ip address using c# and when a person hits a button on my webpage
View 14 Replies
Jan 27, 2011
I currently write all log4net events to a database, and it seems to work just fine. To capture the logged in user account I use this piece of code:
HttpContext context = HttpContext.Current;
if (context != null && context.User != null && context.User.Identity.IsAuthenticated)
{
MDC.Set("user", HttpContext.Current.User.Identity.Name);
}
The code seems ok, except for events that have no user context associated with them (ie. a user on our public web page). In that case the log4net capture seems to sometime write the last logged in user account (bad) and sometime write a null (good). Anyone got this feature to work reliably in all cases? I believe I saw a note that MDC is no longer a recommended feature to use, but I wasn't able to find any alternatives that are recommended.
Note: I find it odd that MDC is set with an account name, but never cleared if no user is active. That could be part of the problem. However, I didn't find any MDC code extracts that also clear the username.
View 3 Replies
May 14, 2010
i need to develop application in asp.net which captures data from any website like live criket scores. how to proceed on this topic and from where to start.
View 3 Replies
Apr 28, 2010
how and where can I capture when a user logs in and its username?I am using a login control..
View 4 Replies
Apr 20, 2014
i want to integrate video capturing option in my website for intrview pupose.
View 1 Replies
Jan 24, 2011
I'm consuming an external web service (yahoo adverts), and what I need is capture the SOAP XML request I'm sending and response I'm getting.
I tried using Fiddler, but wasn't able to capture the request. how to do this?
View 5 Replies
Feb 5, 2010
I am developing project using asp.net 2.0 and C#.net.I want to capture users picture or video from webcam and save it in a folder in Harddisk. how to develop this feature and if possible provide me reference links.
View 4 Replies
Jun 16, 2010
In my application, I want to detect the webcam in the system automatically and take the image on a button click in asp.net application.
View 6 Replies
Feb 23, 2011
I want to capture the frames of a video file through C#. I dont want to use the FrameGrabber or other built dll's. I amlooking it from plain dot net without using COM.
View 2 Replies
May 26, 2010
In Java we can do it as follows:
import java.awt.Dimension;
import java.awt.Rectangle;
import java.awt.Robot;
import java.awt.Toolkit;
import java.awt.image.BufferedImage;
import javax.imageio.ImageIO;
import java.io.File;
...
public void captureScreen(String fileName) throws Exception {
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
Rectangle screenRectangle = new Rectangle(screenSize);
Robot robot = new Robot();
BufferedImage image = robot.createScreenCapture(screenRectangle);
ImageIO.write(image, "png", new File(fileName));
}
How do we do this in .NET from a webapplication? Capturing the client's screen and sending it to the server all from within the application.
View 4 Replies
Dec 23, 2010
i'm using this control [URL] the one with the close red X ( like chrome ) on every tabs.
I need in my project to capture if a tab is close by the red X.. How can I do it?
View 1 Replies