Click here to Skip to main content
15,918,243 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: asp.net 1.0 project in Visual Studio 2005 ? Pin
ednrgc19-Dec-06 2:43
ednrgc19-Dec-06 2:43 
QuestionChanging appearence of UI elements in aspx OR codebehind Pin
Tina P18-Dec-06 9:16
Tina P18-Dec-06 9:16 
AnswerRe: Changing appearence of UI elements in aspx OR codebehind Pin
ToddHileHoffer18-Dec-06 9:35
ToddHileHoffer18-Dec-06 9:35 
GeneralRe: Changing appearence of UI elements in aspx OR codebehind Pin
Tina P18-Dec-06 9:46
Tina P18-Dec-06 9:46 
GeneralRe: Changing appearence of UI elements in aspx OR codebehind Pin
ToddHileHoffer18-Dec-06 9:54
ToddHileHoffer18-Dec-06 9:54 
GeneralRe: Changing appearence of UI elements in aspx OR codebehind Pin
Tina P18-Dec-06 10:13
Tina P18-Dec-06 10:13 
QuestionAccession Page Control from UserControl Pin
mahesh kukkadapu18-Dec-06 7:49
mahesh kukkadapu18-Dec-06 7:49 
AnswerRe: Accession Page Control from UserControl Pin
ToddHileHoffer18-Dec-06 7:59
ToddHileHoffer18-Dec-06 7:59 
Add the following to your aspx code.

<script type="text/javascript"><br />
function ButtonPress (evt, btnID) {<br />
if (evt.keyCode == "13") <br />
{evt.returnValue= false ; evt.cancel= true ; document.getElementById(btnID).click(); return false; }<br />
}<br />
</script><br />
<br />
In the codebhind add the following.<br />
Dim ObjButton as Button = UserControl.Findcontrol("ButtonId")<br />
<br />
Me.Textbox1.Attributes.Add("onKeyPress", "ButtonPress(event, '" & ObjButton.ClientID & "')")<br />
          <br />
<br />


Does that help?


GameFly free trial
GeneralRe: Accession Page Control from UserControl Pin
mahesh kukkadapu18-Dec-06 8:22
mahesh kukkadapu18-Dec-06 8:22 
GeneralRe: Accession Page Control from UserControl Pin
ToddHileHoffer18-Dec-06 8:29
ToddHileHoffer18-Dec-06 8:29 
GeneralRe: Accession Page Control from UserControl Pin
mahesh kukkadapu18-Dec-06 9:11
mahesh kukkadapu18-Dec-06 9:11 
QuestionComplete ASP.NET Forum Source Code Pin
apratim_2818-Dec-06 4:17
apratim_2818-Dec-06 4:17 
AnswerRe: Complete ASP.NET Forum Source Code Pin
GaryWoodfine 18-Dec-06 7:08
professionalGaryWoodfine 18-Dec-06 7:08 
QuestionRegarding retrieving http post Pin
theflux12318-Dec-06 3:56
theflux12318-Dec-06 3:56 
Questionregarding html tag Pin
dayakar_dn18-Dec-06 2:09
dayakar_dn18-Dec-06 2:09 
AnswerRe: regarding html tag Pin
ToddHileHoffer18-Dec-06 2:42
ToddHileHoffer18-Dec-06 2:42 
QuestionHTML TAGS Pin
MoeInsairat18-Dec-06 2:08
MoeInsairat18-Dec-06 2:08 
AnswerRe: HTML TAGS Pin
ToddHileHoffer18-Dec-06 2:38
ToddHileHoffer18-Dec-06 2:38 
GeneralRe: HTML TAGS Pin
MoeInsairat18-Dec-06 4:22
MoeInsairat18-Dec-06 4:22 
GeneralRe: HTML TAGS Pin
ToddHileHoffer18-Dec-06 4:41
ToddHileHoffer18-Dec-06 4:41 
GeneralRe: HTML TAGS Pin
MoeInsairat18-Dec-06 4:57
MoeInsairat18-Dec-06 4:57 
GeneralRe: HTML TAGS Pin
indianet18-Dec-06 5:21
indianet18-Dec-06 5:21 
QuestionNot able to start debugger Pin
Amol Ravatale18-Dec-06 1:21
Amol Ravatale18-Dec-06 1:21 
AnswerRe: Not able to start debugger Pin
_AK_18-Dec-06 2:26
_AK_18-Dec-06 2:26 
AnswerRe: Not able to start debugger Pin
ToddHileHoffer18-Dec-06 2:45
ToddHileHoffer18-Dec-06 2:45 

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.