|
//you can use like this... Preview is my folder name and TRAD.AVI is my video name
<embed src="Preview/TRAD.AVI" style="HEIGHT: 331px; LEFT: 83px; TOP: 171px; WIDTH: 538px" />
Padmanabhan
|
|
|
|
|
still can not play.
only display a Blank region.
|
|
|
|
|
//I am using the same .SWF format file. It plays fine for me.
<embed src="Preview/VISUALISE.SWF" style="HEIGHT: 331px; LEFT: 83px; TOP: 171px; WIDTH: 538px" />
Padmanabhan
|
|
|
|
|
You can use this object.
Here "Images_View/globe.swf" is the complete path of my flash file and set hight and width as per your requirement.
Hope this will helpful for your.
<OBJECT id='hcp' codeBase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'VIEWASTEXT>
<PARAM NAME='_cx' VALUE='20585'>
<PARAM NAME='_cy' VALUE='5054'>
<PARAM NAME='FlashVars' VALUE='20585'>
<PARAM NAME='Movie' VALUE='Images_View/globe.swf'>
<PARAM NAME='WMode' VALUE='Transparent'>
<PARAM NAME='Play' VALUE='-1'>
<PARAM NAME='Loop' VALUE='-1'>
<PARAM NAME='Quality' VALUE='High'>
<PARAM NAME='SAlign' VALUE=''>
<PARAM NAME='Menu' VALUE='0'>
<PARAM NAME='Base' VALUE=''>
<PARAM NAME='AllowScriptAccess' VALUE='always'>
<PARAM NAME='Scale' VALUE='ShowAll'>
<PARAM NAME='DeviceFont' VALUE='0'>
<PARAM NAME='EmbedMovie' VALUE='0'>
<PARAM NAME='BGColor' VALUE='FFFFFF'>
<PARAM NAME='SWRemote' VALUE=''>
<EMBED src='Images_View/globe.swf' quality='high' height='200' width='450' wmode='transparent' menu='transparent' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'> </EMBED>
</OBJECT>
Regards...
Vijay Jain
"One thing you can't recycle is wasted time."
|
|
|
|
|
Hello,
I want to create web application on ASP.Net using c# language on different language supported (i.e. English,Dutch,etc..),so please help me and guide me that how can i do that,if possible please provide me some reference code.
Thanks.
nikunj padaliya
|
|
|
|
|
|
i'm trying to create a site where the registered user can log in and gather the information in the site and download. but i want to handle the users who has not registered, and they should be allowed to gather some information and download.
how can i solve this.
|
|
|
|
|
Hi,
I have a GridView in My page. I attach a DataSource with it. But Some fields name in my table are large. So, how can I set the width of each column of my Gridview dynamically depending on the column name's length in my data tables.
|
|
|
|
|
|
Hi,
I am trying to post back the page after a button with an updateprogress executes.
The basic layout of the page is this:
1. User control at the top of the page, with no update panel
2. Update panel at the bottom of the page, with a Save button.
When the user clicks save, I want the updateprogress to display while it's processing (working as desired)
However, after saving, I need to do a postback because the save button tries to change some display properties of the user control at the top... but does not do so without a postback.
For various reasons, I could not simply place the user control inside the update panel. To make the long story short, I'm working with an ASP 1.1 site which was just recently compiled in ASP 3.5. There is a high-effort required to make this user control to work, when placed in an update panel.
Thank you for your help!
Rafferty
|
|
|
|
|
I am using the Role manager provided with Visual Studio. I do not know much about it.. I know how to unlock accounts, and do simple user interactions, but what I was wanting to know if there was a way to take that database and integrate it into another database?
Right now my web applicatino contains a database for all of its data, and a database for all the user login data. Is there a way to combine these two? Do I just replicate all the stored procedures, tables, and views from the membership database to my database?
|
|
|
|
|
aspnet_regiis.exe[^]
The above link will walk you through creating the required tables, views, and stored procs.
In your case, just select the web applications current database.
Hope this helps.
Robert Fidler
Springfield, Missouri
I'm listening but I only speak GEEK.
|
|
|
|
|
Ok I was afraid that might do something to my current tables... what about transferring the data in the database I use now to the new on I embed in my own database?
|
|
|
|
|
Using SQL Server Managment Studio import the database from old tables to new tables.
This should be quick and painless process.
Hope this gets you rolln'
Robert Fidler
I'm listening but I only speak GEEK.
|
|
|
|
|
I have a simple app that has several ComboBoxes. I should be able to change the ComboBox1 selection even after I have changed ComboBox3 (or ComboBox4, should the user change his/her mind). But my ComboBox1, even after changing, when tabbed out of, reverts to the earlier selection.
As a start, cboEvents.SelectedIndex = 3.
I then move to cboTime and select a certain value there (in cboTime).
I then return to cboEvents and change the SelectedIndex to 9.
But when I tab out of cboEvents, it reverts to SelectedIndex = 3 (the original selection).
Can someone show me how to discard the old selection and save the new selection?
PS. I have to mention that cboTime is dependant on cboEvent selection (the code that populates cboTime is based on the SelectedIndex of cboEvents).
Thanks!
|
|
|
|
|
When you change the selection of combo box, the page gets a post back and your combo box is again assigned the old value it had earlier.
You need to decide, weather you want to use the AutoPostBack property of the combobox or check the IsPostPack property of the page while assigning the value to combobox.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
One column on my gridview is an asp commandfield. When a user clicks on a row in this column how can I execute a client side java script function instead of the code behind function?
|
|
|
|
|
Convert your commandfield column as templatefield then replace the item template control by regular html link tag.
|
|
|
|
|
<title>GridView Data Manipulation
function ConfirmOnDelete(item)
{
if (confirm("Are you sure to delete: " + item + "?")==true)
return true;
else
return false;
}
<columns>
<asp:boundfield datafield="CustomerID" headertext="ID" readonly="true">
<asp:boundfield datafield="CompanyName" headertext="Company">
<asp:boundfield datafield="ContactName" headertext="Name">
<asp:boundfield datafield="ContactTitle" headertext="Title">
<asp:boundfield datafield="Address" headertext="Address">
<asp:boundfield datafield="Country" headertext="Country">
<asp:commandfield showdeletebutton="True" showeditbutton="True">
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowState != DataControlRowState.Edit) // check for RowState
{
if (e.Row.RowType == DataControlRowType.DataRow) //check for RowType
{
string id = e.Row.Cells[0].Text; // Get the id to be deleted
LinkButton lb = (LinkButton)e.Row.Cells[6].Controls[2]; //cast the ShowDeleteButton link to linkbutton
if (lb != null)
{
lb.Attributes.Add("onclick", "return ConfirmOnDelete('" + id + "');"); //attach the JavaScript function with the ID as the paramter
}
}
}
}
|
|
|
|
|
Dear fellows. I'm doing a small asp.net application to send an email using the System.Web.Mail namespace and gives me the "The transport failed to connect to the server" when I'm running it, please help.
ML Lingwati
|
|
|
|
|
check the credentials and mail server.
you use smtp service?
some like this:
public static void sendMail(string _to, string _subject, string _body)
{
MailMessage correo = new MailMessage();
correo.From = new MailAddress(_emailFrom);
correo.To.Add(_to);
correo.Subject = _subject;
correo.Body = _body;
correo.IsBodyHtml = false;
correo.Priority = MailPriority.Normal;
SmtpClient smtp = new SmtpClient();
smtp.Host = _server;
smtp.Credentials = new NetworkCredential(_user, _pwd);
try
{
smtp.Send(correo);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "TestOfApplication",
MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
regards
|
|
|
|
|
LucBite wrote: System.Web.Mail
Why not System.Net.Mail[^]
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi,
Im have addressed some of the problems such as the attachEvent only supported in IE, but im having problems loading the image as the user draws i.e. it only updates the image once the mousemove event has finished.
[^]
Cheers
|
|
|
|
|
FireFox does not support javascript.
|
|
|
|
|
How to show the designer generated hidden code in VS 2005 (initializeccomponent..onload..oninit..etc)
it's not cool to work while having code lines hidden
thanks guyz
|
|
|
|