|
I think you have to create FTP user account manually and from with code you may invoke ftp upload.... through the FTP session opened through userid and password credentials....
I dont know the way to create FTP session from HTTP requests...
Is it possible.. If someone knows I would also like to know...
Abhishek Sur
|
|
|
|
|
Is possible to change the master page at runtime. tnx in adv.
Balasubramanian K.
|
|
|
|
|
yes u can
Page.MasterPageFile = "name of master page"
|
|
|
|
|
yes and This should be write in Page_PreInit() Event .
|
|
|
|
|
yes. You can change it on Page_PreInit() Event
protected void Page_PreInit(object sender, EventArgs e)
{
if (Request.Params["PageName1"] != null)
{
this.MasterPageFile = "~/MasterPages/PageName1.master";
}
else if (Request.Params["PageName2"] != null)
{
this.MasterPageFile = "~/MasterPages/PageName2.master";
}
else
{
this.MasterPageFile = "~/MasterPages/Default.master";
}
}
|
|
|
|
|
Yah.. thank you
Balasubramanian K.
|
|
|
|
|
Hi..
I want to show world map in my web page. I have different users on my site coming from various locations. I want to mark the countries from where my users have come in this map... how can i do this...
|
|
|
|
|
|
|
hey your link is not working.... .
Abhishek Sur
|
|
|
|
|
you can use imagemap control, in short, in imagemap you can define an area with navigationurl,tooltip etc just google about it
|
|
|
|
|
Hi gettting error in thos code:
foreach (ListViewItem lvi in lvEmployee.Items)
{
CheckBox chk = (CheckBox)lvi.FindControl("ICheck");
if (chk.Checked==true)
{
getchoice11 += "'" + lvi[2].ToString().Trim() + ",";
}
}
"Cannot apply indexing with [] to an expression of type 'System.Web.UI.WebControls.ListViewItem'"
whats wrong in that code?
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
hi ,
how can i block copy/paste option (or) right click for a text box in firefox both in keyboard and right click option in mouse...
its working in IE...
Ashok
|
|
|
|
|
onmousedown="return false;"
onkeydown="return false;"
|
|
|
|
|
hi,
ur code is working in IE but not in firefox... I ve tried this already...
Any idea
Ashok
|
|
|
|
|
use this javascript:
function noCopyKey(e) {
var forbiddenKeys = new Array('c','x');
var keyCode = (e.keyCode) ? e.keyCode : e.which;
var isCtrl;
if(window.event)
isCtrl = e.ctrlKey
else
isCtrl = (window.Event) ? ((e.modifiers & Event.CTRL_MASK) == Event.CTRL_MASK) : false;
if(isCtrl) {
for(i = 0; i < forbiddenKeys.length; i++) {
if(forbiddenKeys[i] == String.fromCharCode(keyCode).toLowerCase()) {
alert('This action has been restricted, for more information contact MJM');
return false;
}
}
}
return true;
}
|
|
|
|
|
hi,
thanks 4 ur reply...
this code is working to block on keyboard to copy/paste... But i cannot block right click and paste from mouse button...
Ashok
|
|
|
|
|
try this:
if ( document.layers )
{
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown = function(e)
{
if ( e.target == document )
return false;
}
}
else
{
document.onmousedown = function()
{
return false;
}
}
|
|
|
|
|
Hi
I am showing swf file as under..
<OBJECT ID="Flashobj" WIDTH="300" HEIGHT="250" CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
STANDBY="Loading Windows Media Player components..." type="application/x-shockwave-flash">
<param name="movie" value="add1.swf" />
<param name="allowscriptaccess" value="sameDomain"/>
<param name="autostart" value="true" />
<param name="SWLIVECONNECT " value="true" />
<EMBED type="application/x-shockwave-flash" SRC="add1.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" NAME="Flashobj" WIDTH="300" HEIGHT="250"> </EMBED> </OBJECT>
Now i want to enable a button wen this flash file finishes playing. How can i do this..
|
|
|
|
|
Nopes...not possible
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
make a check box when the movie end the user check the box and enable the button
The Web Developer. Beirout-Lebanon
|
|
|
|
|
Flash file has frame per sec so by calculating the frame u can check wether it is running or completed
Hope it will give u some guidance
Unless u don't give ur hundred percent whatever u r doing till there is no result of ur work...
|
|
|
|
|
You can call JavaScript functions from within a Flash movie with Flash 8, so potentially you could enable a button in your web page by writing a small JavaScript function and then calling this function from within your flash movie. Take a look at this article for more information.
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
Introduction to Object-Oriented JavaScript
|
|
|
|
|
Is there any way to update global resource value
I tried this, is it right??
Resources.Resource.FlagImage.Replace("0", "1");
this will replace the value or not??
is ther any other way to update???
Thnks in advance....
|
|
|
|
|
Hi...
I have created one class file XYX.cs under app_code directory...
and One usercontrol ABC.ascx file under usercontrol directory....
Now i want to get object of ABC.ascx file in XYX.cs file....
here both file namespace are similar...
But my problem is i cannot get object of that .ascx file in .cs file..
If i put that usercontrol file in .cs file than i am getting object...
but i dont want to put that user control in app_code....directory...
Is there any Solution for this....
?
?
?
Please help me...
Thankyou
Hemant Patel
|
|
|
|