|
first u download ajax form net and install on ur system ofter that u ask me what next process.
Piyush Vardhan Singh
|
|
|
|
|
hi
please help me.....
am doing a mantanence project. i have writen some code to copy a file from server to harddisk. but there is some problem. i have developed this as windows application. now they want as web. tyhe problem is, i was reading the file path and copying in dos.in windos the path is already is there in html page in javascript. can i move the value to a the code behind string(C#). if we can convert how is it possible?
in code behind there is string Customer, book
on html page there is values of customer1 and journal as
var customer1 ='<%=Session["customer"]%>';
var journal = '<%=Session["journal"]%>';
how can we get the values of customer1 and journal to Customer, book
please help me....
please
|
|
|
|
|
P_Elza wrote: how can we get the values of customer1 and journal to Customer, book
Put these values into a hidden server textbox control. Access the values from there in server side. Make sure you are not storing any sensitive information as it is easy to tamper.
|
|
|
|
|
You Can create two hidden variables with tag runat="server" and assign the values to these hidden fields and access it from server side.
|
|
|
|
|
i have one master page, in this body we have written onkeydown event in javascript. in this javascript code we are preventing for Enter button keycode. this javascript function is preventing enterbutton for my whole application
in my default.aspx form, there is one contentplaceholder, in which there is textbox(multiline) control.
my problem is i want to activate/allow enter button onkeydown event only for my default.aspx textbox control.
How can i do this. ??
Ramana
|
|
|
|
|
Try this
function isValidText(oSrc, args)
{
}
Just Check it.
I guess in ur case oSrc.ClientID will give u desired thing. ClientID is a distinguisable feature in case of multiline control which is appended by rownumber in ID.
|
|
|
|
|
Hi,
when i run my asp.net application it shows msg Unable to debuging on web server. But when i select start without debuging then application get run.
Girish Soni
|
|
|
|
|
sonigirish wrote: Unable to debuging on web server.
Are you using a remote server ? If it is localhost, check integrated windows authentication is checked in IIS settings.
|
|
|
|
|
It is localhost and both prorerties are checked
Girish Soni
|
|
|
|
|
How to close a frame from either javascript or from code behind in a page? Suppose if in a page two frames are present and in one frame an aspx page is present...in onClick of a button in the aspx page the other frame should be closed and the aspx page should occupy the whole window ...is there any way to do this?
Koushik
|
|
|
|
|
Hi,
I am using zip method provided by java.util.zip which takes input as sbyte[].I am getting response from a function in Stream.This stream is a file data.And when I am making conversion from byte[] to sbyte[] because of some Data loss I am not able to open the file which gives error like file is corrupted or damaged. I can think of some solutions but here are the problems with them-
1.> Can I convert this Stream to sbyte[],presently I am converting it to byte[] through MemoryStream.
2.> Presently I am directly putting this byte[] to Response.BinaryWrite() and its working but how to do that with sbyte[] conversion from byte[] to sbyte[] to create a zip entry and then again converting it to byte[] for Response.BinaryWrite can damage the file.
Any suggestion will be appreciated..
Prateek..
|
|
|
|
|
plz try this code
byte[] data = new byte[100];
sbyte[] s = (sbyte[])(Array)data;
Rajendran
|
|
|
|
|
No, Still I am not able to open the file its given same error.
|
|
|
|
|
iam using iframe .in that iframe i kept an html page .now on clicking a button i want the complete source code of that html page form to
|
|
|
|
|
|
sir i want to read the source code of that html file through program or a when a button was clicked i want the source code of that html page in the i frame only
|
|
|
|
|
Using Javascript ? Then you need to get the content document of IFrame and look in InnerHTML property. If you need this in server side, put a hidden server side textbox, assign the InnerHTML to this textbox using Javascript before page gets posted. Access the value from this textbox on server
|
|
|
|
|
sir if dont mind give the code how to write
|
|
|
|
|
Assume your IFrame is named "MyIframe". So InnerHTML can be taken like
var IframeDoc = document.getElementById('MyIframe').contentWindow.document
alert(IframeDoc.body.innerHTML); I hope you know how to put this to a textbox and get this in server.
|
|
|
|
|
sir i used like this only with innerhtml .but iam getting only the source code from to.but iam not getting the java script which i used in the html page.
|
|
|
|
|
I want to get html source code of an URL. the user gives url in text box and upon clicking the submit button i need to get he html source code of that webpage(URL). I want this to be done using innerHTML
Regards
Manish T
|
|
|
|
|
Hi to all,
I am developing a application in which i am inviting other people
to my website.I my application i want to track the user like a
student got a invitation from 3 different friends and use one of
the link and register the to my site then i want to find out that
which(among three) invitation link he use accept to join my site.
(ALEX,MATHEW,RICKY send invitation to Brain to join my site and Brain
use ALEX link and register my website then how can i find which invitaion
among three brain has used to join my site?
Please give me little bit idea how can i do this?
Thanks.
Rahul
-- modified at 2:04 Wednesday 31st October, 2007
-- modified at 2:31 Wednesday 31st October, 2007
People Laugh on me Because i am
Different but i Laugh on them
Because they all are same.
|
|
|
|
|
If the three send the invitation via email that contains a link, you can just add a get parameter onto that link that will identify who referred Brian.
Alex, Mathew and Ricky are already members at your site, so they will probably have a unique identifier like an Id. So if the invitation is sent via mail you build your link ie.
http://mysite.com/?refer=123
and then on your site you'll just check for refer to see who referred Brian.
Hope that helps
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
Thanks NeroToxic for your help.
I got it.
Regards.
Rahul
People Laugh on me Because i am
Different but i Laugh on them
Because they all are same.
|
|
|
|
|