|
|
document.getElementById(ID).all to get all the data
get all the data ? mean what, do you want to get the Value of that control ?
If yes then use
document.getElementById(ID).value
That would be work for all browser.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Thanks Parwej
The Id here is a table that contains multiple rows like grid so by using all i am getting all the rows ...
for this control value is not supported
Dinesh Sharma
|
|
|
|
|
Ok, Can you try like as below:
var myTable=document.getElementById(ID);
Then access all rows from myTable object.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
it will return an object ....its ok.
but which property will return the number of rows....
I tried the rows property but its not returning all the rows.
Dinesh Sharma
|
|
|
|
|
|
Hi
I have a problem with my site when using the back button. in my login page i am using 3 linkbutton to redirct to other page based on ispostback value.when i use any of it the first time and the page is been redirected.The problem is when i use the back button and go to my login page and again click link the redirect is going to the wrong page.is there any way to change the value of the ispostback value when i use my back button.
thanks
|
|
|
|
|
Hi,
I have deployed webstite on IIS 7.0 in windows server 2008. Everything works fine except css and js files are not rendering. Css and Js is not working on any page?
Please provide some solution
himanshu
|
|
|
|
|
Is it working properly on IIS6.0?
Cheers!!
Brij
|
|
|
|
|
|
Might be there is some issue in deploying the website.Please check the article geven below
[^]">
Cheers!!
Brij
|
|
|
|
|
Did you enabled JavaScript in Browser?
|
|
|
|
|
|
Hi,
So the problem is I have created an asp.net project.There is a page contains DELETE button which deletes Grid Data from the page. When I click on Delete button, it deletes the data and show a JavaScript alert message that the Data has been deleted. After that I access some other page and when I come back to the page using back button of Browser, It show the same "The Data has been deleted" alert again. I am not getting how to stop that alert message to show agsin abd agsin on the Page. So please help me.
Thanks in Advance.
|
|
|
|
|
The best way to do this is to do a Server.Transfer to the same page after deleting, so that going back goes back to a request for the page, not a postback that is doing a delete.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I am not getting what you want to say. Where I use Server.Transfer??? Sorry.. But over the head answer...
|
|
|
|
|
Hi,
Can anyone suggest me how can I stop a web page from being grabbed using web grabber softwares?
My website is asp.net 2.0 website.
Please suggest me.
Vijay V.
Yash Softech
|
|
|
|
|
if you make all pages secured. I mean, allow users to see the pages only after providing the user credentials. If user is not authenticated, show "Access restricted" message.
|
|
|
|
|
This is already done.
Web grabber software grab the pages with images and other things.
How to stop them?
Vijay V.
Yash Softech
|
|
|
|
|
You plainly cannot. For me to view a page, you need to send me the HTML. Once I have it, I can save it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
VijayVishwakarma wrote: Web grabber software grab the pages with images and other things.
You are talking about software like this[^], which downloads the pages for offline viewing, right?
To prevent images and other file types to be served, you can create a HttpHandler , map the image and other file extensions to ASP.NET engine and tell ASP.NET to process these extensions by the handler you created. In this handler, you can check whether the requested user/program has successfully passed the authentication. If not, prevent the content being send.
|
|
|
|
|
Thanks Navaneeth.
Can you suggest me any good article for this.
Regards
Vijay V.
Yash Softech
|
|
|
|
|
VijayVishwakarma wrote: Can you suggest me any good article for this.
Sure. See this[^] MSDN article.
|
|
|
|
|
There's really no way to stop people from saving a page, unless you stop them from seeing it. That's what Navaneeth is saying, but even then, if someone has a login, they can save your site. The only thing you can do, is to try to control how many pages someone can view in a given time, so they can't hammer your server to save a lot of pages in a short time.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanks for your replies.
Can you please check this http://www.epicware.com/webgrabber.html[^]
I m just wondering what this software can do with my site.
Its for MAC so I m not able to check. You guys might have something to say.
Regards
Vijay V.
Yash Softech
|
|
|
|