|
Hi there,
Can anyone tel me how to pass a row or a cell text of a grid view from asp.net code behind to javascript.
|
|
|
|
|
You can do one thing,
Read the value of datagrid row at serverside then register a javascript function which takes the value as a parameter.
Cheers!!
Brij
|
|
|
|
|
I want to hide every .aspx extension in my site.. can you help to me
|
|
|
|
|
nithydurai wrote: I want to hide every .aspx extension in my site.
You can map your own extensions to IIS and let ASP.NET process all those requests. In IIS6, you can't remove the extensions. If you are using IIS7, extension-less URL-rewriting is possible.
|
|
|
|
|
can you give example for rewrite method....
|
|
|
|
|
This[^] was my first hit when I searched.
|
|
|
|
|
How to display "HTML Table containing asp:Label server control (which is populating data from the database)" inside asp:Datagrid in VB.Net
|
|
|
|
|
Hi,
Iam trying to open a pdf using acrobat 9 sdk in a asp.net website.ie iam working in a webproject ,in which i need to open a pdf document,and if i a click on a particular postion in the document , i need to get the block coordinates of the particular postion(x,y,width,height).
so i came across this acrobat9 sdk ,but i dont have a clue how to work with this,kindly advice how to proceed,or is there any other way to view and annotate a pdf in my asp.net project.
regards
navin
|
|
|
|
|
Navinchandran wrote: so i came across this acrobat9 sdk ,but i dont have a clue how to work with this,kindly advice how to proceed,or is there any other way to view and annotate a pdf in my asp.net project.
You are using a wrong tool for this job. ASP.NET can't do this. PDF file is opened in the default PDF reader installed on the client machine. You can't always tell that PDF files will be opened only with acrobat reader.
|
|
|
|
|
oh! what i want is the person who open the site to view pdf online in the site. and he can click at particular word or postion to annotate.
so i need a viewer to display the pdf in my site and a possible way to calculate the postion of the click made.
if you know any way of doing this ,plz share it with me
|
|
|
|
|
Navinchandran wrote: oh! what i want is the person who open the site to view pdf online in the site. and he can click at particular word or postion to annotate.
I reiterate. There is no way to do this using ASP.NET. ASP.NET runs on server and user clicks on the PDF file from the client system. How are you expecting ASP.NET can handle this?
|
|
|
|
|
|
hope u can help me out, i am working over this for weeks ,and i cant find a solution ,my website is similar to http://a.nnotate.com/[^]
i would be thankful if u can help me out
|
|
|
|
|
i want use hashtable to get the table, when the cursor focus on the textbox below a hashtable display with data,when we selected data display on the textbox,so how to use hashtable in asp.net with c#.GIVE ME A sample code .
|
|
|
|
|
Congratulation to Mr.Kirandilip you are short listed in Microsoft company. Your interview will be conducted on 10th Dec 2008 at Hyderabad.
|
|
|
|
|
Hi,
I want to create an asp.net application which displays the folder list of the server.
can anybody help me?
Thanks in Advance
SJ
|
|
|
|
|
|
|
Hi, thanks for looking
Currently i ask users to sign in each time (i removed the "Remember me" option from the login control)
I initialize some session variables when the user autenthicates
I was wondering what event is the right place to initialize the session if i use the "Remember me" option??
Thanks in advance
Alexei Rodriguez
|
|
|
|
|
Didn't you ask this the other day ? I would assume that you'd have a mechanism in a base page that redirects to the login page if the user is not logged in. If they are logged in, then that seems a good place to check if they are initialised, and if not, to initialise them. Surely the login control also fires an event when the user is logged in ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
It's always better to initialize the session variables when user get authenticated and at the time of logout it should be abondoned.
Cheers!!
Brij
|
|
|
|
|
Thanks for the reply
Thats how i am doing it
The thing is that i would like to enable the remember me option of the login control and initialize the session when the user visits the site again without the need for them to reenter username and password
Alexei Rodriguez
|
|
|
|
|
In that case, you will have code that logs them in, based on whatever. So, do it there.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
For it,read the userName and password and authinticate it and it should be seemless to user ie when user loads the hits the URL it should forwarded to next page
Cheers!!
Brij
|
|
|
|
|
AlexeiXX3 wrote: The thing is that i would like to enable the remember me option
It is done using a cookie. You set some user identification in a cookie when user selects "Remember me next time". When the page loads, read this cookie value and create session for that. I'd create a base page from which all my pages are inherited and do this in base pages OnInit event.
Cookies are kept in local machine, so make sure the information you keep in it is encrypted. So that no one can alter the cookie value and get access to some other account.
|
|
|
|