|
Ya.. Got it Boss. You are absolutely correct!
|
|
|
|
|
Why would you need a file path ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
i want to assign a value
oMediaManagerPro.SourceFile_Path =fuplVideo.PostedFile.FileName;
oMediaManagerPro.Video_Bitrate = 300;
oMediaManagerPro.Audio_Bitrate = 64;
oMediaManagerPro.Audio_SamplingRate = 22050;
MediaInfo oMediaInfo = oMediaManagerPro.ConvertTo_MP4();
but fuplVideo.PostedFile.FileName just give the name of the file not full path.....
|
|
|
|
|
What is oMediaManagerPro ? As I suspected, it looks like you have an object on the server and want to set it to use a path on the client, which obviously won't work. I suggest buying a basic ASP.NET book and reading it.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
HttpPostedFile myfile = filMyFile.PostedFile;
int fileLen = myfile.ContentLength;
byte[] myData = new byte[fileLen];
myfile.InputStream.Read(myData, 0, fileLen);
String strFilename=Path.GetFileName(myfile.FileName);
=============
NITIN SAWANT
=============
|
|
|
|
|
I have read this three times, and I still don't see how you think it answers the OPs question
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi all,
I want Regular Expression for Email Address which should accept atleast one alphabet and dot(.) names like aaa.bb@gmail.com Please help me..
|
|
|
|
|
Check this[^] out.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
|
Hi All,
I have a link on the page "site.aspx" when i click it, a popup window named as "windowType.aspx" appears. On this window there is a dropdown that contains the types of the windows. After selecting an option, press the OK button then respective window should be opened (using javascript) and the "windowType.aspx" should be closed.
i am using the following code
function validateAndOpen()
{
var val=document.getElementById('ddlAuditType').value;
if(val=="select")
{
alert("Please select a window");
return false;
}
else if(val=="civil")
{
window.open("civil.aspx","","paramerters");
}
else if(val=="transmission")
{
window.open("transmission.aspx","","paramerters");
}
window.close();
}
Then i deployed the application on the server. This works fine on IE8 but not in IE6. Note : It works fine on local development server. I am pretty sure that the URL of the new window is correct other wise it should not work in IE8 also
Thanks in advance
Chanzeb Chaudhary
|
|
|
|
|
I'd check the settings on the instance of IE6 you are running, if I were you. Then I'd check to see if IE6 can hit it on staging. You do have a staging server, right?
|
|
|
|
|
Hi,
Can anyone help me nserting a .swf file in asp.net. I have don it using Image tool and the code i got is posted below.unfortunately it is not working. pls help me
asp:Image ID="Image1" runat="server" ImageUrl="~/Banner.swf" ;
|
|
|
|
|
Pratheepa wrote: unfortunately it is not working. pls help me
asp:Image ID="Image1" runat="server" ImageUrl="~/Banner.swf" ;
Now, it will not work.
You have to use Object/Embed Tag to show Flash file in web page.
HTML Object Tag[^]
Sample Application Link :
Flash Tip: Embedding Your SWF in a Web Page[^]
Hope this will help you
|
|
|
|
|
Thank you so much. It works perfectly.
|
|
|
|
|
Hello everyone!
I have a problem with dropdownlist choice selection. I made 3 dropdownlists date month year for entering date of birth. For checking 31 or 30 and leap year i have to enabe autopost back..is there any way that without post back i can modify lists or change as i have seen in many websites..
|
|
|
|
|
greendragons wrote: s there any way that without post back i can modify lists or change as i have seen in many websites..
Yes, Of Course. Implement it using JavaScript . Or use AJAX Update Panel for Partial Postback.
|
|
|
|
|
Thnx Abhijit..bt i dont know much about javascrip coding..means have to refer some ebooks..or plz could u tell the code..
|
|
|
|
|
|
Thnx alot.. guess this waz the thing tht i was being searching for..
|
|
|
|
|
cool.
Let me know if you have any further issue
|
|
|
|
|
i add ajax controltool kit in tools. i want to add calender extender for this purpose i need a textbox with an add extender option. i can't find add extender in textbox. i drag and drop the AJAXControlToolkit.dll assembly into the VS 2008 Toolbox it show all toolboxs.
|
|
|
|
|
|
hi,
currently i m working in asp.net 2.0 (web application)
i have a doubt in javascript
i m using...
window.open("login.aspx");
for the above execution, it search the file in the same local directory.
but wherever i m (in any folder, sub-folder), if i execute this line, i have
to come to the ROOT directory and open the login.aspx page.
how to proceed this?
In asp.net there is a statement
Response.Redirect("~/login.aspx");
in javascript window.open() ?????
Thanks in advance,
Karan
|
|
|
|
|
You wrote it like window.open("../login.aspx")
.. is present the one sub drectory,so if you have more than one subdirectory then use .. as much as subdirectory count.
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
actually i wrote one javascript file, which will process in all pages and finally redirect to LOGIN page of ROOT folder. more number of folders/sub folders are there..
~/ is used to get the root folder path of an application in asp.net.
In javascript????
Suggest me some good idea to proceed with..
Thanks in advance,
Karan
|
|
|
|