|
|
Asp.net Validation Controls are not working in Mozilla. Any suggestion. I am using Asp.Net 2005.
Do good and have good.
|
|
|
|
|
Which validation controls? I have not found this problem
|
|
|
|
|
Its compare validator
Do good and have good.
|
|
|
|
|
will you show the code which you are use? because this problem is not happens with us. may be you are missing something?
|
|
|
|
|
I experienced this issue some time ago and resolved it by installing the latest service pack of the .NET Framework.
With my situation the validation control worked in IE but failed to do anything in Firefox. This was due to some javascript code which represents the validator at render time not being understood by firefox, the latest service pack makes changes to the validator's render code.
Hope this helps...
/F - .NET Developer
|
|
|
|
|
iam using two user controls u1 and u2 for this usercontrols iam using another user control p1 .and iam applying ajax in the page where these usercontrols are there .the problem is when i click one button the u1 is getting fired . and it is comming like a popup because iam using ModalPopupExtender with out flickering the page.but when iam giving some values and closing the popup and agin opening then the old values in the control u1 is not clearing and at the same time since iam using a uc p1 in the u1 .now wen iam opening the u2 .using javascript im handling some function where this p1 controls are not identified in the u2 .how this problem is solved
|
|
|
|
|
Step back, take a deep breath, and try writing in legible English. That is with sentences and paragraphs.
|
|
|
|
|
Hi,I am changing the text property of a textbox by javascript.
<asp:textbox id="txtName" runat="server" onfocus="change(this)" xmlns:asp="#unknown">
function change(obj){
var txt=obj;
txt.value='0';
Upto this point the code is running fine.But I want the TextChanged event to be fired whenever the value is changed to '0'.The TextChanged event is not being fired.The AutoPostBack property of the textbox is set to "true".
|
|
|
|
|
you're welcome
Try continuing the same thread rather than starting a new one.
|
|
|
|
|
hello
how to add form name.
where our project name display like
Project name Microsoft internet exlorer.
ex. chanakya Microsoft internet exlorer
in that line how to add form name.
thks
Gayatri
|
|
|
|
|
|
niki_nilu wrote: in that line how to add form name.
You can set it dynamically by using Page Title Property
this.Page.Title="My Page Title Here";
please don't forget to vote on the post that helped you.
|
|
|
|
|
You will have to set the title programmatically using code. Or you can create a base page and customize it to format the title as required and provide this functionality to all the pages. You may want to check my blog on this topic
asp.net pages and proper titles
HTH
|
|
|
|
|
hello sir
i am using master page.
then my aspx page is in contentplaceholder.
then how to write title.
my code
this code i write in
score.aspx.cs
and i used master page for this page.
string strMasterPageName = Master.MasterPageFile;
this.Master.Page.Title = "Score";
thks
Gayatri
|
|
|
|
|
Hi Gayatri,
Why can't you use just
this.Title = "Score";
There is no need to reference the master page to set the title. Let me know if I didn't get you.
|
|
|
|
|
Hi,I am changing the text property of a textbox by javascript.
<asp:textbox id="txtName" runat="server" onfocus="change(this)" xmlns:asp="#unknown"></asp:textbox>
<script language="javascript">
function change(obj){
var txt=obj;
txt.value='0';
}</script>
Upto this point the code is running fine.But I want the TextChanged event to be fired whenever the value is changed to '0'.The TextChanged event is not being fired.The AutoPostBack property of the textbox is set to "true".
<div class="ForumMod">modified on Wednesday, July 30, 2008 6:29 AM</div>
|
|
|
|
|
SetExpressCheckoutReq setRequest = new SetExpressCheckoutReq();
SetExpressCheckoutRequestDetailsType setDetails = new SetExpressCheckoutRequestDetailsType();
setRequest.SetExpressCheckoutRequest = new SetExpressCheckoutRequestType();
i am using express checkout to use above methods for calling Express Checkout method what shd i do i mean which referance i shd add?
Thanks & Regards,
Prashant B. Lavate
Software Engineer
Mobile : +919423872257
Pune(India)
|
|
|
|
|
|
hello
pls tell me how to hide menu bar in asp.net 2.0 with c#
Gayatri
|
|
|
|
|
What menubar are you using?
usually you would just reference the ID of the control in c# and put control.visible = false.
|
|
|
|
|
Are you talking about Internet Explorer menu bar? If yes, then you can't. But you can do it using javscript in popup windows.
|
|
|
|
|
This is the first time I've had to ask for help, but this issue is really getting to me and I can't seem to find a solution, or any mention of it. Apologies for the essay...
A few weeks ago I inherited a webapp to maintain/update as necessary from someone who has long since left the company, I've had to learn what I needed as I went as the company doesn't really do webapps, mostly windows apps written in C# and MFC so they have about as much of a clue about this app as I do.
It's a lovely combo of html, css and classic asp/vbscript on a device running WindowsCE.
The problem: There's a requirement for the app that it must logout automatically after 2 minutes of being idle "no problem", I thought. The code is already in a nasty state, and I've done what I can but at this point a total rework is needed, for the time being it needs patching. So what I whipped up was a cookie that gets created upon login, and reinitialised after a new page is loaded (and the time hasn't expired).
Example:
Response.Cookies("MyCookie").Expires = DateAdd("n", 2, now())
In addition to this, one of the now unused frames contains a piece of script to refresh the page just after 2 minutes, effectively logging the user out when the page refreshes if it's been idle. Not a great solution, but it does the job for now. The client also requires this run under Firefox and IE7.
A few weeks ago during testing, I noticed that on Firefox, the cookie would not expire, and every 2 minutes or so the page would refresh and the app would still be logged in. IE7 however was fine. The problem was that the cookie's expiry was an hour longer than I told it to be... Unable to find a cause I assumed it was something existing in the app/firefox and decided to detect which browser was running and set different expiries for the cookie (2min for IE7, -58mins for FF). This worked for a day, then all of a sudden, FF wouldn't login, the cookie was expiring immediately, so I changed it back again. All was well, til now...
The same problem is now occurring in IE7, and once again, setting the cookie expiry to -58mins for IE7 "solves" it, but FF is fine this time. So I'm thinking there's a problem elsewhere causing this, and that I should look for the cause because the "workaround" of setting -58mins is no kind of solution at all, especially if the behaviour is not consistent.
Again, apologies for the essay Cheers for your help.
|
|
|
|
|
Is this a ASP.NET application? If yes, set the Session Timeout in web.config file and check for the session. Session are stored in server, so no need for writing scripts for different browsers.
|
|
|
|
|
Unfortunately it's not .NET, just classic ASP.
He who makes a beast out of himself gets rid of the pain of being a man
|
|
|
|