|
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
|
|
|
|
|
adnanrafiq wrote: "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"
By default, the Microsoft Enterprise library isn't strong-named, so you can't strong-name your own assemblies. If you do a google for Enterprise Library and Strong Names, you'll find a lot of discussion about it.
|
|
|
|
|
thanks for repley, how i can enterprise library strongly named, i did nt fined anything on google helpful.
many Thanks
|
|
|
|
|
Please refrain from using: the word Urgent, More then 2 exclamation marks, more then one crying icon when asking for help.
In addition Google is a fantastic resource.
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
I have a web page that is written in Java that I want to use in my application (C#). I need to know how to connect to the page and call the code, or click a button that calls the code from my C# app.
Thanks for your time.
The only way to speed up a Macintosh computer is at 9.8 m/sec/sec.
|
|
|
|
|
You can put a web browser in your program, and then it can browse any site you want. you can't directly call Java from C#, AFAIK.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Do you know of anyway to simulate a click? Or can you think of a way to do this?
The only way to speed up a Macintosh computer is at 9.8 m/sec/sec.
|
|
|
|
|
Hi everyone,
I have an Asp.net that has some Javascripts and so when I use the ie png transparency hacks, this scripts would not work correctly so wrote this for myself:
<br />
var elements = document.body.all[i];<br />
for(i = 0; i < elements.length; i++){<br />
var element = elements[i];<br />
if(element.style.backgroundImage){<br />
var BackgroundImage = new String();<br />
BackgroundImage = element.style.backgroundImage;<br />
if(BackgroundImage.toLowerCase().indexOf('.png',0) != -1){<br />
var ImageAddress = new String();<br />
ImageAddress = BackgroundImage.substr(BackgroundImage.toLowerCase().indexOf('(',0), BackgroundImage.toLowerCase().indexOf(')',0) - 1);<br />
element.style.backgroundImage = 'none';<br />
ImageAddress = ImageAddress.substring(1,ImageAddress.length - 1);<br />
element.style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'' + ImageAddress + '\', sizingMethod=\'scale\');';<br />
}<br />
}<br />
}<br />
It works nice and fixes the png transparency in ie but when it runes and does it's job, the page elements like buttons and even the onclick events of the td tags seems to be disabled and do not response! I tried to find the problem point and I tested some different codes and I achieved the point makes this problem.
I started testing different tags like this:
var elements = document.body.getElementsByTagName("table");<br />
for(i = 0; i < elements.length; i++){<br />
var element = elements[i];<br />
if(element.style.backgroundImage){<br />
var BackgroundImage = new String();<br />
BackgroundImage = element.style.backgroundImage;<br />
if(BackgroundImage.toLowerCase().indexOf('.png',0) != -1){<br />
var ImageAddress = new String();<br />
ImageAddress = BackgroundImage.substr(BackgroundImage.toLowerCase().indexOf('(',0), BackgroundImage.toLowerCase().indexOf(')',0) - 1);<br />
element.style.backgroundImage = 'none';<br />
ImageAddress = ImageAddress.substring(1,ImageAddress.length - 1);<br />
element.style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'' + ImageAddress + '\', sizingMethod=\'scale\');';<br />
}<br />
}<br />
}
And I found out that when it goes this way:
var elements = document.body.getElementsByTagName("td");<br />
for(i = 0; i < elements.length; i++){<br />
var element = elements[i];<br />
if(element.style.backgroundImage){<br />
var BackgroundImage = new String();<br />
BackgroundImage = element.style.backgroundImage;<br />
if(BackgroundImage.toLowerCase().indexOf('.png',0) != -1){<br />
var ImageAddress = new String();<br />
ImageAddress = BackgroundImage.substr(BackgroundImage.toLowerCase().indexOf('(',0), BackgroundImage.toLowerCase().indexOf(')',0) - 1);<br />
element.style.backgroundImage = 'none';<br />
ImageAddress = ImageAddress.substring(1,ImageAddress.length - 1);<br />
element.style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'' + ImageAddress + '\', sizingMethod=\'scale\');';<br />
}<br />
}<br />
}
the page elements would not response any more!
Could anyone tell me why?
Sojaner!
|
|
|
|
|
Hi...
To start off, let me just say im pretty much an idiot...
I barely know anything about coding in general.
A very little amount of the follow: VB, C++, html, and .asp... thats about it !
But.. I work for a group of websites, one of which (http://www.bolt.com) is going to run a sweepstakes for Scion. I need to make a window that pops up and asks for a response to something
and an email address.. (im sure i can edit the look of this window using a photoshopped .jpeg later)
[I guess this code would be given to our development manager / head coder,
and he would set it to run on our homepage.]
From there, very basic; im guessing an access database stores the addresses,
and end of story, I can see them for use in a drawing later.
The problem is; im such a beginner n00b, that I have no idea how to go about this...
our dev. guy just left, and this is up to me unfortunately!
Any ideas / help?
I'd greatly appreciate it...
Durrr....
|
|
|
|
|
By the way, before someone jumps all over me...
I don't work for the site doing anything code related..
I do advertising and marketing.. which is why im not smart. :->
|
|
|
|
|
One big problem you will have is popup blockers. This is exactly the sort of window I close without even looking at it, and most other people will, too. If they want to run something that people will look at, it should be within your page, or a popup from a link in your page, so people click on it if they want to enter ( and don't hate you for having popups ).
A link with _target="blank" will open a popup window.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Christian Graus wrote: A link with _target="blank" will open a popup window.
You suggest inline popups (Ajax I assume) and then go back to pre-JS (well ok it was target="resource" but you get my point)
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
Ok... sooo.. again, im seriously in the dark with most stuff.
So what would be the best way to build this thing... java, asp?
|
|
|
|
|
You have to use a server side language like PHP or ASP.net. I would however recommend you hire someone to do this if it is going to be a corporate thing and you do not have experience programming.
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|