|
Yes you can do it try :
for ctrl + c :
for ctrl + p : no need javascript
@media print {
body { display:none }
}
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Thanks
it helped me greately. my problem is solved.
now tell me how to clock 'save as' option in application at run time?
Thanks
bye
|
|
|
|
|
hi
first of all thanks for helping me to lock the control keys function. it works greately. similarly i want to lock 'Save As' option in menu toolbar because whatever documents i am showing on web page that are most confidential so nobodies could not copy,delete,save,print that data. it is only for displaying purpose. i think i got my point. so pls. help me to lock save option.
once again thanks.
Thanks
bye
|
|
|
|
|
Hi,
I do not have much idea about to disable the save as option. You can go through google to find this problem.
According to me we can not disable the IE menu save as option but we can display the pages without menu bar and prevent the Right click option on the pages.
If you have any doubt after the finging with google then let me no.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Hello friends, I am uploading an asp.net site on a web server and I get the following error
The type or namespace name 'DBProcess' could not be found (are you missing a using directive or an assembly reference?)
Here 'DBProcess' is the class file containing all the database related operations. what could be cause of the problem and the solution for this?
|
|
|
|
|
Amit.Jagtap wrote: 'DBProcess' could not be found (are you missing a using directive or an assembly reference?)
required dll files should be made available in the bin folder and it's references should be added to the web project. Check whether the assembly(.dll file) "DBProcess" is there and also check whether the referene has been added. Then build the application in the Release Mode and upload...
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Hello all,
sorry for my simle question, but i don't know a long text that is in my data base how i can insert it in my web page, with textbox orlable or gridview? i don't have problem with grid view but i do'nt know how i can connect to sql server from a lable or textbox.i search in google but i didn't gain any result maybe i didn't use true keywords.
please help me ,
thank you.
|
|
|
|
|
saba02 wrote: i do'nt know how i can connect to sql server from a lable or textbox
You connect to SQL Server with an SqlConnection object.
saba02 wrote: i don't have problem with grid view
Well, since you can't connect to a SQL Server with a grid view either but you think you did, I can only presume you are getting confused between the process of data binding and database connections.
Data binding isn't something I've got much time for because each time I've tried the results are message and difficult to change if I need to. It also seems to encourage poor design habits. That is why I stick to the robust method of using a 3-tier architecture with a separate presentation layer and DAL (Data abstraction layer)
SqlCommand cmd = new SqlCommand()
cmd.Connection = myConnection;
cmd.CommandText = "StoredProcedureName";
cmd.CommandType = CommandType.StoredProcedure;
string text = (string)cmd.ExecuteScalar();
myTextBox.Text = text;
|
|
|
|
|
thank you very much for your response.my problem solved with your guidance.
|
|
|
|
|
Hi all,
I am working on .NET for the past one year. I read some books for it but i am confused as to what controls should we use for maximum performance.There are always more than one way to implement a functionality,hence we should sought out the best way to implement a certain functionality.
for eg: We should use datasets rather than using datareaders...
We should use tables instead of divs....
Can any body provide some very useful tips on "How to design a high performance website"
|
|
|
|
|
John Mecas wrote: We should use datasets rather than using datareaders...
No.. Not neccessary..
There is world of Difference between Dataset and DataReader.
DataReader - Simple , Fast, Forward-Only, Read-Only, Connection oritented, Ideal for handling small set of Records. Ex: Binding of read-only data is much more efficient using a reader.
Dataset - Powerful, Two-way(Moves Forward and Backward), Read-Write Access, Connectionless, Ideal for manipulating huge set of Records. Ex: Binding Data to a DataGrid and manipulating and doing a Bulk update.
If you try to use these two the other way round then it dramatically reduces the performance of your application...
John Mecas wrote: We should use tables instead of divs....
No two controls have 100% similar properties, methods and events. There are slight differences that the other control is incapable of doing...we can say that these are the limitions implied on the control...
John Mecas wrote: How to design a high performance website
a lot to list... but few tips here...
A. In terms of Fornt-End Design
1. Better understanding about the Business Requirement and .NET Controls will help you to give a User-Friendly Interface to the application
A. In term of Coding few tips..
1.Having 3-Tier or N-Tier Architecture (Layered Approach)
2.Optimized Code
3.Proper Usage of Session and Application Variables
4.Proper Implementation of Caching Techniques
5.Reduced Viewstate Maintenance
6.Client-Side Validation
practicing all these will help you to deliver a high performance website.
Hope this helps....
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
I want to buid a web site with play media, but i don't know any control in asp.net to do it. Please help me, thanks.
Thao
|
|
|
|
|
|
Hello Everyone,
Can anybody tell me how to do the online shopping in ASP.NET ........
|
|
|
|
|
|
HI John This will be useful for me also ...
i need an application in Internet banking ..
plz help me ..
Bye ...
Naresh
|
|
|
|
|
nareshss wrote: i need an application in Internet banking ..
What is that exactly you want to know?
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
this error keeps popping up.
"Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized attribute 'xmlns'.
Source Error:
Line 1: <?xml version="1.0"?>
Line 2: <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Line 3:
Line 4: <connectionStrings>"
What should I do?
BiG RaLpH
|
|
|
|
|
Remove this :
Big Ralph wrote: xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"
This is actually written by the web site administration tool, so you can safely remove it.
|
|
|
|
|
when I remove it it doesn't recognize the connection strings anymore
BiG RaLpH
|
|
|
|
|
Actually i am having a thumbnail image with two anchor tag . one for delete and one for download. While i go delete its not working properly.
Pls any one give solution for this.
Regards,
Vishnugopan.Rajagopalan
|
|
|
|
|
Can u plz put some of your code here, it will give us a better idea to understand your problem.
“The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”
|
|
|
|
|
hello everybody
i have to develop a e-learning application using asp.net.i need to have whiteboard,chat,application sharing.i dont know how to implement the application sharing and whiteboard.what i want is that when i share any application (powerpoint,word,excel) all the user who are connected should be able to view it in real time but the control of the application should be with the administrator.if i change any slide or word document then the change should be reflected to all connected users.please help me....
Parth
|
|
|
|
|
You may probably use something like webcam for that..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Even I am working on the same concept. we have lot many things to discuss. I have done an integration with white board, but stuck up while sharing the images and documents to the connected session in the whiteBoard
You can mail me at sandeepgowda.bs@gmail.com.
|
|
|
|