|
Hi,
Im able to avoid flickering in internet explorer browser using below code
But this code is not working in NON-IE browsers. The page still flickers in NON IE browsers.
If you have any equivalent code for non-IE browsers, please write the code.
Please help me..
Thanks in Advance.
|
|
|
|
|
hi guys
i am working asp .net and i got a old project in this project all coding are on aspx pages
so i want to alert message through vb code but its not working ..
my code are as ....
Public Sub CDataList_ItemCommand(s as Object,e as DataListCommandEventArgs)
Label1.Visible ="False"
col.Text=Ctype(e.Item.FindControl("Oops"),LinkButton).Text
Response.Write("<script language="javascript">return confirm('Your are not logon.Please Login..'))
End Sub
any one know plz help me
<div class="ForumSig">krishna veer singh</div>
|
|
|
|
|
Just try the below code and see if it works or not
Response.Write("alert('Your are not logon.Please Login..')")
|
|
|
|
|
no its not working its giving error
"string constants must be closed with double quote"
krishna veer singh
|
|
|
|
|
Hey it is working
Response.Write("alert('ur not login')")
modified on Thursday, June 19, 2008 8:50 AM
|
|
|
|
|
I want to convert video files ito FLV files it works but when the size of video file is more than 200kb its wont work whats the reason give some idea about that Code is given below
Process ffmpeg; // creating process
string video;
string mpg;
video = HttpContext.Current.Server.MapPath("Uploads\\" + FileUpload1.FileName); // setting video input name with path
mpg = Page.MapPath("") + "\\video.flv"; // thumb name with path !
ffmpeg = new Process();
ffmpeg.StartInfo.Arguments = " -i " + video + " -s 480*360 -deinterlace -ab 32 -r 15 -ar 22050 -ac 1 " + mpg; // arguments !
ffmpeg.StartInfo.FileName = Page.MapPath("ffmpeg.exe");
ffmpeg.Start(); // start !
ffmpeg.WaitForExit();
ffmpeg.Close();
string AppPath = Request.PhysicalApplicationPath; //This is the path of your application
string inputPath = AppPath + "ffmpeg\\myVideo.wmv"; //Source Video Path
string inputPath = FileUpload1.PostedFile.FileName;
FileUpload1.SaveAs(MapPath("image/" + FileUpload1.FileName));
string outputPath = AppPath + "outputFolder\\" + FileUpload1.FileName.Split('.')[0] + ".flv"; //Destination Video Path
string fileargs = " -i ";
fileargs += "\"" + inputPath + "\"";
fileargs += " \"" + outputPath + "\""; //Command Line
Process proc = new Process();
proc.StartInfo.FileName = AppPath + "ffmpeg\\ffmpeg.exe"; //Path of FFMPEG
proc.StartInfo.Arguments = fileargs;
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.CreateNoWindow = false;
proc.StartInfo.RedirectStandardOutput = true;
proc.Start();
System.Threading.Thread.Sleep(1000);
string strErr = proc.StandardError.ReadToEnd();
proc.WaitForExit();
string output = proc.StandardOutput.ReadToEnd();
|
|
|
|
|
Have you try the vendor of FFMPEG? they are most likely to know as its their app.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
How we cal validate File size(Uploaded) in client side throug javascript
|
|
|
|
|
You can't check the file size on client side without using activex object. But that is not recommended and most browsers disables it default.
|
|
|
|
|
i want to convert video files ito FLV files it works localserver but its not work after the net hosting... the below error will bw display.. what kind of error pls tell me
Security Exception
[SecurityException: Request failed.]
_Default.Button1_Click(Object sender, EventArgs e) +0
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7350
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.default_aspx.ProcessRequest(HttpContext context) in App_Web_55wknniu.0.cs
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
|
|
|
|
|
its a security exception. and a request failed...since we have no idea what your button click does i personally have no clue what exactly caused it, i would imagine some kind of permission problem with the iis user, mabye someone else is more clairvoyant(sp?) than i am.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
can i let the the user on client machine to open the only new mail message window of outlook express.
I am using the following code.
1. Response.Redirect("mailto:" + name);
but this navigates client to an another page
can i open the window in same page.
2.Syste.Diagnosis.Process.start("mailto:")
but this open the window ony on server
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Pankaj Garg wrote: new mail message window of outlook express.
You can't do that. It depends on the client's settings. Giving "mailto" in links will open the default mail client on the client machine and not outlook express always.
|
|
|
|
|
i just want to open the mail client .
can u provide code?
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
It's just HTML.
<a href="mailto:someone@somedomain.com"> Check this[^]
|
|
|
|
|
i have to pick some data from database only after then i have to invike the window.so first i need to reach code behind.can u tell me , how i will write the same in code behind.
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Put a literal controls and write the text to it.
|
|
|
|
|
I've a textbox in an User Control and i want to use the text or value of that Text Box in my web page without including that User Control in my web page
|
|
|
|
|
Do you really mean you don't want to use the user control? Or do you just mean you don't want the user control to be visible to the user?
If you want to transfer the value of a text box in the user control then you are going to need that user control. There is no getting around that. However, I suspect that all you really want is for the user control to be invisible. In which case you want to set its Visible property to false .
|
|
|
|
|
I want to use the value of TextBox which is placed in the User Control in my Web Page
|
|
|
|
|
.NET- India wrote: I want to use the value of TextBox which is placed in the User Control in my Web Page
That does not answer my question.
Assuming you still have the user control, then create a property on the user control. In the getter of the property return the Text value of the TextBox.
|
|
|
|
|
Hello,
I've already created a property as given below but it's not letting me to return the TextBox(TextBox1) value
public class A
{
public string myProp
{
get
{
return --------;
}
}
}
|
|
|
|
|
.NET- India wrote: return --------;
This is not valid code. If you want help you need to show the real code.
|
|
|
|
|
Hi All,
I have web service which accesses the services of other mok webservice in my localsystem only. When I try to access that web service in my web service I am getting below problem. Pls. help me in this.
"Types 'CI' and 'localhost.CI' both use the XML type name, 'CI', from namespace 'http://tempuri.org/'. Use XML attributes to specify a unique XML name and/or namespace for the type. "
What should i do to resolve this problem.
Thanks a lot,
Md. Abdul Aleem.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
I am using iframe like this:-
can i pass some value from iframe to my page using java script?
|
|
|
|