|
when i selects item in country dropdownlist.Its giving me javascript error as follows:
'event' is null or not an object.
|
|
|
|
|
Can we see the code for the whole thing. Dropdown list, update panel and dropdown event code?
|
|
|
|
|
SOunds like your code is out of whack somewhere - event in this case is the event object - it's used as a param to event handlers in FF, but not in IE (or the other way round - can never remember!).
Check your handlers...
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Just check whether ScriptManager is there on the page, before any AJAX controls.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
Yes ScriptManager is there.
It is working for local server.but not working for another server where i put this application.
Any idea....why it is so...
|
|
|
|
|
Hi Guys,
I want my images on the page to load after the contents of the page are loaded.I have about 10 images in my page which causes the delay to load my page.
If anyone has suggestions or coding please reply.
Thanks
jith
|
|
|
|
|
Before U start, please read about Buffer property of the
Response class.
<%response.Buffer=true%>
<html>
<body>
<%
Objects to be rendered first
%>
<%response.Flush%>
Images to be rendered last
</body>
</html>
Hope, this helps u.
Regards,
Arun Kumar.A
|
|
|
|
|
You may want to consider including your img tags with an empty src attribute in your initial HTML. You could then include a client script fragment to set the src after the page has loaded. For example:
<html>
<head>
<script language = "javascript" type = "text/javascript">
function LoadImages()
{
document.getElementById('myImage').src = 'http://www.server.com/image.jpg';
}
</script>
</head>
<body onload = "LoadImages(); return true;">
<!-- blah blah HTML -->
<img id = "myImage" src = "" alt = "" />
<!-- blah blah more HTML -->
</body>
</html>
Hope that helps.
--Jesse "... the internet's just a big porn library with some useful articles stuck in." - Rob Rodi
|
|
|
|
|
hi
i am sending HTML mail thorugh my applicaion and in that mail there is a button when user clicks that button it should update a row in my DB. is tere any idea how to do that .
K Dastgir
|
|
|
|
|
If you're sending HTML, and if the mail viewer allows it, then you can render a button and have it call a page. But, most people won't see it, obviously.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Well K,
what you could do is to send the user to one particular
page on your site after that click, and with that you
should pass the information that needs to be updated.
On that page you could retrieve the information sent by the
user and from there you can easily update your database
by a simple SQL query.
Hope this solves your problem
pIrus
Dreams in our eyes, We are aiming high
Sky is not the limit, When we spread wings and fly
Marketraise.com
|
|
|
|
|
i am doing it for example there is a page leave application , user fills and send it his boos thorugh an email, in email there are links accept and reject. On accept another ASP page opens and it updates the respstvie DB.
as far flow is concern it is oki but i dont want user to see the page.
K Dastgir
|
|
|
|
|
Ok that means you don't want the boss to view
the new page that opens after he accepts or rejects
an application. Right!
Not even a message page whether his action has updated the
database or not
pIrus
Dreams in our eyes, We are aiming high
Sky is not the limit, When we spread wings and fly
Marketraise.com
|
|
|
|
|
Yes ,management dont want that they go on any page and change things.
they want a link yes or no, if yes then update DB. we can show them a paage that changes made but they dont want to go on a page and click button there to update. what i am doing now in a test application i am semding a link ,on click it goes to a page where there is a button along with record entry .
my point is is there a way to update directly from email.
K Dastgir
|
|
|
|
|
Hi K,
I think there can be two possibilities for this
1) Have a stored procedure on the database that will be called on clicking
the button provided in the mail. And since you just need to activate the stored procedure you don't have to send the user to any page or so just pass the database structures properly.
2) The second option is to write a click event handler for the accept or reject link and keep the href blank.
Hopefully this solves your issue
pIrus
Dreams in our eyes, We are aiming high
Sky is not the limit, When we spread wings and fly
Marketraise.com
|
|
|
|
|
can u please guide with some sample code. like how to triger a store procedure on the on the click of a HTML button in mail.
and second option as well in a some code form
Thanks
and Regards
K Dastgir
|
|
|
|
|
Hi All,
I have developed a web based application in ASP. I have deployed it in a machine in our local intranet. when i need to run the application i need to type the system name ,followed by the virtual directory name ( i.e http://system101/banking/login.asp )..
But my problem is i need a Intranet DNS for Direction to the path .ie. when type "bank.com" in the browser i need to load the application . can any one plz help me ..... thanks in advance..
If U Get Errors U Will Learn
If U Don't Get Errors U Have Learnt
|
|
|
|
|
which version of asp?
is classic asp or asp.net 2.0
t.aransiola
|
|
|
|
|
it is a classic asp
If U Get Errors U Will Learn
If U Don't Get Errors U Have Learnt
|
|
|
|
|
Hi All,
1)I Have an application in remote location I am accessing that code using IpAddress of that machine.I have admin rights in that.Can I deploy that code in my local machine.
2)How to build and deploy the code from vss?
Thanks to all repliers.
|
|
|
|
|
I want to use input file html control to pick a graphic file from teh disk and display it on an image control, but there is no event for input=file htm control to put the code to display the graphic file in the image control. Even after adding the attribute runat=server
pls help
t.aransiola
|
|
|
|
|
ok if you click the browse button only you can do is can select the File after selecting the file Add one button "Upload" in this button click event write the code
// iterate through the posted files if you have many html file controls
for (int i = 0; i < Request.Files.Count; i++)
{
HttpPostedFile objFile = Request.Files[i];
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
I want the Browse button(on clicking it) and dispalying the filenamein the input box to display the graphicimage
on my image control
t.aransiola
|
|
|
|
|
Hi all.
I need help. I want to read mutiple html files from a folder (help needed here) and convert them to .txt files and manipulate them (no help needed).
I want to know how to do this. I know i have to loop through the folder and load each file independantly,process it, and move onto the next file.
If anyone can help, please reply...
Thanks
Marquin
|
|
|
|
|
You can do that
Use System.IO namespace and Play with Directory and File classes
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|