Web Forms :: "tree Menu" Controlling Silverlight Media Source?

Jun 14, 2010

I have a well established site in asp.net. I need to use the silverlight player to provide video streaming of meetings we have pre-recorded. I want to be able to provide a list of agenda items in a list / menu style setup in the asp.net page, then based on which link the click change which video the silverlight player plays.

I also need to capture some information from the asp.net page, and don't have time to build a full silverlight application to manage. What is the best way to do this?

I know to put the object tag, and set the source to the xaml file / xap file, but how can I change the video source inside the xaml file? Or is it going to be easier to build out the "full page in silverlight" and then just wrap it in the asp.net page?

View 1 Replies


Similar Messages:

Web Forms :: Silverlight Media Player Change Source And Play From Javascript?

Jan 22, 2010

I am having trouble accessing an embedded Silverlight 2 media player in an aspx page from Javascript and was hoping someone might offer some insight on what's going on.

What I want to do is fire a javascript event on the client when a button is pressed to change the Silverlight media player media source and then play the newly selected file.

I found what seemed like a pretty straightforward example on the silverlight.net site that looked like this:

[Code]....

However, when I run it, I get an error "undefinedObject doesn't support this property or method".

I've confirmed that the client-side id I am using is correct, and I have tried using document.GetElementByID in place of $find (which is what I use elsewhere on the site successfully; my javascript kung fu is weak and I'm not precisely sure what the difference
might be) but it still doesn't work. It all seems like it should work as it was presented in the example, but I only get that error.

View 1 Replies

C# - Silverlight Media Player Position

Nov 24, 2010

My application plays movies from specific positions, so even a position mentioned in milliseconds matters for me. I'm assigning a position to a media element but it's showing the wrong frame. I don't know why media player is not playing from the position that I'm giving. Here is some sample code:

TimeSpan oTimeSpan = TimeSpan.FromMilliseconds(16800200); // This shows 04:40:00.2000000
MediaPlayer.Position = oTimeSpan; // But after assigning, value is 04:40:00.1990000

View 2 Replies

C# - Open Source Ecommerce For Digital Media?

Nov 11, 2010

Which Opensourese ASP.NET Ecommerce supports Digital media? I mean ,I want to sell downloadable stuffs

View 1 Replies

C# - End User To Use My Silverlight Media Player Application In Browser To Play The File, Prevent Them From Download To Local Directly?

Mar 4, 2010

I am using VSTS 2008 + C# + .Net 3.5 + Silverlight 3.0 + ASP.Net to develop a Silverlight application (a video media player) in browser and the function is simple, just use MediaElement to play a remote video file.The remote server is Windows Server 2008 + IIS 7.0 + IIS Media Bit Rate Throttling Control.Since the request media URL can be discovered (e.g. from traffic sniffer), and I want to know how to prevent from download directly from the Url? i.e. I want end user to use my Silverlight media player application in browser to play the file, prevent them from download to local directly. Any easy and quick solution or reference code/documents?

View 5 Replies

Controlling HTML Of A WebPart's Top-right Drop Down Menu?

Sep 29, 2010

I am reviewing some existing ASP.NET code that used ASP.NET WebParts. The web parts implement IWebActionable in order to control the items shown on the web part's top-right drop down menu.

The rendered HTML for each context menu item looks something like this:

<DIV>
<A class="menuItem" onclick="stuff" href="javascript:void(0)">
<IMG src="something.gif"/>Menu text
</A>
</DIV>

I want to use the CSS Sprites technique on the images used for the menu items. However, in order to do this I need to have some control over the rendered HTML, changing it to something more like this:

<DIV>
<A class="menuItem thisItemCssSpriteClass" onclick="stuff" href="javascript:void(0)">
Menu text
</A>
</DIV>

View 1 Replies

Web Forms :: Menu Display When Right Click On Tree Node Item?

Jun 17, 2010

I have to create menu like outlook menu tab. I am using treeview for this. Let me know how to create menu when right click on tree node item and how to handle right click event for treeview. give any reference or source samples for this.

View 4 Replies

Forms Data Controls :: Populate Tree Based On Drop Down Menu Selection

Mar 24, 2011

