|
Actually ur logic is not wrong , but the method is wronge... because u r not triyng to find location of a FRAME, although u r trting to find src of an element...
I belive u r doing something like this...
alert(document.getElementById("SOME_IFRAME_ID")).src;
Don't do that... try this...
alert(document.frames["SOME_IFRAME_NAME"].document.location.href);
Hope this will solve u problem...
|
|
|
|
|
Hi blue_arc, Thanks for the replay.
I already got a similar answer BUT (There always a BUT) the problem is that I got a javascript error saying "Access denied".
The other person said it worked fine for him
Did you try it yourself and know for sure that it work? Are there any other setting need for runing this and bypass the "access denied" error?
Thank again
|
|
|
|
|
Damn...
Thats what I found
"Well, access to pages on another host is denied. In IE you can't do it
all (unless a signed active x is used which exposes the needed
properties to scripting), with NN4 you need trusted script to call"
So, I guess there a way
|
|
|
|
|
|
Hi all,
I have created a web application using .net framework 1.1. And created a setup deployment. I have deployed it on another server. Now its not working. The .aspx pages are displayed as text files only. Now please any body tell me what are the steps to install a web application, or where did I commit a mistake. Or otherwise what are the minimum requisites to run a deployed web application and steps to load them. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
You need to install the .NET framework AFTER IIS, or run aspnet_regiis with the -i switch, in order to register IIS to use ASP.NET.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Yes, I installed the .net framework after IIS only. But still it is not. And could you please tell me clearly how should I use this "aspnet_regiis -i" registration at command prompt. Like after this -i what should I use. And at which directory prompt, I should use it.
>aspnet_regiis -i ?
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
its available in the folder C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
|
|
|
|
|
You need to go to the command prompt, then navigate to the folder:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
assuming c:\windows is your root directory for windows.
Then you type in the command as I gave it, and it will register IIS for you.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Ok. Thank you, I got it. Thank you very much.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Hai Friends,
I have one problem withe Excel Sheet, Actually Iam uploading excel sheet , and I am storing the contents of Excel sheet in DATASET and i am reading the data from DATASET
While Reading Data from DATASET,Iam unable to read the INTEGER data Even i am reading the data of Text,
getting problems with INTEGER data and it is giving error is INVALID CAST ERROR and it is showing the valuse DBNull
i have tried to solve it by changing the properties of Excel Sheet CEll,but could not Succeed
Iam giving Code what i wrote in aspx.vb
Dim TNo As String
Dim ASFD As integer
For i = 4 To DS.Tables(0).Columns.Count - 1
TNo = Trim(DS.Tables(0).Rows(0).Item(i))
ASFD = DS.Tables(0).Rows(6).Item(i)
when i am reading the ASFD,iam getting the INVALID CAST Error
|
|
|
|
|
Hai Friends,
I have one problem withe Excel Sheet, Actually Iam uploading excel sheet , and I am storing the contents of Excel sheet in DATASET and i am reading the data from DATASET
While Reading Data from DATASET,Iam unable to read the INTEGER data Even i am reading the data of Text,
getting problems with INTEGER data and it is giving error is INVALID CAST ERROR and it is showing the valuse DBNull
i have tried to solve it by changing the properties of Excel Sheet CEll,but could not Succeed
Iam giving Code what i wrote in aspx.vb
Dim TNo As String
Dim ASFD As integer
For i = 4 To DS.Tables(0).Columns.Count - 1
TNo = Trim(DS.Tables(0).Rows(0).Item(i))
ASFD = DS.Tables(0).Rows(6).Item(i)
when i am reading the ASFD,iam getting the INVALID CAST Error
|
|
|
|
|
Hai Friends,
I have one problem withe Excel Sheet, Actually Iam uploading excel sheet , and I am storing the contents of Excel sheet in DATASET and i am reading the data from DATASET
While Reading Data from DATASET,Iam unable to read the INTEGER data Even i am reading the data of Text,
getting problems with INTEGER data and it is giving error is INVALID CAST ERROR and it is showing the valuse DBNull
i have tried to solve it by changing the properties of Excel Sheet CEll,but could not Succeed
Iam giving Code what i wrote in aspx.vb
Dim TNo As String
Dim ASFD As integer
For i = 4 To DS.Tables(0).Columns.Count - 1
TNo = Trim(DS.Tables(0).Rows(0).Item(i))
ASFD = DS.Tables(0).Rows(6).Item(i)
when i am reading the ASFD,iam getting the INVALID CAST Error
|
|
|
|
|
Don't spam the boards repeating the same thing over and over again. Posting your question once is sufficient for people to see it.
|
|
|
|
|
Hi
How can I make a auto generated column read-only. Means when I click the edit button some column data should appear as it is. It should not change to edit mode. As we are making a column read-only in window app. Is it possible in web app?
Thanks & Regards
Smruti
Smruti
|
|
|
|
|
Hi all
I got the answer. By setting the DataKeyNames we can make a auto genereted column read only.
|
|
|
|
|
Hi all,
How can I create a short cut key any button in .net. Suppose I have a button named btClick and button text as "Click". In this I want to keep "C" as short cut key for this button click event. Can I do it in Windows and Web applications too?. If so please tell me how in both type of applications?. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
I don't think you can in web apps. In windows apps, you can certainly catch a keyboard event and call the button click if it's a 'c'. I am not sure if it's possible otherwise. In a menu, if you type &, as in &Click, that gives you a shortcut.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
if you want to do it in web application,you must have a focus on something(e.g textbox) and then catch the keyboard code to press
|
|
|
|
|
Yeah, ok. Even then too, how. Please give me the details if possible please. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
This means, you can handle a key press in javascript, so long as you require the user to have focus on a specific control. Or, you can hook the code up for all controls, I guess.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
use "access key" property of a text box, or button... in web application this will solve ur problem....
|
|
|
|
|
i wanna test a windows application i have it is suppose to send string to a website and accept response string it doesn't matter wat the response is even if it is a boolean value.
can anyone tell me of any website they know that allows you to test this or how i can create a simple one that jus accepts and send reply on my iis
or even a sample that i can download and install i jus wanna test my windows app
|
|
|
|
|
create a web service, then register it with IIS, call it from ur windows application for first time,,
then stop ur IIS then again run ur app. u will find error...
regarding WEB Servcices check out web resources...
|
|
|
|
|
i am not getting security tab , when i click properties of web.config file,
i want to giv permissions to fullcontrol( i want to put tick mark).
thanks
aslam
|
|
|
|