|
choorakkuttyil wrote: I have a common search window (popup )- which should be opened from multiple parent window and should get the search result back to parent page.
I tried it out and it is working pretty good , only if one parent window is there....
How, exactly, would you see that working with multiple parents? Especially considering that creating a window with multiple parents isn't actually possible on any platform i've ever used. You could hack something in involving the pop-up actually being the parent, since windows can have multiple offspring... but that sounds horribly messy.
Pop-ups are passé anyway. Just put a search box on each page and be done with it.
---- ...the wind blows over it and it is gone, and its place remembers it no more...
|
|
|
|
|
Actually i have to update some multiple rows at a time in the following code.
constr=Application("ConStr")
set con_adm=CreateObject("ADODB.Connection")
con_adm.open constr
This is the connection to the database and then the query which is not executin
sql_upd="update csd_order_item set ref_no="&ref_no(i)&",item_desc='"&description(i)&"',unit_price="&price(i)&" where oredr_no="&orderno
here orderno is the primary key and against that particular refno all the items will be updated, that means refno and orderno are the candidate key
when i am executing set rs=con_adm.execute(sql_upd) it is showing incorrect syntax.
please it will be very kind of u if somebody could help me.
skd
|
|
|
|
|
neoghy wrote: when i am executing set rs=con_adm.execute(sql_upd) it is showing incorrect syntax.
So dump the generated query and run it manually against your DB. Look for typos, missing spaces, misquoted strings, etc. Then figure out which part of your long string of concatenations broke it.
---- ...the wind blows over it and it is gone, and its place remembers it no more...
|
|
|
|
|
1] how do i call an managed code from an unmanaged code .....
2] similarly is there any other way of embedding an unmanaged code in managed code without creating a DLL
It Ain't Over ,Till It's Over
|
|
|
|
|
mastermind.aj wrote: 1] how do i call an managed code from an unmanaged code .....
AFAIK, there is no unmanaged code in ASP.NET.. If you wanna use the unmanaged code (e.g COM) from ASP.NET, you just need to reference it.. Meaning that you can call the unmanaged code from managed code..
mastermind.aj wrote: 2] similarly is there any other way of embedding an unmanaged code in managed code without creating a DLL
No. Could you please tell me how you wanna use? Why?
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
Pls how to i connect to database(Sql2005 express edition) using dreamweaver and how do i write the codes to insert, select, update the database etc
How d i also preview the website in windows explorer so that i can see the design view instead of the codes cos i tried using aspx.Net c# as my erver technology when seting up a testing site and on previewing the browser displays codes instead of the design view. Thanks;P;P
IT'S GREAT TO BE HERE
|
|
|
|
|
Hi All,
I have a tree in the division in a HTML page and I wanted to disabled that division on a certain condation. Is it possible to disable whole division in Javascript ao that the tree inside that division should not be accessible to user but it should be visible?
RK
|
|
|
|
|
What about this?
document.getElementById('divid').disabled=true;
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
document.getElementById('divid').disabled=true; is not working. Not disabling the division.
RK
|
|
|
|
|
If you run this code in IE, the textbox will be disabled. (but you can still type the characters in textbox so that means the color of textbox is changed and the textbox won't become the readonly mode. )
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>
<script type="text/jscript">
function disableDIV(){
var d = document.getElementById('div1');
d.disabled = true;
}
</script>
</head>
<body>
<div>
<div id="div1">
<input id="myTextbox" type="text" />
</div>
<input type=button onclick="disableDIV();" />
</div>
</body>
</html>
So, What I suggest you to do is that show the transparent image which has same size on this div. The user won't be able to click your treeview as long as the image is showing over it.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
I also have same problem. I have tried your suggestion with an image to achieve the functionality of disabling tree structure inside div . i have set z-index for image but still it is showing that image below div.
JyotiRawat
|
|
|
|
|
JyotiRawat wrote: i want it to show above di
it's strange.. Can you show us the code that you wrote??
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
I took an image tag in form
on some selection criteria, i used
document.getElementById('_loading').style.visibility = 'visible';
I expected to show image over div but its not working.
JyotiRawat
|
|
|
|
|
I am not able to solve the issue. Please provide code to show an image over div.
JyotiRawat
|
|
|
|
|
There is no need to show image on the div, u can try out the followin.. it's working finefor me..
document.getElementsByTagName('objecttag').Enabled = false;
Rk..
|
|
|
|
|
I have an anchor tag in my page, i need to disable all the anchor tags and all other controls in my page.
i have tried it with finding all elements and the controls other than anchor is getting disable.
any one have a solution for this problem.
sathimailin
|
|
|
|
|
I don't think DISABLED is supported for A tags. However, you can a have a JavaSCript function to alert and cancel link navigations.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
can u explain it bit more
|
|
|
|
|
i am using asp with vbscript how can create this.
i wants to create link with mail address when click on mail image or lick then open outlook with mailaddress write massage and send
sanjeev
|
|
|
|
|
An hyperlink of the form
user@example.com would automatically launch the default email client.
user@example.com[^]
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
do you mean i have to create a form for mail if than how
sanjeev
|
|
|
|
|
i got result thanks no more answer required on this this question thanks again.
sanjeev
|
|
|
|
|
Hi Guys,
I have a problem about the "Back" button in firefox, it will not display the previous page as it should be prior the pressing of "Back" button. The first page is my search page where in I have an updatepanel, textbox, and button control. The process is that after the search page listed the records found it will redirected automatically to the 2nd page. And from here after clicking the "Back" button and goes back to the first page, the record listing here is empty.
Do I need to add something in my asp.net project in order the "Back" button to work correctly in firefox?
I tried it in IE and it works fine here, but in firefox no luck.
Have you encountered this kind of problem?
hifiger2004
|
|
|
|
|
I gotta tell ya... By far the most simple, most reliable means of accomplishing this is to get rid of the update panel on the first page and redirect to a results page that lists the records found (and also allows changing / narrowing the search). Now each search is in the browser's history, you can use cache-control headers to hint at how long they should be cached, and all is right with the world.
I'm not saying you couldn't get it working as-is; after all, you could set a flag somewhere persistent (cookies...) when the user has searched containing their search term, and just re-run the search when the page is reloaded. But why? You'd just be simulating the browser's built-in behavior, badly.
There's a reason Google, et. al. work the way they do - it works. When Microsoft rolled out their Live Search site, they tried using a fancy AJAX-style page refresh mechanism similar to what you describe... and they had the same problem you are running into now. They replaced it with a common post-refresh mechanism like everyone else. So, rather than wasting time trying to hack your own page history system, go with the tried-and-true... and then spend the time you saved making your back-end return search results faster.
---- ...the wind blows over it and it is gone, and its place remembers it no more...
|
|
|
|
|
Hi Shog,
You're right.
When I removed the updatepanel it works fine now in firefox
Thanks for the help
hifiger2004
|
|
|
|