|
hi!
I caught Sys.webforms.PageRequestManagerServerErrorException using following code
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
function EndRequestHandler(sender, args)
{
if (args.get_error() != undefined)
{
var errorMessage;
if (args.get_response().get_statusCode() == '12031'|| args.get_response().get_statusCode() == '12030' || args.get_response().get_statusCode() == '405')
{
args.set_errorHandled(true);
}
else
{
}
}
}
but On buttonclick event server side ButtonclckeventHandler is not getting fired.
how to solve this problem .
pls guide.
thank you.
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
hi,
In my application user submit data from different parts of the world.
I am using asp.net 2003 and MSSQL 2000.My webserver is in USA.
I have a user table with fields uid,countryid,pwd,msg,wrkdate and
country table also.The wrkdate filed is set as default value is getdate().it insert default value too ie usa date with time.
When a user from India submit a data , in database it inserts USA date.
my need is i want to insert the user's country date and time.i know to pick the date and time of the clinet machine using javascript. but it is not convenient bcoz it will aid user to insert back date or forth date.
is der any function availbalke in MSSQL to solve this pblm or any other idea to solve this like fix USA time as base time and add time differnce to each country....
All I ever wanted is what others have.... CrazySanker
|
|
|
|
|
Look into the System.Globalization namespace and use the culture settings
|
|
|
|
|
thank u
All I ever wanted is what others have.... CrazySanker
|
|
|
|
|
Hi,
Can any body tell me how to search a keyword in asp.net
can any body send me the code
with thanks and regards,
kaushik pulpa
|
|
|
|
|
Can you describe your problem in detail? Do you want to search a keyword in database?
Apurva Kaushal
|
|
|
|
|
i Want to search in the database as well as the web site
with thanks and regards,
kaushik pulpa
|
|
|
|
|
If you want to search in the database then you can use stored procedure to search the keyword.
For web site search: are you storing the content some where if so then you can directly search there itself.
Apurva Kaushal
|
|
|
|
|
do u have the code ..
can u send me the code plzzzzzz
with thanks and regards,
kaushik pulpa
|
|
|
|
|
To search the keyword in database you can use like keyword in sqlquery. And to get the code on how to execute the stored procedure from asp.net you can get it from Here[^]
Apurva Kaushal
|
|
|
|
|
See http://msdn2.microsoft.com/en-us/library/ms692947.aspx[^] (I am assuming you're running IIS)
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
"Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
|
|
|
|
|
Hi everyone
I am doing an apllication, in a particular senario I have to close the Web browser with a Button click.
I want the code for closing the web browser without using JavaScript.
(Closing the web browser means closing the entire application.)
Thank u
Chandu
|
|
|
|
|
You want to travel in the sea withouta boat...
So sad...:->
|
|
|
|
|
Apurva Kaushal
|
|
|
|
|
|
I think we can Close the Web Browser in JavaScript!
How this happens with out a Boat!!!!!
It means that we have other means to travel, i.e we can go by AIR.....
Cheers
Chandu
|
|
|
|
|
K V S Chand wrote: we can go by AIR
Did you Pay for all 4206650 members.
Regards,
Satips.
|
|
|
|
|
Why you don't want to use javascript for that purpose?
Apurva Kaushal
|
|
|
|
|
I know the code in JavaScript.
I just want to know how it is implemented in ASP.NET without using JavaScript.
Thank u
Chandu
|
|
|
|
|
That is what we want to know why you want to use c# if it can be done quite comfortably with javascript.
Apurva Kaushal
|
|
|
|
|
hi,
the rendered output of any asp.net page will contain standard html tags and some script mostly javascript.
since html tags cannot close the window, you have to depend on scripts.
regards
|
|
|
|
|
Its something new way lemme try is it possible to do
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
i want to put one timer in my web page? how can i do that? in one page first i want to display 30 minitues after that i want to count down thil zero. if anybody knows how to do that please tell me?.......
|
|
|
|
|
use javascript setTimeout method to achive this
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
i want to display the time in my webpage and i will reduce from 30 minutues
|
|
|
|