Click here to Skip to main content
15,905,776 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to get value from the text box, if it is readonly Pin
BalasubramanianK17-Jun-08 1:24
BalasubramanianK17-Jun-08 1:24 
AnswerRe: How to get value from the text box, if it is readonly Pin
Imran Khan Pathan17-Jun-08 1:30
Imran Khan Pathan17-Jun-08 1:30 
GeneralRe: How to get value from the text box, if it is readonly Pin
BalasubramanianK17-Jun-08 1:45
BalasubramanianK17-Jun-08 1:45 
QuestionAsynchron Process Pin
greekius17-Jun-08 1:01
greekius17-Jun-08 1:01 
AnswerRe: Asynchron Process Pin
Christian Graus17-Jun-08 2:16
protectorChristian Graus17-Jun-08 2:16 
GeneralRe: Asynchron Process Pin
greekius17-Jun-08 2:28
greekius17-Jun-08 2:28 
QuestionAuthentication/Session Problem Pin
Jedidah17-Jun-08 0:45
Jedidah17-Jun-08 0:45 
AnswerRe: Authentication/Session Problem Pin
meeram39517-Jun-08 1:37
meeram39517-Jun-08 1:37 
GeneralRe: Authentication/Session Problem Pin
Jedidah17-Jun-08 1:42
Jedidah17-Jun-08 1:42 
GeneralRe: Authentication/Session Problem Pin
meeram39517-Jun-08 2:20
meeram39517-Jun-08 2:20 
GeneralRe: Authentication/Session Problem Pin
Jedidah17-Jun-08 2:35
Jedidah17-Jun-08 2:35 
GeneralRe: Authentication/Session Problem Pin
meeram39517-Jun-08 2:57
meeram39517-Jun-08 2:57 
GeneralRe: Authentication/Session Problem Pin
Jedidah17-Jun-08 3:09
Jedidah17-Jun-08 3:09 
QuestionCalendar control & Dropdownlist box Pin
Member 387988117-Jun-08 0:42
Member 387988117-Jun-08 0:42 
AnswerRe: Calendar control & Dropdownlist box Pin
Imran Khan Pathan17-Jun-08 0:45
Imran Khan Pathan17-Jun-08 0:45 
GeneralRe: Calendar control & Dropdownlist box Pin
Member 387988117-Jun-08 1:16
Member 387988117-Jun-08 1:16 
GeneralRe: Calendar control & Dropdownlist box Pin
Imran Khan Pathan17-Jun-08 1:25
Imran Khan Pathan17-Jun-08 1:25 
GeneralRe: Calendar control & Dropdownlist box Pin
Member 387988117-Jun-08 1:42
Member 387988117-Jun-08 1:42 
GeneralRe: Calendar control & Dropdownlist box Pin
Imran Khan Pathan17-Jun-08 1:51
Imran Khan Pathan17-Jun-08 1:51 
GeneralRe: Calendar control & Dropdownlist box Pin
Member 387988117-Jun-08 2:02
Member 387988117-Jun-08 2:02 
Questionmaintaning scroll bar positions while refreshing page in asp.net 2.0 Pin
vijaylumar17-Jun-08 0:31
vijaylumar17-Jun-08 0:31 
AnswerRe: maintaning scroll bar positions while refreshing page in asp.net 2.0 Pin
SomeGuyThatIsMe17-Jun-08 0:37
SomeGuyThatIsMe17-Jun-08 0:37 
I use the following to do it __SCROLLOC is a hidden field in the form, i use this with Register script tags in .net 1.1 it should work if you wire it up correctly in the aspx. there is also a property in .net 3.5 (possibly in 2, but we skipped from 1.1 to 3.5) Page.MaintainScrollPositionOnPostBack, and Page.SmartNavigation do simliar things, except smart navigation has issues with datagrids in 1.1 hope this helps

  string setScroll = "<script language="javascript"> " + 
                    "function SetScrollLocation() { " +
                    "document.body.scrollTop = " + __SCROLLLOC.Value + ";}" +
                    "document.body.onload=SetScrollLocation;"+
                    "</script>";

                ClientScript.RegisterStartupScript (this.GetType (), "setScroll", setScroll);
            }

            //save scroll position code
            string saveScroll = "<script language="javascript"> " +
                "function SaveScrollLocation() { " +
                "document.forms[0].__SCROLLLOC.value = document.body.scrollTop;} "+
                "document.body.onscroll=SaveScrollLocation;" +
                "<script>";
</script></script>


Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

Questionopening in a new page or window in asp.net 2.0 Pin
vijaylumar17-Jun-08 0:19
vijaylumar17-Jun-08 0:19 
AnswerRe: opening in a new page or window in asp.net 2.0 Pin
SomeGuyThatIsMe17-Jun-08 0:32
SomeGuyThatIsMe17-Jun-08 0:32 
AnswerRe: opening in a new page or window in asp.net 2.0 Pin
Gayani Devapriya17-Jun-08 0:49
Gayani Devapriya17-Jun-08 0:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.