|
|
Did you consider asking the author ? How would we know, we didn't write 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.
|
|
|
|
|
only one page for a pdf is opening even if iam increasing the page content.. In this coding where to code, to increment the number of pdf pages.
That is what i mean to ask.
|
|
|
|
|
What I am telling you is that the odds of the people who happen to read the forum in the time since you posted having used this library is very low. So this is a dumb place to ask. There's forum just under the article where you can see what other people asked, and ask your question. Plus, you can always download the source and make it do what you want it to.
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,
Iam not sure whether this is the right message board to place this query..
In my intranet site Iam using vb.net...
I was able to access the site properly, but our network team had applied some security patches last night... the very next day when Iam trying to access the site, it is giving error message as Network error(tcp_error)
can anyone help me out...
Imtiaz A.K
|
|
|
|
|
Sounds like your server is no longer visible to your machine.
Tell the network clowns to fix 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.
|
|
|
|
|
Might be that IP is blocked using firewall from your ISP.
You need to call your ISP to make exception to that IP.
|
|
|
|
|
First Check you can ping the machine from your machine.
Please Post the exact error that you are getting and we will look at it
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Hi,
Thanks for response...
I pinged the server and i got the reply...
even I can access that server using the remote desktop connection..
Thanks
Imtiaz A.K
|
|
|
|
|
ok , now Post the Complete Error that you get. Dont edit it, just post it the way comes
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
In the LAN Settings(in Connection Tab of Internet options) of my browser I had added the url in the "DONOT USE PROXY", now it is working.
is this the correct way...?
Imtiaz A.K
|
|
|
|
|
The below is the error which Iam gettig before..
Network Error (tcp_error)
A communication error occurred: ""
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.
Imtiaz A.K
|
|
|
|
|
Hi all.
I'm programming an site, where I create a file on server side, an I need it to be downloaded to client after it finishes.
At this moment, I am coding it step by step:
- A button to create the file
- Another button to download it, once it is created.
I can create the file correctly, but when I try to download it this is what happens:
There is an asp:textbox where I have the name of the file (I get the path with Request.ServerVariables("APPL_PHYSICAL_PATH") so that's OK)
Then I press the input type=button control I have, and call a javascript function like this:
<script type="text/javascript">
function Download(nom_fich)
{
window.open("Downloadfile.aspx?ar=" + nom_fich,"Download","width=10,height=10,resizable=yes;top=200,left=150,menubar=no,toolbar=no,status=no,location=no");
}
</script>
Once I am on the Page_Load event of the Downloadfile.aspx page, I get the parameter from "ar" and I just get "undefined".
I don't know if the problem is when taking the file name from the asp:textbox control, because when I get it from an input control, it is OK...
Please, help me, I have been searching for an answer for so long, and I can't stand it anymore.
Thanks in advance.
PS: This is the input button I use:
<input id="Bt_Descarga" class="" visible="TRUE" style="width: 100px" type="button" value="Download" onclick="Download(txtFile.text)" />
And this is the asp:textbox control I need to take the filename from.
<asp:Textbox ID="txtFichero" runat="server" CssClass="cuerpopar" Width="100%"></asp:Textbox> <pre>
<div class="ForumSig">Time to come clean...
Vive y deja vivir / Live and let live
Javier</div>
|
|
|
|
|
Have you looked at the URL at all ?
garfield185 wrote: onclick="Download(txtFile.text)" />
This quite obviously does not work. You need to get the client side id of the control, then use document.getElementById to look up the control, then get it's actual text. You can use the alert function to debug your code, if you do that now, you'll find that it's null, which is why you're getting the result you are.
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.
|
|
|
|
|
OK, I have no idea what you are talking about... Sorry!!! Could you please write a clue?
Time to come clean...
Vive y deja vivir / Live and let live
Javier
|
|
|
|
|
txtFile.Text is not valid javascript. So, it's not working. On the server side, you can get the client side id of your control ( which is not even called txtFile, from what you posted ), and then you can use document.getElementById(clientId) ( where clientId contains that id you got from the server ), to get a reference to the actual control. Then you can get the text of the control ( I think .value is what you want, it's sure not .text ).
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.
|
|
|
|
|
Do you know any web page with an example of all this you are writing?
Time to come clean...
Vive y deja vivir / Live and let live
Javier
|
|
|
|
|
Well, if I were to google getElementById, I know I'd easily find that part of it. As for the rest, just use RegisterClientScript to emit javascript from the server that creates a variable which contains the client side id of your textbox, using the ClientID property.
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.
|
|
|
|
|
just:
<pre>
onclick="Download(document.getElementById('txtFile').value)"
</pre>
|
|
|
|
|
|
I think you'll find that this is utterly wrong.
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.
|
|
|
|
|
Yes. I know so I have deleted that post after posting it.
Thanks
please don't forget to vote on the post that helped you.
|
|
|
|
|
garfield185 wrote:
Why dont you pass :
onclick = "javascript:Download(document.getElementById('<%=txtFile.ClientId%>').value);"
I hope this would work perfectly. If not let me know.
|
|
|
|
|
YOU ARE THE BEST!!!!
It works perfectly, thanks a lot!!!
Time to come clean...
Vive y deja vivir / Live and let live
Javier
|
|
|
|
|
you are most welcome my friend..
Cheers.
|
|
|
|