|
why u need wondow.close() function.
Best Regards,
Chetan Patel
|
|
|
|
|
U access the parent window using opener property.
for an example If a window creates a popup window then it will be the opener window for the popup.
So inside popup u can access the parent window as
winodw.opener
|
|
|
|
|
you can close the window without an alert.
just use this
<script language=javascript>
function closeornot(){
window.close(opener=0);return true;
}
</script>
put this where you want to call the function
onclick="return closeornot();"
this should work as expected.
Regards
modified on Thursday, February 28, 2008 10:53 PM
|
|
|
|
|
Q1. Tracking Session State ..i came to know that it is done in
three ways ..
1. via cookies
2. URL
3. client profiles.
I know first one what about 2 and 3 how to track the session state
Please tell me
thank u
Sindhu tiwari
* I need some technical description *
its me sid
|
|
|
|
|
Please dont ask again, people can still see your other thread, and are trying to help you there.
Realistically, if you're working on any ASP.NET code, you should probably stop, you should buy a book for beginners and work through it.
You're wrong, session state, cookies and storing values on the URL are three different things.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Exactly i have stopped working and started reading a book ASP.Net 2005 step by step
by George Shepherd...
So there it is written that session tracking is done in three ways as i mentioned earlier ..
...as i too got confused thats why i asked here
...
If i am not wrong its a new question so new thread.....
anywayz i will not repeat this again ...
Thank u
Sindhu Tiwari
its me sid
|
|
|
|
|
hello frnds,
i already store ™ sign in database, but when i used it, in XML file it will give me error...
is there any conversion of ™ done for using in XML file..
what should i do ???
thankx
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
Try putting that in a CDATA section.
|
|
|
|
|
Hello All,
I want to change the background colour of button, when user hover the mouse on it. I didnt find any such event in ASP.Net or in Code behind.
I tested Java Script function as well, it recognize the onmouseover event and i am calling function there. But what would be the exact statement to change the colour.
Anyone having idea or something ready.
yours reply would be highly appreciated.
Thanks.
|
|
|
|
|
You can do this with CSS, that's probably best.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Use CSS instead of Javascript as CG said.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
onmouseover = "this.style.backgroundColor = 'red';"
remember to set it back to what it was else it will stay red
Regards
|
|
|
|
|
Hi Friends,
How are you,i have one doubt,i m having a three textboxes and one datagrid,columns descrp,shortdescrp and excgvalue,when i m entering a value some description in descrp column,INR in short descrp and 1.00 in excgvalue and again i m entering some descrp in description column,USD in shortdescrp column and 35.15 in excgvalue,the values will add in datagrid in my datagrid i want to edit only descrp and shortdescrp not excgvalue for the INR,the excgvalue should be constant and for other rows i can edit the full row,Kindly tell me how to do?
Thanks & Regards
Senthil Kumar
|
|
|
|
|
In ASP.NET in your datagrid component in your Cloumns you can state ReadOnly="true" for the field you do not want to be edited.
|
|
|
|
|
Hi
I have a AJAX ConfirmButtonExtender control in my page
How can I control the cancel button
It doesnt recognize the onclinetcancel name
any help would be great
thanks
|
|
|
|
|
a-+s-+p-+ wrote: onclinetcancel
Probably because you mis spelled it.... :P
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
ok
let me explain it another way
the confirm button extender does not have a property called onclientcancel
How can i control the cancel button on the confirm box?
|
|
|
|
|
confirm button has no any event.
if u click on yes then your code which you put on confirm button is run.
Best Regards,
Chetan Patel
|
|
|
|
|
yeh but how do I run some code when someone hits the cancel button on the confirmbuttonextender!!
|
|
|
|
|
code will be run only click on yes button.
Best Regards,
Chetan Patel
|
|
|
|
|
ok so i'm guessing what you mean is "code will only run on yes button"
is there another way that I can put a confirm box into my page with yes/no choices
thanks
|
|
|
|
|
i have a tree view . where i want to populate data in three level from the sql server 2005 database.
suppose the root level node populte date from "root" table .and in the 2nd level the corresponding
child of that parent should be populate from "child" table.
where the parent and child table retlated by parentid coloumn.
and in 3rd level the data should populate from "subchild" table .where the child and parent table are related
by childidid.
and the last task is to give hyperlink in the 3rd level(where subchildname are shown.) to their corresponding .aspx form.
My table structure is as follows
Parent table
============
parent_id int
parent_name varchar(50)
Child table
============
parent_id int
Child_id int
child_name varchar(50)
subhild table
============
parent_id int
Child_id int
subchild_name varchar(50)
.............................
where i am ssqlserver2005 and asp.net along with c# (visual studio 2005)
thaks in advance
modified on Monday, February 25, 2008 6:28 AM
|
|
|
|
|
Hi All,
Can anyone help me, i am trying to Export a name with a link to excel in a asp.net application.
Thanks in advance
living life on the flip side
|
|
|
|
|
hey buddy can you please clarify what you are trying to do.
do you want to export data on click of link ?
|
|
|
|
|
im trying to export text to excel as a link that if u click on it, it will take you to a url
living life on the flip side
|
|
|
|