Click here to Skip to main content
15,900,816 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSet default input language of a text box Pin
benams6-Aug-09 1:56
benams6-Aug-09 1:56 
AnswerRe: Set default input language of a text box Pin
Abhishek Sur6-Aug-09 9:50
professionalAbhishek Sur6-Aug-09 9:50 
QuestionApplication Begin request is not getting called Pin
suzzain6-Aug-09 1:42
suzzain6-Aug-09 1:42 
Questionyield return Pin
vishwjeet6-Aug-09 1:32
vishwjeet6-Aug-09 1:32 
AnswerRe: yield return Pin
Abhishek Sur6-Aug-09 10:24
professionalAbhishek Sur6-Aug-09 10:24 
Questionhow to get cursor position of the textbox Pin
ansriharsha6-Aug-09 1:25
ansriharsha6-Aug-09 1:25 
AnswerRe: how to get cursor position of the textbox Pin
Abhishek Sur6-Aug-09 10:46
professionalAbhishek Sur6-Aug-09 10:46 
AnswerRe: how to get cursor position of the textbox Pin
ansriharsha23-Aug-09 21:15
ansriharsha23-Aug-09 21:15 
Hi ,
I found the solution for finding the cursor position in the textarea . i have used it in my numberbox.

@Abhishek Sur : thanks for the link , i found some useful stuff there which was useful.

Solution is :



<br />
                // initialize cursor position<br />
                var Curpos=-1;<br />
                //Firefox code <br />
                Curpos = srcElement.selectionStart;<br />
                //IEcode code<br />
                if (Curpos!=-1){<br />
                if( document.selection ) { <br />
                r = document.selection.createRange();<br />
                r.moveStart('character', -myString.length); <br />
                Curpos =r.text.length;<br />
                }   <br />
                }<br />
<br />
<br />
<br />



Thanks and Regards,
Sriharsha
GeneralRe: how to get cursor position of the textbox Pin
Abhishek Sur23-Aug-09 21:54
professionalAbhishek Sur23-Aug-09 21:54 
QuestionDesign a master page Pin
SUDHAKAR PALLAM6-Aug-09 1:01
SUDHAKAR PALLAM6-Aug-09 1:01 
QuestionAjax Refresh Without Timer Pin
platso_5885-Aug-09 23:33
platso_5885-Aug-09 23:33 
AnswerRe: Ajax Refresh Without Timer Pin
Christian Graus5-Aug-09 23:41
protectorChristian Graus5-Aug-09 23:41 
Questionlinkbutton ibn repeater control and based on linkbutton click different modal[poupextender have to show..., Pin
Member 38798815-Aug-09 23:21
Member 38798815-Aug-09 23:21 
AnswerRe: linkbutton ibn repeater control and based on linkbutton click different modal[poupextender have to show..., Pin
Abhishek Sur6-Aug-09 11:54
professionalAbhishek Sur6-Aug-09 11:54 
Questionaspx js Pin
epcode15015-Aug-09 22:44
epcode15015-Aug-09 22:44 
AnswerRe: aspx js Pin
Christian Graus5-Aug-09 23:42
protectorChristian Graus5-Aug-09 23:42 
QuestionWho know ExportPanel Ajax control in Dot net 2008? Pin
aeriscute5-Aug-09 22:32
aeriscute5-Aug-09 22:32 
QuestionAJAX Accordion - CSS Styling Issue Pin
Maynards5-Aug-09 22:18
Maynards5-Aug-09 22:18 
QuestionRange Validator Pin
janani135-Aug-09 22:00
janani135-Aug-09 22:00 
AnswerRe: Range Validator Pin
Arun Jacob5-Aug-09 22:06
Arun Jacob5-Aug-09 22:06 
AnswerRe: Range Validator Pin
Manas Bhardwaj5-Aug-09 22:14
professionalManas Bhardwaj5-Aug-09 22:14 
GeneralRe: Range Validator Pin
janani135-Aug-09 23:09
janani135-Aug-09 23:09 
GeneralRe: Range Validator Pin
Manas Bhardwaj5-Aug-09 23:15
professionalManas Bhardwaj5-Aug-09 23:15 
GeneralRe: Range Validator Pin
janani135-Aug-09 23:18
janani135-Aug-09 23:18 
QuestionWeb application with unamnaged DLL calls Pin
Chesnokov Yuriy5-Aug-09 21:41
professionalChesnokov Yuriy5-Aug-09 21:41 

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.