Click here to Skip to main content
15,920,602 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Career in SEO(Search engine optimizer) Pin
Christian Graus28-Oct-09 22:01
protectorChristian Graus28-Oct-09 22:01 
Questionuser control on webform Pin
bhavna432128-Oct-09 18:39
bhavna432128-Oct-09 18:39 
AnswerRe: user control on webform Pin
N a v a n e e t h28-Oct-09 20:09
N a v a n e e t h28-Oct-09 20:09 
GeneralRe: user control on webform Pin
bhavna432128-Oct-09 20:45
bhavna432128-Oct-09 20:45 
AnswerRe: user control on webform Pin
Christian Graus28-Oct-09 20:55
protectorChristian Graus28-Oct-09 20:55 
AnswerRe: user control on webform Pin
Nishant Singh29-Oct-09 0:03
Nishant Singh29-Oct-09 0:03 
Questionavoid scroll bar in text box Pin
deepthy.p.m28-Oct-09 18:39
deepthy.p.m28-Oct-09 18:39 
AnswerRe: avoid scroll bar in text box Pin
Abhishek Sur28-Oct-09 22:04
professionalAbhishek Sur28-Oct-09 22:04 
You mean textbox will automatically adjust its height on user entry ??

I think you need to use Javascript to do this. Smile | :)

<html>
<head>
<script>
function adjustSize()
{
var tbData = document.getElementById('tb').value;
document.getElementById('tb').style.width = 10 + tbData.length * 4 +'px';
}
</script>
<body>
<input type='text' id='tb' onkeydown='adjustSize()' style='width:10px' />
</body>
</html>


Something like this.. But you need to adjust the code according to your need. Big Grin | :-D

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords
/xml>

QuestionFlash Object With Master Page Pin
123chaminda28-Oct-09 17:48
123chaminda28-Oct-09 17:48 
AnswerRe: Flash Object With Master Page Pin
Christian Graus28-Oct-09 20:23
protectorChristian Graus28-Oct-09 20:23 
GeneralRe: Flash Object With Master Page Pin
123chaminda28-Oct-09 23:04
123chaminda28-Oct-09 23:04 
QuestionAccessing custom control using javascript on the client page. Pin
Rico MNC28-Oct-09 12:54
professionalRico MNC28-Oct-09 12:54 
AnswerRe: Accessing custom control using javascript on the client page. Pin
Not Active28-Oct-09 13:06
mentorNot Active28-Oct-09 13:06 
GeneralRe: Accessing custom control using javascript on the client page. Pin
Rico MNC28-Oct-09 13:11
professionalRico MNC28-Oct-09 13:11 
GeneralRe: Accessing custom control using javascript on the client page. Pin
Rico MNC29-Oct-09 5:10
professionalRico MNC29-Oct-09 5:10 
QuestionIsDBNull is not evaluating correctly Pin
CARisk328-Oct-09 11:22
CARisk328-Oct-09 11:22 
AnswerRe: IsDBNull is not evaluating correctly Pin
Christian Graus28-Oct-09 12:43
protectorChristian Graus28-Oct-09 12:43 
GeneralRe: IsDBNull is not evaluating correctly Pin
Oakman29-Oct-09 3:20
Oakman29-Oct-09 3:20 
QuestionLogin fails with ASP.NET membership Pin
Albert8328-Oct-09 10:54
Albert8328-Oct-09 10:54 
AnswerRe: Login fails with ASP.NET membership Pin
Christian Graus28-Oct-09 11:05
protectorChristian Graus28-Oct-09 11:05 
GeneralRe: Login fails with ASP.NET membership Pin
Albert8328-Oct-09 11:27
Albert8328-Oct-09 11:27 
GeneralRe: Login fails with ASP.NET membership Pin
Albert8328-Oct-09 12:01
Albert8328-Oct-09 12:01 
GeneralRe: Login fails with ASP.NET membership Pin
Not Active28-Oct-09 13:02
mentorNot Active28-Oct-09 13:02 
GeneralRe: Login fails with ASP.NET membership Pin
Albert8328-Oct-09 13:14
Albert8328-Oct-09 13:14 
AnswerRe: Login fails with ASP.NET membership Pin
Albert8328-Oct-09 21:08
Albert8328-Oct-09 21:08 

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.