Hi All Experts,
I am new in ASP.Net and in these days I have a problem. Can any body will help me in this situation. I will be great full to that person. Plzzzzzzzzz Help me.
I have following Code in <body> tag:
<object type="video/x-ms-wmv" width="320" height="260">
<param runat ="server" id="Test" name="src" value="" />
<param name="autostart" value="true" />
<param name="controller" value="true" />
</object>
And Following Code in Button Click Code:
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Test.Attributes.Add("src", "Test.mp3")
End Sub
The Problem is that on Click Event of that Button WMP Does Not Play this file. But when I type code like given below it plays the file.
<object type="video/x-ms-wmv" width="320" height="260">
<param runat ="server" id="Test" name="src" value="Test.mp3" />
<param name="autostart" value="true" />
<param name="controller" value="true" />
</object>
Thanks in Advance
Abdul Rouf