Hi All, I am using print preview control on a windows form and use a print document to print. I check for the installed printers in the network and by selecting the printer, i set the printername and print the document. Bu this works fine if the printer is installed in the same system where the application is installed. When the printer is on another system i get a blank page after printing. I dont know how the print document become empty at this time. Please advice. Thanks in advance for your help. Ali
alimohammed
Posts
-
Printing Problem -
Ajax Update PanelHi I am using update panel and inside that i use a place holder. When i click a button a specific number of text boxes are created and added to this place holder. Now i would like to get the values / text entered in these dynamically created text boxes when i click another button. But i don't get the text boxes which are created within this placeholder. Please advice. Thanks in advance. Ali
-
VS2005 Load Testyes but not much informative
-
VS2005 Load TestHello All, Please tel me where can i find VS2005 load test from the IDE or how can i do load test using VS2005 load test [please explain from the scratch]. Do i need to install anything other than VS2005 to do load test? is it a separate tool? please advice me. Thanks and regards, Ali
-
Infintite for loop probi actually wanna run a cron job, and i wrote a windows service for this, and used a timer and set the time. but what happens is that, i have written a code to mail an indication to my email id for each start up of the execution, and after that i do some database operations and mailing services. but the database operations work out only when i start the service, and dont work out in each execution [ after timer time is elapsed ], the only mailing service is working out [ i get indication on each 5 hrs and all other users get their emails ]. any idea? thanks, ali
-
Infintite for loop probi actually wanna run a cron job, and i wrote a windows service for this, and used a timer and set the time. but what happens is that, i have written a code to mail an indication to my email id for each start up of the execution, and after that i do some database operations and mailing services. but the database operations work out only when i start the service, and dont work out in each execution [ after timer time is elapsed ], the only mailing service is working out [ i get indication on each 5 hrs and all other users get their emails ]. any idea? thanks, ali
-
Infintite for loop probHi all, I use an infinite for loop in my code to do some tasks and use thread.sleep to wait for some time and restart the loop again. for(;;) { // do something. thread.sleep(time); } i use around 5 hrs for the sleep and it works fine for two or three days, but after that i get an exception "thread aborted". i think that its because of memory problem. Any idea how to catch up this prob? thanks in advance. Ali
-
Get Content of another websitehi sandeep thanks for the help, but i had already tried this but i get the html upto the starting of tag... thanks, Ali
-
Get Content of another websiteHi all, how can i get the HTML content of another website [as a string or something like that ]. Any help would be appreciated. Thanks in advance. Ali
-
open new windowsthanks buddy, thanks very much...
-
open new windowshi all, i have an asp.net app and i have two windows parent.aspx and child.aspx. now i have around 5 link buttons [ varies according to the number of items in an array] in the parent.aspx. now when someone click on the first link button the child.aspx should popup with appropriate querystring say child.aspx?id=linkbutton1.text. i used javascript window.open for this, but the prob is that, when someone clicks on linkbutton one, child.aspx pops up as child.aspx?id=linkbutton1.text, but if the same user clicks on linkbutton2, this child.aspx?id=linkbutton1.text gets refreshed. but i want to pop up another new window as child.aspx?id=linkbutton2.text. like that i wanna pop up 5 different windows for these 5 link buttons. any idea? please help. thanks. ali
-
.net remoting and object invocationyes thats what i want, but i cannot inject a javasript to the page to opo up a window if there is a message, i get an exception [which is shown in an alert window ] and i searched for the solution and what i got is to avoid this response.write part from ajax related part. any way to pop up a window? it can be easly done if there is no ajax code.
-
.net remoting and object invocationHi all, I am a beginer in .net and i hav to implement a chat program [ web application, not standalone] and i have implemented public chat, but in private chat if a user send a mesage to another, i wanna pop up a window in the second user's computer [ like all other chat servers]. How can i invoke a remote object from server [ to pop up a window in client system from web server ]? please advice. Thanks to all. Ali
-
Browser back buttonIm not sure if it works, though try a javascript function in onload of that page which does history.clear. Search for it on web...
-
GridView RowDeleting event not firingHi all, I am working with asp.net 2.0 and i am using a gridview in which i use an button to delete an an item and it works perfectly if i dont call a confirmation javascript. i bind the javascript function in rawdatabound event to that button. when i use this javascript confirmation, the RowDeleting event doesnt get fired. but page load occures. Any idea friends? Thanks in advance. Ali
-
Dynamically create controls using AJAXHi friend i'l tel u wat exactly is going on. i created aspx text boxes and buttons using code behind, as u said in a placeholder. and i know to create html textboxes and buttons using ajax dll ( using dynamic populate component), but i cannot wrap button click event for this dynamically created html button ( button1_serverclick) because dynamic populate only returns a string corresponds to html tag. if i could create button click event using dynamic populate, i wouldnt have gone for an alternate solution. but, i couldnt. thats why i am looking to create aspx buttons. hope u got the idea now. thanks Ali
-
Dynamically create controls using AJAXGraus i know ajax does post back, but it does not do complete post back of the web form, i just wanna post back only the part of the webform with newly created textboxes, which component in the toolkit i should use?
-
Dynamically create controls using AJAXhi all, anyone please help me to dynamically create a server control in the form using Microsoft AJAX toolkit dll. For eg: i will type a number in a textbox, say 10, and when i click on a button called "create" 10 text boxes must be created on the form, is there any way using ajax toolkit, i have done it in post back, but i have to avoid post back. Thanks. Ali
-
Get value from controlfunction AddToList() { optn = new Option(); optn.text = document.forms[0].txtMonth.value; optn.value = optn.text; document.forms[0].listBox1.options.add(optn); } this is the code to add items to list box from textboc txtMonth.
-
Get value from controlHi all, i have a aspx:text box, aspx:list box and an html button in my webform and when the user type something in the text box and click this value will be added to the list box, i have used javascript for this. now my problem is that, when i tried to take the items in the listbox in csharp code ( in submit button click), i dont get any value ( listbox.items.count shows zero). How can i get the values of this list box at server side code that i have populated at the client side? anyone please help me. Thanks in Advance... Regards, Ali