|
I am having two asps pages, parent page Name: showMap.asp and child page Name: Tiled1.asp, the child page is the source page of Iframe,
that is in parent page.
In parent page, i am calling one javascript function for every 30 seconds to load the image, At the end of the function, I am calling child page
javascript function using following code
parent.frames['mytext1'].TileToCenter(StTileRow, StTileCol, pointX, pointY);
For the First Time, it's working fine. For the Next Refreshment, Javascript error is coming due to the above line and showing in status bar like below:
Object doesn't support this property or method
One Important thing is, In Child page, For displaying HTML Portion, i am using javascript function(TileToCenter) like
function TileToCenter()
{
document.write("");
----------------
---------------
document.write("");
}
What could be the problem? Is this error comes becoz of putting HTML code in Javascript i.e(document.write("");)??. Give me the Solutions for this one
Expecting ur Reply.....
Advance thanks
Ramkumar S
Ramkumar S
|
|
|
|
|
Hi G to URUS
Which is much better to use?
Thanks
Dom
|
|
|
|
|
Commonly, both are used for data interchange between webpages.
From my point Query string is best,for small data interchange.
But using sessions U can interchange even datagrid.So ,based on our requirements we can choose any one of them.
Urs Shiva
|
|
|
|
|
Also security can also be a concern while selecting for one.
Best Regards,
Apurva Kaushal
|
|
|
|
|
As said. You can use the Query string for small data. But you have to avoid sending confidential data as that would be a hacker's dream. And you have to consider the memory constraints while using the Session object.
You don't have to be AFRAID!
|
|
|
|
|
[ASP.NET-1.1,C#]
how can i display a IE:TabStrip control in two line in a browser,like if i have 20 TABS in a TABSTRIP CONTROL,then i want to display 10 in one line and other 10 TABS in next line just below the first line of tabs
knk
|
|
|
|
|
double posting.. delete one of the message...
Kunal
|
|
|
|
|
[ASP.NET-1.1,C#]
how can i display a IE:TabStrip control in two line in a browser,like if i have 20 TABS in a TABSTRIP CONTROL,then i want to display 10 in one line and other 10 TABS in next line just below the first line of tabs
knk
|
|
|
|
|
Hi....
How to add the rows in table at dynamicaly.
vns
|
|
|
|
|
u want to add rows.. or just plain retrive data from the databse into the table..
intialize ur connection and command..
<br />
SqlDataReader dread = cmd.ExecuteReader();<br />
while (dread.Read())<br />
{ <br />
<br />
<br />
Response.write(dread["column"].tostring(); <br />
<br />
}
i think this is wat u are looking for.. this will print the values of a particular column on screen.
Kunal
|
|
|
|
|
Thank you Kunal..
in my project i want to get the data from the user(using tables) and store it to the database.whenever the user want to enter more data on that time he add the rows on that table.
vnss..
|
|
|
|
|
If you want to create a row in a datatable then you can create a row and then add it to the datatable.
Best Regards,
Apurva Kaushal
|
|
|
|
|
|
always welcome..
Best Regards,
Apurva Kaushal
|
|
|
|
|
hai all,
I have created a login page(ASP2.0) in my project.
i would like to include authentication security.
can anyone help me with this....thanks in advance
with Regards,
Imthiyas Ahamed.A
|
|
|
|
|
HI!
C if u hav limited number of users then v can configure thru Authentication like
code:
<authorization>
<allow users="shiva\shiva,imthiyas\ahamed">
<deny users="*">
so,only 2 users r allowed i.e shiva & imthiyas . no more users are allowed
Urs Shiva
|
|
|
|
|
ok thanks
with Regards,
Imthiyas Ahamed.A
|
|
|
|
|
u can definitely use the inbuilt LOGIN control.. but for that u`ll have to configure the membership of the site.. using the website administration tool..
Kunal
|
|
|
|
|
Hi there!
You can use the ASP.NET login control.
And you can configure this either by using the Configuration utility.
Or you can do this thing programatically. But this is the neatest solution for your problem. And It is one of the simplest too........
|
|
|
|
|
<asp:RoleGroup Roles="Registrator">
<ContentTemplate>
<br />
<a href="Registrator/Register_new_bidder.aspx" ><img src="Images/registerbidder.jpg" border="" /></a>
<br />
<a href="Registrator/Edit_Bidder.aspx"><img src="Images/assignseat.jpg" border=""/></a>
</ContentTemplate>
</asp:RoleGroup>
the above is my code
when the page is first loaded int he default.aspx(root) the images displays just find however when i log in to another user account and tries to navigate around the subfoler folder(/root/registor/abc.aspx) it will display that it cant find the img file
error:file not found
root/registor/Images/registerbidder
(p.s my subfolder also have an web.config of its own)
instead of looking for the file inside the root folder's image folder
it look for the image folder inside the subfolder
y is this so and how can i solve it please help
|
|
|
|
|
I also faced the same problem but in different scenario.
i solved by replacing
html img control ""
to asp:image server control and gave src path as "~/images/registerbidder.jpg" as in ur case.
the "~" will point the root path.
Yogesh
|
|
|
|
|
the error"
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /hog9/~/Registrator/Register_new_bidder.aspx
the code:
<a href="~/Registrator/Register_new_bidder.aspx" <>img src="~/Images/registerbidder.jpg" border="" /></a>
i tried it still cant could it be because each of my subfolder have an web.config?
|
|
|
|
|
do it in server control
Convert
<a href="~/Registrator/Register_new_bidder.aspx" ><img
src="~/Images/registerbidder.jpg" border="" /></a>
as
a ---> asp:hyperlink
img --> asp:image
Yogesh
|
|
|
|
|
Hello All,
Can someone help me in finding Id of dynamically created webserver control like textbox, dropdownlist etc, when these server control placed in aspx page, but the aspx page is included in Master page.
Suppose dynamically created textbox textbox1 id changes to clt100_Main_textbox1
How to find out this id or its value using javascript
Please help in this regard.
Solution will be appreciated.
Regards
Balasaheb
Balasaheb
Software Developer
Platform: Asp.net,vb.net
Database: SQL Server 2000
|
|
|
|
|
You can access the server control in javascript by its property called "clientid"
so in aspx assign a variable with the clientid of the textbox(or any server control)
ex:
var ctrid=<%= TextBox1.ClientId %>;
and use it.
Yogesh.
|
|
|
|