|
window.print() is exactly what you need. However, it does not print, it just opens print dialog. Check if you have printer correctly set in this dialog. If you have Microsoft Office Document Image Writer set as a printer, then you know where is your problem...
Pilo
|
|
|
|
|
how i upload Directories/folder on FTP Server...
Plzzz Send Me some source code or Demo
|
|
|
|
|
You should be warned that just asking for source code will result in massive flaming. If you try to figure it out, post your code that you are having issues with, you might get a response. Just saying 'please send me source code' will get you NOTHING.
____________________________________________________
If at first you don't succeed, skydiving might not be for you.
|
|
|
|
|
hai,
I am working .Net 2003. Creating web application, here i am trying to binding a crystal report in an .ASPX page.
i am getting error Logon failed.
can any one help me how to avoid the error?
thank you...
by
jesu
Jesuraj
|
|
|
|
|
Well, you could be little bit more specific about where and when this error is raised, but I suppose you didn't set correct credentials for database access to retrieve data for your report. Or maybe it can be lack of credentials when accessing report repository...
Pilo
|
|
|
|
|
I have three Panel which are in same form and belongs to different tables in a database.and
my problem is,i have same Save,ADD Buttons for these three.
When i click on SAve it should check which panel and call proper add_function().
In SAveButton,My code is
If Lbladd.Text = "Addrecords" Then
If Lblcheck.Text = "Location" Then->>>>panle1
addition_Location()
ElseIf Lblcheck.Text = "Appln" Then->>>>panel2
add_appln()
endif
Only once i need to click on SAve for saving these 2 panels records.How to check and save .??I am geting problem with this.
kissy
|
|
|
|
|
Your question is too confusing. I just understand, you want to read data from particular panel after Save button is clicked, but have no clue from which and why (or what condition has influence on which panel to select). Try to be more clear...
Pilo
|
|
|
|
|
how to develop something simillar to "Add to cart" in asp.net,pls reply its very urgent
kavitha
|
|
|
|
|
|
|
Hi All
I have one datagrid.I add one string like "1:resulr" in first cell in databound event.when i add another string,it added in first cell and my first cell value added in second cell.
How to maintain First one cell value?
Thanks
monika
|
|
|
|
|
monika_vasvani wrote: I have one datagrid.I add one string like "1:resulr" in first cell in databound event.when i add another string,it added in first cell and my first cell value added in second cell.
Not clear what you want to do...
monika_vasvani wrote: How to maintain First one cell value?
If I understood it correctly then you can use global variable for that purpose.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Can you please be clear with ur problem and give more specific info
Thanks and Regards
Venkat
|
|
|
|
|
how can validate button in datagrid
thanku
|
|
|
|
|
You can use javascript code to validate the records inside datagrid while updating.
Best Regards,
Apurva Kaushal
|
|
|
|
|
which type of validation you required in datagrid?
please clear your que?
|
|
|
|
|
i have a two textbox and a button inside the grid. when i click the button i need to check the two textbox.
|
|
|
|
|
Hi all
i have Data Container having data eg CategoryName and EmployeeName i want to show the data on the aspx page the problem is that i must show the data Catogary wise in datalist or repeater. means like this
CategoryName
EmployeeName EmployeeName EmployeeName EmployeeName EmployeeName
EmployeeName EmployeeName EmployeeName EmployeeName EmployeeName
EmployeeName EmployeeName EmployeeName EmployeeName
CategoryName(other)
EmployeeName EmployeeName EmployeeName EmployeeName EmployeeName
EmployeeName EmployeeName EmployeeName EmployeeName EmployeeName
EmployeeName
Means Catefgory name must be the header for the EmployeeName Please tell me how to achieve this
|
|
|
|
|
Hi
All!
I am using ASP.Net 2.0. I am trying to save some information on client machine but my application is saving data on client as well as on the server.... i dont wanna save data on server....is it possible ...how???
i m writing the code...
HttpCookie mycookie = new HttpCookie(Register); mycookie["U"] = User.ToString();
mycookie["C"] = Customer.ToString();
mycookie.Expires = DateTime.Now.AddYears(1);
Puneet Agarwal
|
|
|
|
|
No, it doesn't save any data on the server.
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
Just wanted to know whether you are accessing your web page from the server machine itself ??
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
Hi all,
I have a problem ie.,
while running project on my machine .It is running faster.
It is storing images in my temporary internet folder.
But if i am accessing my webpage in other machines which is connected over the network using my IP address.It doesnot stores it in Temporary Internet files folder.
Because of this my apllication is running slow.
Is that any way to store images in client machine.Please Help me.
Thanx in Advance..
C.Babu
|
|
|
|
|
|
Hi,
I am having problems firing a javascript function on an asp.net page. I add the onclick event to the button, but the event does not fire.
Here is my code:
VB
btnSubmit.Attributes.Add("onclick", "val_update(" & Me.drpLocations.ClientID.ToString & "," & Me.drpStatus.ClientID.ToString & "," & Me.txtUserLoginName.ClientID.ToString & "," & Me.Form.ClientID.ToString & ");")
ASPX
<br />
<br />
<script language="javascript" type="text/javascript"><br />
<br />
var msgInvalid = "Not validated"<br />
<br />
function val_update(valLocation, valStatus, valUser, valForm){<br />
if (valStatus.selectedIndex == 2 && valLocation.selectedIndex == 0) {<br />
msg = "You need to add a Location"<br />
alert(msg);<br />
return false; } <br />
if (valUser.value = "") {<br />
msg = "You need to add a UserName"<br />
alert(msg);<br />
return false;<br />
} else {<br />
alert(msgInvalid);<br />
return false }<br />
<br />
}<br />
<br />
</script><br />
<br />
'button here - normal button with ID, runat command, and text.<br />
<asp:Button ID="btnInsert" runat="server" Text="Insert User" /><br />
<br />
Every time I click the button, the else statement gets processed, and "Not fired" is alerted. Not sure what I am doing wrong. Is there any way how I can do the above validation client-side?
|
|
|
|
|
Use the document.getElementById method to get the elements from their id.
---
b { font-weight: normal; }
|
|
|
|