I have written a code that populates data from database into the tree using C# and is working perfectly , the thing is how can i populate the tree based on a selection from a drop down menu

the code to populate the tree is below :

[code]....

View 4 Replies

Use Genealogy (Family Tree) Source Code Or A Library Needed?

May 31, 2010

I am looking for any source code for my website to include a genealogy. I am not having time to build it up from the scratch. If any one can provide me the libraries or any partial code, so I could use it

View 2 Replies

How To Create A Tree Menu Using Vb

Dec 22, 2010

how to create a tree menu in asp.net using vb and connect it with microsoft access database , can I do this and How.

View 5 Replies

Web Forms :: Silverlight Conflict With Menu Control (in Firefox)?

Feb 22, 2010

i have many css problems with asp:menu /here is one of them

i use this slideshow http://www.codeplex.com/SlideShow

on top of it i have asp:menu

when i hover over the menu i didnt view the child item correct

View 1 Replies

SQL Reporting :: Can Use The Collapse And Expand Feature (like Tree Menu) In Report

Jun 29, 2010

May i use the collapse and expand feature (like tree menu) at Report iam using the Report viewer Control for displaying the Report on my Asp.net Page .

I have number records and each record have detail as i clicked or expand the record then details will be shown is it possible with report viewer control as.

View 4 Replies

4 Menu Hides Behind A Div Containing Silverlight App?

Sep 13, 2010

