Click here to Skip to main content
15,898,134 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to break text in textbox on shift enter (argent) Pin
Christian Graus11-Jul-07 2:31
protectorChristian Graus11-Jul-07 2:31 
GeneralRe: how to break text in textbox on shift enter (argent) Pin
N a v a n e e t h11-Jul-07 2:46
N a v a n e e t h11-Jul-07 2:46 
GeneralRe: how to break text in textbox on shift enter (argent) Pin
Piyush Vardhan Singh11-Jul-07 3:11
Piyush Vardhan Singh11-Jul-07 3:11 
GeneralRe: how to break text in textbox on shift enter (argent) Pin
Paddy Boyd11-Jul-07 3:23
Paddy Boyd11-Jul-07 3:23 
GeneralRe: how to break text in textbox on shift enter (argent) Pin
Piyush Vardhan Singh11-Jul-07 3:32
Piyush Vardhan Singh11-Jul-07 3:32 
GeneralRe: how to break text in textbox on shift enter (argent) Pin
Paddy Boyd11-Jul-07 3:35
Paddy Boyd11-Jul-07 3:35 
GeneralRe: how to break text in textbox on shift enter (argent) Pin
N a v a n e e t h11-Jul-07 3:29
N a v a n e e t h11-Jul-07 3:29 
QuestionAjax updatepanel problem Pin
nataraj_ganapathy11-Jul-07 1:57
nataraj_ganapathy11-Jul-07 1:57 
<b>Guys,

I have an updatepanel in ajax with a textbox and an imagebutton. </b>

<asp:UpdatePanel ID="pnlMedTextBox" runat="server" UpdateMode="Conditional"><ContentTemplate>
<asp:TextBox ID ="txbMedication" runat="server" CssClass="floatleft_red" Style="WIDTH:135" ></asp:TextBox>
<asp:ImageButton ID="btnAdd" runat="server" ImageUrl="images/add.gif" OnClick="btnAdd_Click" />
</ContentTemplate><Triggers><asp:AsyncPostBackTrigger ControlID="btnAdd" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="btnclearMed" EventName="Click" /></Triggers></asp:UpdatePanel>

<b>The cursor must be focused on the textbox at page startup and on clicking btnAdd it must disappear. So I have used:</b>

string TextBoxFocus;
TextBoxFocus = "<script language=javascript>document.getElementById('txbMedication').focus();</script>";
Page.RegisterStartupScript("setfocus", TextBoxFocus);

<b>It works fine at page_load, but on clicking btnAdd the cursor is still there and positioned not even at the start, but at the center of the Textbox. Plz help</b>



hi
AnswerRe: Ajax updatepanel problem Pin
nataraj_ganapathy11-Jul-07 17:55
nataraj_ganapathy11-Jul-07 17:55 
QuestionHow to Implement quota Management Pin
SKP2411-Jul-07 1:36
SKP2411-Jul-07 1:36 
AnswerRe: How to Implement quota Management Pin
Christian Graus11-Jul-07 2:14
protectorChristian Graus11-Jul-07 2:14 
AnswerRe: How to Implement quota Management Pin
N a v a n e e t h11-Jul-07 2:24
N a v a n e e t h11-Jul-07 2:24 
GeneralRe: How to Implement quota Management Pin
SKP2412-Jul-07 20:23
SKP2412-Jul-07 20:23 
Questionrefresh the control asp.net2.0+c# Pin
regin11-Jul-07 0:51
regin11-Jul-07 0:51 
AnswerRe: refresh the control asp.net2.0+c# Pin
Eduard Keilholz11-Jul-07 1:01
Eduard Keilholz11-Jul-07 1:01 
GeneralRe: refresh the control asp.net2.0+c# Pin
regin11-Jul-07 1:03
regin11-Jul-07 1:03 
GeneralRe: refresh the control asp.net2.0+c# Pin
N a v a n e e t h11-Jul-07 1:29
N a v a n e e t h11-Jul-07 1:29 
GeneralRe: refresh the control asp.net2.0+c# Pin
regin11-Jul-07 1:37
regin11-Jul-07 1:37 
GeneralRe: refresh the control asp.net2.0+c# Pin
N a v a n e e t h11-Jul-07 1:47
N a v a n e e t h11-Jul-07 1:47 
GeneralRe: refresh the control asp.net2.0+c# Pin
Eduard Keilholz11-Jul-07 1:52
Eduard Keilholz11-Jul-07 1:52 
GeneralRe: refresh the control asp.net2.0+c# Pin
regin11-Jul-07 2:00
regin11-Jul-07 2:00 
GeneralRe: refresh the control asp.net2.0+c# Pin
N a v a n e e t h11-Jul-07 2:50
N a v a n e e t h11-Jul-07 2:50 
QuestionLoginVIew Colrtol Question Pin
totocaster11-Jul-07 0:39
totocaster11-Jul-07 0:39 
AnswerRe: LoginVIew Colrtol Question Pin
totocaster11-Jul-07 1:28
totocaster11-Jul-07 1:28 
QuestionProblem in accessing Application variable Pin
krishsenthilraj11-Jul-07 0:35
krishsenthilraj11-Jul-07 0:35 

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.