Web Forms :: Display Videos From Database In Modal Popup
Jul 29, 2013
How to create the popup Video player for local video . I just want to create the popupbox on that i just want to play a video what the local address ihas given.
for example: images/video.mp4 like that I don't want to pass the url.
View 1 Replies
Similar Messages:
Aug 11, 2010
Modal PopUp Extender Catch exception error and display on modal popup
[Code]....
View 2 Replies
Jan 17, 2010
I am trying to get a modal popup inside a modal popup?, also i want to fire the modal popup on a condition in a text change event of a textbox?...is this possible and can anyone give me directon on this
View 5 Replies
Feb 3, 2011
My requirment is to display all videos by clicking that videos it want to play how to do this .how to add mediaplayer into list view and play the videos.i want to display in this format http://www.youtube.com/results?search_query=sports&aq=f
View 3 Replies
May 21, 2012
how to store video file in database and which control to display the video..
View 1 Replies
Mar 25, 2013
i am already uploading some videos from sql server database.
Now, i want to display these videos from gridview using like query..
when i clicking the view button the videos are visible to gridview based on select query...
View 1 Replies
Feb 13, 2013
Handling the exception in asp.net.
View 1 Replies
Feb 10, 2011
I am trying to show a modalpopup window after I do an insert to a database. What they want is a screen to popup with all the problems they just submitted to the db. the modalpopupexender keeps asking me for a targetcontrolId but I don't need one. How do I get around this. since the submit button they use to see modalpopup is part of a different panel.
[Code]....
View 2 Replies
Apr 9, 2010
I have an Ajax ModalPopupExtender on a page. To summarise. I have a link on a page, when I click the link the modal popup displays. On this modalpopup I've a textbox and an 'ok' and 'cancel' button. I wish to find out what was entered in the textbox when the button is clicked I try this but the value of ((TextBox)button1.Page.FindControl("theTitle")) is null.
if (((TextBox)button1.Page.FindControl("theTitle")).Text == "")
void okButton_Click(object sender, EventArgs e)
{
try
{
//if i try this tt does not compile//The name 'theTitle' does not exist in the current context//if(theTitle.Text == "")//{//}
Button button1 = (Button)sender;
//TextBox theTitle = ((ImageButton)(e.Item.FindControl("theTitle")));
if (((TextBox)button1.Page.FindControl("theTitle")).Text == "")
{
}
else
{
}
}
catch (Exception)
{
}
}
View 3 Replies
Jul 7, 2012
i want to display the details of datalist of partiicular row using jquery, on click of hyperlink "view" inside datalist item template .. i want to avod ajax popup modal
View 1 Replies
May 7, 2015
I want to shore youtube url in to database then want to show video in datalist or gridview by using the url. in datalist there will be video player show.
View 1 Replies
Feb 28, 2011
I need to display a gridview control in a modal popup on the webpage. I need to have a textbox and a button along with the gridview control so the user can enter a name to search for. My problem is when they click the button to search, I imagine the modal popup will go away?
I thought of maybe putting an update panel inside the modal popup panel and see if it stayed on the page but I must be doing something wrong. Can someone tell me how I can make the search work with updating the gridview while keeping the modal popup there?
View 3 Replies
Nov 3, 2010
How can I can display modal popup with some text clicking on Hyperlink. I would link use Ajax with ASP.net 4.0. I am new to ASP.NET 4.0.
View 1 Replies
May 7, 2015
I have 1textbox and 1 button==BtnPopupL in page..I define RequiredFieldValidator for text box and use ModalPopupExtender for button below is code:
<asp:UpdatePanel ID="Uptload1" runat="server">
<ContentTemplate>
<asp:ModalPopupExtender DropShadow="true" ID="ModalPopupExtender3" PopupControlID="PnPopupL"
runat="server" TargetControlID="BtnPopupL">
[code]..
here when I click on button it will show popup but I want if users don't type any text in textbox if they click on button it doesn't show popup and show error that I define in RequiredFieldValidator...here when I don't type text in textbox when I click on button it show both(popup and Required FieldValidator) but I want it doesn't show popup untill I type text in textbox...
View 1 Replies
Sep 21, 2012
I used below code for show Welcome message in my first page of site index.aspx
protected void Page_Load(object sender, EventArgs e)
{
string message = "Welcome to Our site.";
System.Text.StringBuilder sb = new System.Text.StringBuilder();
sb.Append("<script type = 'text/javascript'>");
sb.Append("window.onload=function(){");
[code]....
I want when users come to site when it show index.aspx at first time it show popup menu that i define some control on it like TextBox,button,... and when users click on button, it go to index.aspx/
View 1 Replies
Mar 8, 2014
I want use flowplayer to play my flv video file. I have a datalist like below :
<asp:DataList ID="frmViedo" runat="server">
<ItemTemplate>
<div class="flowplayer"> <video>
<source type="video/flv" src='<%# Eval("Vurl" , "~/Videos/Video/{0}") %>'>
</video></div>
</ItemTemplate></asp:DataList>
In code behind :
if (Request.QueryString["vid"] != null) {
frmViedo.DataSource = video.GetVideoById(Convert.ToInt32(Request.QueryString["vid"]));
frmViedo.DataBind();
} public OleDbDataReader GetVideoById(int id) {
string strSelect = "select * from Video where VID = @VID";
return ExecuteReader(CommandType.Text, strSelect, new OleDbParameter[]{
new OleDbParameter("@VID" , id),
}); }
But it don't work and i get this error :
Adobe Flash is disabled for this page, click player area to enable. Why?
View 1 Replies
May 7, 2015
I have three modal popup and three link buttons the first link button is on menu i.e. login that shows login-popup and the login popup contains two links forgot password and register both of them opens a popup but the problem is the login popup isnt hiding with click on register or foreget link the popups are appearing perfectly but arent hiding.
The html for all three popup is as shown below:-
<cc1:ModalPopupExtender ID="Modallogin" runat="server" PopupControlID="loginpanel" TargetControlID="loginlink" BackgroundCssClass="modalBackground"
CancelControlID="lnkforgot">
</cc1:ModalPopupExtender>
<asp:Panel ID="loginpanel" runat="server" CssClass="modalPopup">
[Code] .....
And the codebehind file that i wrote some code which also isnt working is as shown below:-
protected void Button2_Click(object sender, EventArgs e) {
Modalforget.Hide();
} protected void lnkregister_Click(object sender, EventArgs e) {
Modallogin.Hide();
Modalregister.Show();
[Code] ....
I also used breakpoints on link click event and are not going to code behind file on click and popup is just shown without hiding the other. And the css used is I found on aspsnippet site!
View 1 Replies
Sep 28, 2012
I hav One dynamically created LinkButton in Table.. I want dispaly Modal popup exrender Link button Click event.. on
What Should i specify In TargetControlId field=?..
i tried
void amendQty_Click(object sender, EventArgs e)
{ //throw new NotImplementedException();
LinkButton amendQty = sender as LinkButton;
amendQty.ID = "lnkamend";
popupwin.TargetControlId="lnkamend";
this.popupwin.show()
}
but itd doesnt work.. and also i tried
void amendQty_Click(object sender, EventArgs e)
{
//throw new NotImplementedException();
LinkButton amendQty = sender as LinkButton;
amendQty.ID = "lnlamend";
[Code].....
View 1 Replies
Apr 27, 2016
<script type="text/javascript">
$(document).ready(function () {
$("#<%=text_searchArea.ClientID %>").autocomplete({
source: function (request, response) {
$.ajax({
url: '<%=ResolveUrl("~/Service.asmx/GetLocations") %>',
[CODE]..
View 1 Replies
Sep 20, 2015
In my First Page i have a text box and button.
When i click button a new pop with grid view data should open.
After selecting the row in grid view the selected row value should be display in text box and modal should be closed.
I can open the grid view with data but can't able to close and get the value to my text box.
Code for opening popup:
<asp:Button ID="Button1" runat="server" Text="Fill Form in Popup" OnClick="Button1_Click" />
<cc1:ModalPopupExtender id="mp1" runat="server" popupcontrolid="Panl1" targetcontrolid="Button1"
cancelcontrolid="Button2" backgroundcssclass="Background">
</cc1:ModalPopupExtender>
<asp:Panel ID="Panl1" runat="server" CssClass="Popup" Style="display: none">
[Code] .....
View 1 Replies
Apr 27, 2016
Is it possible when i select the gridview and it will reveal selected row and retrieve all the data from sql server on popup formview.
Gridview [URL] .....
Formview [URL] .....
View 1 Replies
May 7, 2015
I would like to add a confirmation modal after the click of delete in gridview.The problem is that with this addition the delete takes place only for the first row of the gridview even if I try to delete another row.I have the code below inside a gridview itemtemplate
<asp:LinkButton ID="diagrafi" runat="server" type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#delete_Modal">
<asp:Image ID="Image1" Width="20px" runat="server" ImageUrl="images/del.png"/>
</asp:LinkButton>
<div class="modal fade" id="delete_Modal" tabindex="-2" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
[CODE]..
View 1 Replies
Jun 23, 2010
I have a list of events that have been retrieved from a database a bit like this: Easter St Patrick's Day Christmas Independence Day ... I would like to make them links and when you click on the link it raises a modal popup and displays a bit more information from the database about the event. So far, I've set up the ModalPopupExtender like this on my page:
[Code]....
I thought the links might look something like this:
<asp:LinkButton ID="btnShowPopup" runat="server" OnCommand="ShowDetails" CommandArgument="Test">Event 1</asp:LinkButton></p>
[Code]....
I'm not quite sure how well this will repeat though. It looks like I'll have to have a ModalPopupExtender for every single link which doesn't sound very efficient. Am I doing this right?
View 1 Replies
Sep 20, 2015
I saw guide on here [URL] ....
Which I found useful to create gridview with dropdown filter. What my gridview differs from your one is based on ID, a modal is loaded. E.g. there is a column called "review" and in that column there is image that when clicked it loads a modal with details. My question is, how do i do this using the code provided by you. So ID is passed back to code. (So backend knows which row is clicked).
View 1 Replies
Apr 27, 2016
I have a datalist that displays all records from table but i have a button select on the datalist and i want to use the button to select each record of the column and display it on modal...here is my code
GetPost2(username);
}
}
public void GetPost2(string username)
{
// int followerid;
[code]....
View 1 Replies