|
I removed the javscript function now it is giving only one error saying object expected on line 1.
|
|
|
|
|
What do you mean you removed the function? please post the updated code.
Brad
Australian
- Captain See Sharp on "Religion"
any half intelligent person can come to the conclusion that pink unicorns do not exist.
|
|
|
|
|
|
have you posted the most up-to-date source?
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
I know but I cant help its not working on my IE.Is it because i am using another 2 event for the same textbox (onFocus and onBlur)???
|
|
|
|
|
Can you repost the code you are using?
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
wait... try onkeydown
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
You are using evt and event. The evt object is null in IE6. Try this:
function isNumberKey(evt)
{
if(!evt) evt = event;
var charCode = (evt.which) ? evt.which : evt.keyCode
if (charCode > 31 && (charCode < 48 || charCode > 57))
return false;
return true;
}
Wout Louwers
|
|
|
|
|
Does he not pass the event to the function?
Brad
Australian
- Captain See Sharp on "Religion"
any half intelligent person can come to the conclusion that pink unicorns do not exist.
|
|
|
|
|
In IE(6) an event function does not receive any parameters.
Wout Louwers
|
|
|
|
|
gotcha
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
Hi,
Anyone knows how the Yahoo Mail Beta does the File Upload technically? It is clear that it does not use FileUpload control from ASP.NET 2.0 for sure or HtmlInputFile HTML control.
Thanks,
Capricron
|
|
|
|
|
One would imagine that Yahoo is not using ASP.NET for its its mail beta (or indeed any of its sites)....although I could always be wrong.
|
|
|
|
|
I think they use Perl-CGI or PHP since their servers are mostly OpenBSD or Linux.
|
|
|
|
|
The reason why I am interested in knowing it is because I like the way that it allows opening the "Choose file" window directly. If using HtmlInputFile or FileUpload, I have to create another page that the control to open the "Choose file" window by clicking the "Browse" button. It is nice to open the "Choose file" window by just clicking the "Attach" button on the page. Is it possible to make it work using Javascipt+ASP.NET?
|
|
|
|
|
|
I'm using CompareValidator to validate a TextBox control in FormView. I want to compare with a Label. I find however that when I select ControlToCompare, the Label isn't listed. The only controls to choose from are TextBoxes. And yes the Label does exist and is visible! Any ideas?
Many Thanks
Maj
|
|
|
|
|
Go into the source code and manually type in the "id" of the Label control.
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
heloo friends
i got the data from database .
now i wan to display in such format
1|2|3|4|5|6
when i click 1 it will display only that records
when i click 2 it will display only no 2 records
how is it possible????
plz help plz
|
|
|
|
|
Use an ObjectDataSource bound to a GridView that displays the records. Add a server side event handler on each link (for click) that sets the select parameters of the data source and calls the DataBind() method of the GridView (or set the url for each link with a request parameter and use that in page_load)
|
|
|
|
|
Hi All,
Plz help.Here in my asp project i want to access more than 4000 record, but it flash Buffer Full message can any one say how to solve that.
Regards
SMK
|
|
|
|
|
What do you sotre in the records, and I would advise against trying to acess quadruple didgets without some decent ram.
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
4000 aint so much; but depends on how you treat them...
So can you detail more?
|
|
|
|
|
Alexandru Lungu wrote: 4000 aint so much
IT can be, IF you are storing 4,000 photos or something like that.
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
Hi there,
I am designing a shopping, i have written class libraries for it, here all class libraries:
BLL-Business logic layer using reference of DAL,DALFactory,Model
DAL-Using DataAccess Application Blocks jan 2006(using IDAL,Model)
IDAL-Implements Interfacesof DAL(using Model)
Model-Business Objects (using IDAL)
DalFactory-Loads an assembly (Loades an assembly and assign instance tointerface) using IDAL
"Now when i compile the application i am getting this error:
Error 1 Assembly generation failed -- Referenced assembly 'Microsoft.Practices.EnterpriseLibrary.Data' does not have a strong name cartDAL"
I have added .snk file in each library to give strong assembly name.
Few Things to ask:
I want to make shopping cart like Micorsoft Pet Shop 4.0, i have studied it and decided to go for class libraries, now i m stuck.
should i use Global Assembly Cache in the this shopping, but it will only use SQL Server 2000.?
*As i understand that microsoft pet shop has used GAC as they are supporting multiple databases, like oracle sql server200,2005.
If i use Data Access application blocks 2006, and GAC in ASP.Net web site, then can it be deployed to a domian provider like plesk?
When i should use GAC?
I mean if the scope of application is limited to only one database, then should i use gac?
Y micorsoft has used sqlhelper class in pet shop 4.0 instead of daab jan 2006?
Sorry if i have asked stuipd question .
I will be thank ful to you all guys for helping me.
Many Thanks,
adnan
|
|
|
|