|
As Chetan suggested you can AJAX Modal Popup or you can use JQuery
|
|
|
|
|
|
Problem loading stylesheet - not loaded because its MIME type, "text/html", is not "text/css".
|
|
|
|
|
The reference required should look like:
<link href="CSS/Screen.css" rel="stylesheet" type="text/css" media="screen" /> Tychotics: take us back to the moon
"Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars."
H. G. Wells
|
|
|
|
|
Thanks for your reply! I found the solution. In my case,
the particular part is mentioned under 'deny user'(while not logged on) category in web.config.That's y the style sheet was not loaded. I resolved this by mentioned the 'allow user' property.
|
|
|
|
|
For this article I have used date validation. There is already asp tag to validate date.
<asp:CompareValidator id="dateValidator" runat="server" Type="Date" Operator="DataTypeCheck" ControlToValidate="txtDob" ErrorMessage="Not a valid date."></asp:CompareValidator>
This method doesn't validate all date format.
The following method will validate all date format.See Detail posting
click here to see solution
|
|
|
|
|
Hello,
I have following javascript below it works fine with IE explorer when i try to insert special characters in textbox it does not except it. But when i run this in firefox it does not have any effect it excepts special characters in texbox.Can anybody solve this problem it will be a great help? Thanks in Advance.
<script language="JavaScript" type="text/javascript">
function NumberOnly()
{
var keyASCII = window.event.keyCode;
var keyValue = String.fromCharCode(keyASCII);
if (!(keyASCII >= '97' && keyASCII <= '122') && !(keyASCII >= '65' && keyASCII <= '91') && !(keyValue >= '0' && keyValue <= '9'))
{
window.event.keyCode = 0;
}
}
</script>
<asp:TextBox ID="txtbName" onkeypress = "NumberOnly()" runat="server" BorderStyle="Solid"
BorderWidth="1px" BorderColor="#CCCCCC" BackColor="White" Width="150px"
CausesValidation="True" Height="20px" MaxLength="50"></asp:TextBox>
|
|
|
|
|
http://www.google.com/search?hl=en&q=keycode+javascript+firefox+%26+IE&aq=f&oq=&aqiLife Is Beautiful
modified on Saturday, February 20, 2010 6:32 AM
|
|
|
|
|
use the bellow code..
if (window.event)
{
keyASCII = window.event.keyCode;
}
else if (event.which)
{
keyASCII = event.which;
}
|
|
|
|
|
Can anyone tell me how to retrieve the system name and ip address of the local machine???
|
|
|
|
|
|
Hi
Thanks a lot. Can u help me out with the other post i ve sent too pl??
|
|
|
|
|
Check Out..! I already posted..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
What do you mean by local machine ? You want IP Address of Server or Client Systems ?
|
|
|
|
|
If you want the IP of client machine,You can use the server variables. Cheers!!
Brij
|
|
|
|
|
HI,
I m creating a login page in asp.net..i need to use web service method and write stored procedure to check if user name and pwd are correct..if its right then need to direct the user to another page else display an error...since response.redirect wont work in web service can u suggest how to go about it???
|
|
|
|
|
Get The Status from web service like true or false and redirect from ur code..!
But Why would you use webservice to check if user name and pwd are correct.You can use normal method..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
How do we get the status????
Ya i know...but i m asked to use the webservice method for everything.
|
|
|
|
|
Check this Code..!
[WebMethod]
public bool Name()
{
If (Condition)
{
return true;
}
else return false;
}
In your Code..!
localhost.Service1 svc = new Service1();
bool ssd= svc.Name();
if(ssd)
Response.Redirect("YourPage.aspx)
First Try To learn abt the webservices usuage in asp.net
Calling Web Service using ASP.NET[^]
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Check for web service status (i.e.,What is it return type), according to it process your code.
|
|
|
|
|
Are you calling the WebService from the client? If so then you’ll need to check the result in your success callback, if the user is validated then you can redirect using JavaScript window.location.assign("MyNewPage.htm")
|
|
|
|
|
Hi all,
I am new to ASP.Net and I want to add a user comments section to my web page. Is there a site that can help explain how, so I don't have to reinvent the wheel?
Thanks in advance.
Ken
|
|
|
|
|
Madmaximus wrote: Is there a site that can help explain how
Not really anything specific.
You just need to capture the comments, persist them and display them. Use a multi-line textbox to capture, a database to persist, and a label to display. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
What is the website for? Is it a blog?
There are many, many open source projects out there that have the ability to add comments. The best implimentation I have seen is with BlogEngine.Net[^] The latest versions comment manager is simply fantastic and the C# code is quite readable.
Good luckJimBob SquarePants
*******************************************************************
"He took everything personally, including our royalties!"
David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager
*******************************************************************
|
|
|
|
|
We have a BizTalk application configured to never unload its DLL's to make it very responsive even if it is idle for a long time (this is a requirement). It works on the BizTalk, as I can see the DLLs stay loaded and the application executes in a sub-second time even if idle for hours (before that, idle-time response was 20 seconds).
Now, the orchestration is published as an ASP.NET web service, having its own application pool. IIS introduces a non-negligible overhead if it goes idle, so I instructed it to never recycle and to never shutdown. It works, as I can see the worker process holds the DLLs. This is fine but IIS recycles the worker process after some time (a couple hours or so), defeating the whole purpose (the idle-time response got down to 5 seconds, though, much better). The response time when not idle is below 1 second, and we would like to have the same idle-response time.
What else do I need to do to make this work (on the IIS side)?
Also, I noticed that even though we have a dozen application pools, there is only one w3wp.exe instance running. Is this normal?
|
|
|
|