|
First I have to say that don't really see any reason for this. The double entering of values is a service to the user to help verify that the data is correctly entered. If the users don't want this help, they can circumvent it on their own risk. It might feel awkward for the user to enter the same data twice, but it's all for their benefit. If you try to force them to use this feature, it will feel even more awkward. I think that it's more effective to try to educate the users of the reason for this feature, instead of forcing it upon them.
It might be possible to prohibit copying and pasting, but it's not that easy to make it work in all browsers, as it's not really a browser function but rather a system function. There is no simple setting that allows you to control copying and pasting in a field.
---
b { font-weight: normal; }
|
|
|
|
|
Hi
The following error was encountered when i tried to retrieve a Class file of c# in One namespace(of the same Solution) from the UI Webform of different Namespace(Of the same Solution).Thats retrieving data to UI from the DataAccess Layer.
"Could not load type App1.Web1.DAProg1.Class1 from assembly DAProg1, Version=1.0.2460.20572, Culture=neutral, PublicKeyToken=null.
"
What is this error and how can i rectify it?
Kindly help me
-- modified at 5:01 Monday 9th October, 2006
|
|
|
|
|
import the namespace which you are using and use the class in that namespace. let me know the result please.
Sathik
|
|
|
|
|
HI
How can i calculate datagrid Row
I want calculate the total row of a datagrid
EX :
------
----------------------------
ID Name Marks
----------------------------
1 aaa 200
2 bbb 250
3 ccc 200
----------------------------
Total 650
THX
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
you can get it with items.count
Best Regards,
Apurva Kaushal
|
|
|
|
|
HI
I want to calculate the ROW items Total in Datagrid
Itiems
-------
10
20
30
-------------
Total = 60
---------------
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
Ohh I actually misunderstood your question. For this you can take a label control in the footer of the datagrid to display the total and to calculate the total you can use the Onitemdatabound event there you can take a variable and keep adding all the corresponding values of all the rows.
Best Regards,
Apurva Kaushal
|
|
|
|
|
int j=0;<br />
int RowCount=myDataSet.Tables["tablename"].Rows.Count;<br />
for(int i=0;i<RowCount;i++)<br />
j += Convert.ToInt32(DgDiscovered[i,1].ToString());<br />
textBox1.Text=j.ToString();<br />
Where the mydataset is the datasource of data grid and "tablename" is the data member of the datagrid.
Sathik
|
|
|
|
|
Hi Thx For reply
I am using VB.NET Can U plz CHK Is it right
--------------------------
Dim j As Integer = 0
Dim RowCount As Integer = dsCustomers.Tables("Tottime").Rows.Count
Dim i As Integer
Dim DgDiscovered
While i
j += Convert.ToInt32(DgDiscovered(i, 1).ToString()) '
End While
rc.Text = j.ToString()
-----------------------------------------
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
Hi Friends,
I am having 2 submit buttons on one page. One is to search and other is for newsletter subscription.
When i add text to search textbox and press enter, it validates the other text box which is to enter emailID for the subscription button.
I am not using the .NET validators. I am using my own javascript file.
I tried to check the enter keycode for search textbox and then make the search button click in the javascript, but still the validator fires and then the search button clicks.
Please Help.
Sushant Duggal.
|
|
|
|
|
you have to write a javascript function which will trap the enter key and then envoke the button which you want to.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi,
I already did that
function gotoSearch()
{
if(event.keyCode == 13)
{
document.getElementById('btnSearch').click();
return false;
}
}
It validates the other textbox validation, and then fires the btnsearch click event.
Sushant Duggal.
|
|
|
|
|
Are you getting inside this function? Put a alert and check whether this function is getting called correctly or not.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi Friends,
I am having 2 submit buttons on one page. One is to search and other is for newsletter subscription.
When i add text to search textbox and press enter, it validates the other text box which is to enter emailID for the subscription button.
I am not using the .NET validators. I am using my own javascript file.
I tried to check the enter keycode for search textbox and then make the search button click in the javascript, but still the validator fires and then the search button clicks.
Please Help.
Sushant Duggal.
|
|
|
|
|
Button1.Attributes.Add("onClick","javascript:return confirm( 'are u sure for Delete ');");
i write this code and it work right when show msgbox i see tow button with ok and cancel but
i want see ok and cancel with persian font how can i change them
|
|
|
|
|
i have quiz application. it has several pages. each page contains 1 question. when i answered that question it will go to next page. if i click on Back also it wont come back. only forward navigation. how can i do?;)<
Thanks N regards.... Murali
|
|
|
|
|
Dont repost.
With Regards
Satips
|
|
|
|
|
Hi,
I have a table in MS SQL, with filename[varchar], filecontent[image datatype]. I have the code for uploading a file to the database.
Now i want to retrieve the contents from the database.
The requirement is that, i have to show a datagrid with the file names as one column and a hyperlink column stating "download". On clicking the "download" hyperlink, the popup which comes for file download "Download--Open--Cancel" should appear and when the download button is clicked, the file stored in the database should be downloaded.
TIA,
Sam.
|
|
|
|
|
HI
Guys in my application in crystal reports, the following exception arises some times :
System.Web System.Runtime.InteropServices.COMException (0x80004005): The process cannot access the file because it is being used by another process.
at
CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(Export
Options pExportOptions, RequestContext pRequestContext)
at
CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequ
estContext reqContext)
at
CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportReq
uestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.y(ExportOptions
1)
at
CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportF
ormatType formatType)
Can any one let me know the solution for this exception , plzzzzzz ASAP , thankx in advance.
|
|
|
|
|
Can you show the code, where the exception are firing?
Sathik
|
|
|
|
|
i have a templete couluand in header of that column i have a button. i want when i push that button i can do sorting. where should i write code behine of this button for sorting
|
|
|
|
|
you can use onitemcommand event commant to write the code and rebind the datagrid.
Best Regards,
Apurva Kaushal
|
|
|
|
|
|
always welcome..
Best Regards,
Apurva Kaushal
|
|
|
|
|
what is ur mean from alwayas welcom?
|
|
|
|