i m building a website in asp.net using c#.. can nyone tell me ..is it possible to either call a pageload function or load a page from javascript
4 Answers
Use
Returns a Location object, which contains information about the URL of the document and provides methods for changing that URL. You can also assign to this property to load another URL.
1 Comment
Mishigen
actually i want to load the same page from javascript,,it means i have to give the url of that page only
you can call __dopostback javascript method:
__doPostBack('ControlId','');
http://aspalliance.com/895_Understanding_the_JavaScript___doPostBack_Function.all