I have an aspx page which has a ASP.NET 4 menu control (rendered as ul/li's instead of tables) and a div right below it which contains a Silverlight .xap. When the user selects a menu item in the menu control, the Silverlight app gets updated. In IE 7 & 8, when I hover over the menu, the menu items are "hidden" behind the Silverlight and I can partially see only the first child item. However, the menu appears just fine in Firefox. I thought something in my CSS caused it and I removed all CSS references but it still stays hidden behind the Silverlight app. How do I bring the menu control to the front?Here's my menu -

<asp:Menu ID="mnuReports" runat="server" Orientation="Horizontal" OnMenuItemClick="mnuReports_MenuItemClick"
BackColor="#DDDDDD" ForeColor="#000000" StaticSubMenuIndent="10px" MaximumDynamicDisplayLevels="1"
StaticEnableDefaultPopOutImage="False"> [code]...

View 1 Replies

Web Forms :: How To Interact Between Windows Media Player And Windows Media Services

Jan 12, 2011

I have an ASP .NET 2.0 (4.0 is an option) page that I've embedded the Windows Media Player to using OBJECT tags.

The player is connecting to a Windows Media Services publishing point on the Web server. This is on a 2008 server.

Everything works great, see it here: [URL]

If I understand correctly, the information the player is showing in its status bar comes from the ID3 tags of the current track. Continuing on this line of thought, the ID3 information must be coming to the player from the media server. Correct?

What I want to do is collect and use the information about the track that's current being played. I'd like to be able to create a custom display for the current track information. I'd also like to put a custom value in the track information to look up additional information about the artist/track from a database.

View 2 Replies

Web Forms :: Menu Control Not Allowing Data Source Change?

Apr 23, 2010

I have a ASp:Menu control in my Master Page . I want to change DataSource of my Asp:Menu on Login depending upon the role of the user (as if admin/user/staff etc) so when i tried to change the data source of asp:menu by

menu1.DataSource= ds_director;
menu1.DataBind();

it is giving error like u can't user two dataSources..

View 2 Replies

Forms Data Controls :: Tree View Set Slected Index / Auto Selected Index Change To Tree Node?

Jan 25, 2011

I have two control page in my aspx page. first one left side "tree view",second one right side " form design".Form design will change based on tree view selected index changed.i have 4 level child node(site, master , slave, space). I have seperate forms to each level of node.

cannot update tree node when update the forms. so i reload tree view.

now i need how to auto selected index change to tree node.

ex.

1 parent node

1.1 child node

1.2 child node

i have update "1.2 child node" rename to "1.3 child node"

and reload treeview so it will chage...

how set tree node.selected index = 1.3 child node....

View 3 Replies

Web Forms :: Play Windows Media Player In Webpage Without Installing Windows Media Player?

Mar 20, 2010

i have the following bit of code... is there a way to embed a media player into a webpage (such as windows media player) and play a file on it without actually having to have windows media player installed?

so to clarify, can i play a windows media player in a webpage without having it installed? because at the moment the follwing bit of code only plays my files asfter i installed windows media player on my PC.

private static string MediaPlayer(string file)
{ return "<OBJECT ID="mediaPlayer" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Microsoft Windows media Player components..." type="application/x-oleobject">" +
"<PARAM NAME="AutoStart" VALUE="true" />" +
string.Format("<PARAM NAME="FileName" VALUE="{0}" />", file) +
"<PARAM NAME="ShowControls" VALUE="true" />" +
"<PARAM NAME="ShowStatusBar" VALUE="true" />" +
string.Format("<EMBED type="application/x-mplayer2" SRC="{0}" name="mediaPlayer" width="176" height="144" autostart="1"showcontrols="1"></EMBED>", file) +
"</OBJECT>";
}

View 1 Replies

Web Development - Looking For Navigation Menu Editor With Source Code

Jan 3, 2010

web-based so it can be used by users and hopefully using the class SQLSiteMapProvider which allows for saving sitemap in a SQL Database instead of XML.

View 1 Replies

Security :: Source Code For A Login System Where Administrator Can Be Directed To A Different Menu?

Feb 3, 2010

provide me the source code for a login system where administrator can be directed to a different menu than the members.

View 2 Replies

Error CS0029: Cannot Implicitly Convert Type Media.WebService.multiValuedAttribute To Media.WebService.multiValuedAttribute[]

Aug 5, 2010

In Visual Studio 2008 I have a Class Library project (called Media) to which I added a Web Reference (not a Service Reference) to a third-party web service (wsdl). In the Class Library project a proxy class is created for using the service along with several classes for the types used in that service.

I also have a second Class Library (called Sync) that references the first one. And then I have a Web Site project that references the second class library. All of this is .NET 3.5

So Web Site > Class Library (Sync) > Class Library with web service reference (Media)

I want to step into the generated code, so I fire up the web site in IIS 7.5 and trigger the call to a method in the second class library (Sync) that in turn should call the web service proxy. I was fully expecting to hit the breakpoint, but instead got an exception:

Unable to generate a temporary class(result=1). error CS0029: Cannotimplicitly convert type Media.WebService.multiValuedAttribute to Media.WebService.multiValuedAttribute[]

Why is ASP.NET trying to generate a temporary class? Don't I already have the generated class from the first Class Library (Media)?

View 1 Replies

Web Forms :: Controlling A UI From Another UI?

Jun 28, 2010

Is it possible to control a web page from another web page. ?My scenario isI have a page (UI1). It has a hyperlink. Clicking on the same it opens another seperate UI (UI2). UI2 also have a hyper link.My question is , is there any way that I can control UI1 from UI2 using this hyper link

View 4 Replies

Web Forms :: Controlling A Text Box With A Check Box?

Aug 16, 2010

I want to enable a text box when a check box is pressed. I am using asp.net 2.0 with vb.

Here is my current code, no errors are returned but it doesn't do anything when the check box is clicked.

[Code]....

[Code]....

[Code]....

[Code]....

View 4 Replies

Web Forms :: Controlling What Gets Entered Into A Textbox?

Mar 29, 2010

How can I set up a format for a text box so that if they are to put a date or the time they are required to put it in as mm/dd/yy or time as 12:00am?

View 6 Replies

Web Forms :: Controlling The Amount Of Text Displayed?

May 28, 2010

I'm sure you've seen sites that display a portion of the available text in a limited space followed by an ellipsis or a [more] link. That's what I need to do. The text is in a database field, and includes carriage returns and line feeds. I can't just count the number of characters. How can I only display the text that will fit in a defined space? I've tried using a panel control with the height defined. I've also tried a div with the height defined. Neither has worked. How is this done?

View 6 Replies

Web Forms :: Programmatically Controlling A TreeView When Using A SiteMapDataSource

Feb 17, 2010

When I declare the TreeView Nodes:

[Code]....

I can programmatically control the collapse and expansion of nodes:

[Code]....

When I use a SiteMapDataSource:

[Code]....

How do I now programmatically expand and collapse nodes? The code above doesn't work because the number of nodes is now 0.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved