TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Bhavesh Vankar
769
1.1k
88.2k
Image is gone when selecting checkbox in C# Web Application.
Jan 1 2021 8:56 AM
When Select the checkbox then captured image is gone from image control. The Checkbox AutoPostBack Property is True when i set it False then the checkbox value not generation into Textboxes. What to do in this query..?
My image is coming from Page 1 to page 2 which is catpured by webcam....
My Page 1 code to pass captured image by webcam from page 1 to page 2
<script type=
"text/javascript"
>
function
passDetails() {
if
(window.opener !=
null
&& !window.opener.closed) {
var
vImage2 = window.opener.document.getElementById(
"vImage"
);
window.opener.SetSource(document.getElementById(
"imgCapture"
).src);
}
window.close();
}
</script>
Page 2 code to recevie captured image by webcam from page 1 to page 2
vImage is my image control ID.
i have used hidden control to store image its id is vimagehidden
<script>
function
SetSource(src)
{
document.getElementById(
"vImage"
).src = src;
document.getElementById(
"vimagehidden"
).value = src;
}
</script>
Reply
Answers (
1
)
Confirm message while record save in web c#
Capture Image using Asp.net Button C#