|
Hey to All,
Could any one help me, How to create a web page embedded with media player without using Activex Controls & plug-ins in HTML? What Should I do? please help me.
Advance thanks,
A. Venkata Ramana
|
|
|
|
|
Hyperlink to the music file to download and play
Java Applet
|
|
|
|
|
Hi!
i want to change background of my web form at run time using C# code in Asp.net web application.
By using HTML tags i can do it like using "document.body.background"
but i want to know how to use it in C#.
Thanx
|
|
|
|
|
Hi, I worked with similar tech lately so I might be able to help you.
Write the javascript needed to change the background image, then you can call it in the server side code, say on a button click
{
Response.Write("<script language=\"JavaScript\">"); //Open Scrip Tags
Response.Write("changeBackImage(\""+myImgUrl+"\");"); //Call JavaScript Method
Response.Write("</script>"); //Close Script Tag
}
You might need to play around in it
Hope this helps
Oliekrokenosterpikkelikkeastrysvoel
|
|
|
|
|
Can someone please help , I need to vertical align a table to the middle of the body. what tags can I use, I tried valign in the tags and it didnt work
Oliekrokenosterpikkelikkeastrysvoel
|
|
|
|
|
|
Not exactly what I want it to do beacuse then you still have to specify the table height in pixels. What I need is the table to be centered, when the screen resolution is chnaged to smaller it doent show scrollbars in the window.
Oliekrokenosterpikkelikkeastrysvoel
|
|
|
|
|
Try something along these lines....
<body>
<table style="width:100%; height:100%">
<tr>
<td valign="middle" align="center">
<table id="myCentredTable" > .... </table>
</td>
</tr>
</table>
</body>
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Thanx to everyone that contributed,
I am able to center my content even when resizing and decided to share my code with you all:
The JavaScript Goes in the <head> </head> tags
===============================================================================================
<!-- Gets and Sets the size of the Table to allow VAlign -->
<script language="javascript" type="text/jscript">
function setHeight(){
var myWidth = 0, myHeight = 0;
if( typeof( window.innerWidth ) == 'number' ) {
//Non-IE
myWidth = window.innerWidth;
myHeight = window.innerHeight;
} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
//IE 6+ in 'standards compliant mode'
myWidth = document.documentElement.clientWidth;
myHeight = document.documentElement.clientHeight;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
//IE 4 compatible
myWidth = document.body.clientWidth;
myHeight = document.body.clientHeight;
}
//window.alert( 'Width = ' + myWidth ); //Show When Debugging
//window.alert( 'Height = ' + myHeight ); //Show When Debugging
//Set Height of Table
document.getElementById('placeholderTable').style.height=myHeight+"px";
}
</script>
<!-- ============================= -->
================================================================================================
And then your body should look something like this
=============================================================================================
<body style=" margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0px; vertical-align:middle" onload="setHeight();" onresize="setHeight();">
<div align="center">
<table id="placeholderTable" cellpadding="0" cellspacing="0" border="0" style="vertical-align:middle;" >
<tr>
<td>
//Table Containing Content
</td>
</tr>
<table>
</div>
</body>
================================================================================================
Enjoy!
L Viljoen
Web Developer - PCW New Media
South African Branch
|
|
|
|
|
hi all
I am trying to export contents of Repeater Control data to excel file...which also contains a check box in one of its columns...
but i have export without that checkbox control column..
how can i do it..pls help (ASP.NET/C#.NET)
|
|
|
|
|
hi, very very urgent. i am using crystal report on a web form. on the same web form i am also using a toolbar from evolve software. i invested a lot time with both controls. everything worked fine until i got instructions that in evolve toolbar i must use a dropdownlist to chose data. evolve toolbar has no dropdownlist object, so i have to use ControlContainerItem to add dropdownlist to toolbar. problem is when i add it to evolve toolbar and click on navigation buttons of crystal report toolbar, it does not work. i mean i click on next button and can navigate to next page but when i click again on next, it remains on same page and so on. so i can navigate only one page further and then no more. crystal report toolbat get this problem only if i add dropdownlist control to evolve toolbar. if i do not add, crystal report toolbar works very fine and i can navigate until last page. i can take another toolbar instead of evolve toolbar but i have invested a lot of time in using evolve toolbar and right now i have no time to take another toolbar and investting time to first understand it and then use it. so please help me to explain why crystal report toolbar is behaving so stupid. follows is the web page with code behind.
<evolve:toolbar>...............
<evolve:controlcontaineritem id="customItem" runat="server"
="" cssclass="toolbartext" itemcelldistance="100px">
<asp:dropdownlist id="ddlYear" runat="server" width="150"
="" onselectedindexchanged="ddlYear_SelectedIndexChanged">
<asp:listitem>last 12 months
<cr:crystalreportviewer id="CrystalReportViewer1" runat="server"
="" autodatabind="true" enabledatabaselogonprompt="False" reportsourceid="CrystalReportSource1" displaygrouptree="False" enableparameterprompt="False" hascrystallogo="False" hasgotopagebutton="False" hassearchbutton="False" hastogglegrouptreebutton="False" hasviewlist="False" height="1121px" width="753px" onnavigate="CrystalReportViewer1_Navigate">
<cr:crystalreportsource id="CrystalReportSource1" runat="server"
="" onload="CrystalReportSource1_Load">
<report filename="..\CrystalReports\DeltaPrMonth.rpt">
Codebehind:
protected void Page_Load(object sender, EventArgs e)
{
customItem.Controls.Add(ddlYear);
}
many many thanks for your urgent help.
paijy
paijyj
|
|
|
|
|
I really hope somebody can help me here, this is wrecking my head...
Our application is sending emails through CDO (from asp) and we have recently had the requirement to send these mails in foreign character sets (greek specifically in this case). So i am setting the mail encoding like so:
With objMessage.Bodypart ' Initialize the bodypart to support UTF-8
.ContentMediaType = "text/plain"
.Charset = "utf-8"
.ContentTransferEncoding = "8bit"
End With
On my development system (XP, which has been set to all Greek at present, just to confuse me), i send the email and everything is fine. On our test system (Server 2003, also all greek), everything but the subject line of the email is fine...
When i look at the source of the emails from either system, the email from the test system is missing the encoding (?utf-8?) markup around the subject text.
Does anybody have any idea why this might be happening...?
|
|
|
|
|
|
Doesn't really cover for asp using CDO...
|
|
|
|
|
Hi I am Manigandan, I want to know, How to create dynamic Email Id on mail server.........
Please Help me out..........
R.Manigandan
|
|
|
|
|
I dont know if it is exactly what u need , but use autonumbers in your database, In SQL 2005 use the identity specification property of the column and set it to true. it will have a auto increment.
Oliekrokenosterpikkelikkeastrysvoel
|
|
|
|
|
Which mailserver software? They should have an API to support it.
|
|
|
|
|
I have developed a website using Asp.NET and C#.It is Working fine in LocalHost.Where as in Hosting the site Session variable are going to be null.
I cannot find the Solution.
Please any one can help me.
Regards
Narendra Mohan
|
|
|
|
|
Antivirus software scanning and updating web.config or like that?
|
|
|
|
|
I have been looking for free SSL snippets to use on my webpages, but I am finding it extremely difficult? The paid ones are abundantly available! I thought the purpose of open source code is for the public to continually criticise to make it even better.
-- modified at 12:25 Thursday 29th March, 2007
|
|
|
|
|
Add-ons to open source products doesn't have to be open source. As an example, Linux being open source doesn't force every application developed for it to be open source.
---
single minded; short sighted; long gone;
|
|
|
|
|
So does it mean anyone can develop add-ons & market them or it's for those with hosting capabilities like Joomla/Mambo?
|
|
|
|
|
|
Use the alert method. Example:
<a href="" onclick="window.alert('Thanks.');return false;">Click me</a>
---
single minded; short sighted; long gone;
|
|
|
|
|