I looked at this site www.tgeer.com,but the problem with this approach is that once you associate a javascript function with a button, that javascript function is always executed whenever the button is clicked. I want to be able to decide when to call that javascript function, for example if...
What I am hoping to be able to do is:
1- User enters some value in textbox and clicks button.
2- I do several checks on the value entered, and based on that I might want to prompt a messagebox, and based on the response from the messagebox I’ll decide to process some code or not.
I am writing my...
No, here is my situation:
I am associating a javascript Attribute to a button, so when someone clicks that button the javascript is executed first and this javascript is a YesNo MessageBox. If user clicks No the OnClick function of the button is not executed. If user clicks Yes then the OnClick...
I am trying to programmatically invoke button click event. I used RaisePostBackEvent() and it does execute the OnButtonClick function for that button.
I am associating a javascript Attribute to that button, and this attribute is not getting executed when I call invoke button click using...
Summary of the problem:
If I set page directive to SmartNavigation="true" and try to close web form while focus is set on the dropdownlist I get memory crash.
Anyone knows why or how to fix it?
Thanks.
I found out the cause of my problem:
When I dragged the panel control from toolbox to the web form, a style attribute was added to the panel :
style="Z-INDEX: 106; LEFT: 9px; POSITION: absolute; TOP: 7px"
Once I removed this style statement, it worked fine.
I hope nobody else would waste several...
Hi:
My web application is in the form of wizard. So, I made some 3 panels, and inside each I put the controls for that page. I then set the current panel property to visible, while all others to non-visible. This works, but since these panels are stacked vertically, if I make the 3rd one...
Hi:
I got request to have some 15 listboxes inside one list box which can be scrolled horizontally (because 15 listboxes aligned horizontally won't fit one screen).
I am using ASP.NET with c#.
I do not know where to start. I'll appreciate any hints.
Thank You all.
Also, maybe your pages create log file and / or (open/read/modify) it. With time the log file grows bigger and will take longer time to read.
Another thing is the issue of connection pooling. If you use it, it might help speed up connections.
Just guessing!
I think it is probably working! what confused me is that when I launch my page, IsPostBack is false, and it does not preserve state between page refreshes. Once I click on any control, which has the AutoPostBack property set to true, the IsPostBack becomes true and it works. Maybe this is how it...
I am trying to store an integer variable and make it persist in between post backs as follows:
private int imad;
// Inside Page_Load() I have this:
// Read val
if(this.ViewState["val"] == null)
{
val= 10;
}
else
{
val= (int)this.ViewState["val"] + 1;
}
// Store val
this.ViewState["val"] =...
I went through this nightmare before. It turned out that j2ee is an extension to j2se. You will need to install j2se before you will be able to use Tomcat.
You do not need to un-install or delete j2ee. j2ee and j2se complement each other.
Good luck.
I apologize, it was my fault. I typed Hello.htm instead of Hello.html.
I know that other containers, servers treat .html same as .htm (for example Resin), but apparently, Tomcat does not.
I installed Tomcat in C:\jakarta-tomcat-5.5.9.
It also installed itself in C:\Program Files\Apache Software Foundation\Tomcat 5.5
Now, if I start Tomcat and type in the browser: http://localhost:8080/
I get that famous Apache Jakarta Project page.
Then I put this file Hello.html in...
I installed latest version of j2ee
(file:j2eesdk-1_4_01_2005Q1-windows.exe), and then Tomcat 5.5.7.
When I run startup.bat in Tomcat I get this error:
"This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.